Oh yes, it's certainly possible. What racer_x just posted would work, though I'm guessing you probably don't want anything like jQuery or XML. So as far as I know, there are two ways to do this:
1. Use a PHP include. The only problem is that you would need to change your file name from index.html to index.php. Your server would also have to support PHP, but that probably isn't an issue seeing that almost all servers do.
2. Use a server-side include, otherwise known as an SSI. This would probably work better in your case, seeing that it would probably be a lot of work to change all of your page's extensions to .php, as well as the links inside them.
However, some web servers require that you name your file .shtml rather than .html in order to enable the parsing of your file by the server. If server side includes don't appear to work, try renaming the page with a .shtml file extension.
Either option that you choose, your text file will probably end up looking like this:
Code:
<div id="partners">
<form name="form1">
<select style="font-size:10px;color:#006699;font-family:verdana;background-color:#ffffff;" name="menu" onChange="location=document.form1.menu.options[document.form1.menu.selectedIndex].value;">
<option value=''>Please choose</option>
<option value="http://adrynylyn.com">ADRYNYLYN</option>
<option value="http://mmaa4u.com">Modern Martial Arts</option>
<option value="http://teamfearnone.adrynylyn.com">Team Fear None</option>
</select>
</form>
</div>
- Steve
__________________
if($stevej == "helpful") { $talkupation += $user_power; }
Last edited by stevej; 03-15-2009 at 11:14 PM..
|