On the index.html and other pages, after the
<link rel="script" type="text/javascript" href="script.js">
insert:
<script language="JavaScript" src="popup.js"></script>
The "footer" will look like:
Code:
<tr>
<td align="left">
<script language="JavaScript" src="tributes.js"></script>
</td>
<td align="right">
<script language="JavaScript" src="menu_bot.js"></script>
</td>
</tr>
add these 2 files:
popup.js
Code:
<!-- Begin
// NOTE: If you use a ' add a slash before it like this \'
var TRIB_width = 250 // WINDOW WIDTH
var TRIB_height = 400 // WINDOW HEIGHT
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width='+TRIB_width+',height='+TRIB_height+',left=1,top=1');");
}
// End -->
Watch out that "T RIB" looks funny in the code, should be TRIB (Forum-quirk)
tributes.js
Code:
<!-- Begin
// NOTE: If you use a ' add a slash before it like this \'
document.write('<table width="75%" cellpadding="1" cellspacing="1" border="0"><tr><td align="center" class="menu_nav">');
document.write('<font color="#FFFFFF">©2004 Copyright Tributes:</font>');
document.write('</td><td width="3"> <br></td><td align="center" class="menu_nav">');
document.write('<a href="javascript:popUp(\'website.html\')">Website</a><br>');
document.write('</td><td width="3"> <br></td><td align="center" class="menu_nav">');
document.write('<a href="javascript:popUp(\'Images.html\')">Images</a><br>');
document.write('</td><td width="3"> <br></td><td align="center" class="menu_nav">');
document.write('<a href="javascript:popUp(\'book.html\')">Book</a><br>');
document.write('</td></tr></table>');
// End -->
PS: the things are Tributes, not Attributes !