Hi Folks,
I have a tiny set of two buttons that I display inside a table, sorta like this:
[COLOR=Red]<TABLE>
<TR>
<TD>
Roll-Over button #1, and link starement
</TD>
<TD>
Roll-Over button #2, and link starement
</TD>
</TR>
</TABLE>
My issue is that this same code is sprinkled all over my various web pages, perhaps 15 times so far and growing.
I would like to contain that Table-Code in one place and then refer to it from all of the pages it now appears.
I tried containing the code in a function statement placed in a JS file,
[COLOR=Red]function showButtons()
{
Copied the table code
}
Then, in place of ALL the Table-Code on the pages just entered:
[COLOR=Red]showButtons()
Naturally, it didn’t work.
Can someone show me how to “repeat” duplicate Table-Code properly?
Many thanks
-Paul-