[HTML]Call it with one command ?
First, i need this to be possible with just HTML(Maybe CSS), not PHP or another language please =] .
Cuz, PHP is blocked by FreeWebs.com..
Here is what i need:
I have this:
Code:
<div id="NavBar" align="center"><table border="0" cellpadding="0" cellspacing="0">
<table width="58" border="0" bgcolor="#ffffff">
<tr>
<td><a href="http://www.freewebs.com/floor69/Index.html"><img src="http://www.freewebs.com/floor69/Home.jpg" /></a></td>
<td><a href="http://www.freewebs.com/floor69/Info.html"><img src="http://www.freewebs.com/floor69/Info.jpg" /></a></td>
<td><a href="http://www.freewebs.com/floor69/How.html"><img src="http://www.freewebs.com/floor69/How.jpg" /></a></td>
<td><a href="http://www.freewebs.com/floor69/Links.html"><img src="http://www.freewebs.com/floor69/Links.jpg" /></a></td>
<td><a href="http://www.freewebs.com/floor69/My-Music.html"><img src="http://www.freewebs.com/floor69/MyMusic.jpg" /></a></td>
<td><a href="http://www.freewebs.com/floor69/blog.htm"><img src="http://www.freewebs.com/floor69/BlogB.jpg" /></a></td>
</tr>
</table>
</div>
Now, everytime i add something, or remove something, i need to edit it in ALL my pages.
Isnt there a way to like save this in another document, and then call it with a simple command?
Thanks,
EliteGM.
EDIT:
I found out that i needed PHP to include it, and i know how it works, but i just dont know what to put in the include file.. apart from that HTML part.
Re: [HTML]Call it with one command ?
just
PHP Code:
<?PHP include("menu.html"); ?>
and than in menu.html you make all the links
Code:
<div id="NavBar" align="center"><table border="0" cellpadding="0" cellspacing="0">
<table width="58" border="0" bgcolor="#ffffff">
<tr>
<td><a href="http://www.freewebs.com/floor69/Index.html"><img src="http://www.freewebs.com/floor69/Home.jpg" /></a></td>
<td><a href="http://www.freewebs.com/floor69/Info.html"><img src="http://www.freewebs.com/floor69/Info.jpg" /></a></td>
<td><a href="http://www.freewebs.com/floor69/How.html"><img src="http://www.freewebs.com/floor69/How.jpg" /></a></td>
<td><a href="http://www.freewebs.com/floor69/Links.html"><img src="http://www.freewebs.com/floor69/Links.jpg" /></a></td>
<td><a href="http://www.freewebs.com/floor69/My-Music.html"><img src="http://www.freewebs.com/floor69/MyMusic.jpg" /></a></td>
<td><a href="http://www.freewebs.com/floor69/blog.htm"><img src="http://www.freewebs.com/floor69/BlogB.jpg" /></a></td>
</tr>
</table>
</div>
depends how your website is made
Re: [HTML]Call it with one command ?
So in menu, i put that table from 1st post?
Re: [HTML]Call it with one command ?
You _can_ use frames in this case. Make a framework and add the top, middle and bottom. Then you can change the middle whenever the user clicks a link.
Re: [HTML]Call it with one command ?
Fixed - someone please delete thread
Re: [HTML]Call it with one command ?
EliteGM = H4CK3R!@#$%^&* ?
and yea its fixed :)
Re: [HTML]Call it with one command ?
Oh, yeah its not really me but my brother, and its alil bugged =]
THIS is my brother =]