inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Oct 8, 2005 11:52:01 GMT -8
Global FooterThis lets you add links to other sites into the forum jump. <script type="text/javascript"> <!-- /* add links to forum jump */ var jump = []; jump[0] = ['http://google.com','Google']; jump[1] = ['URL','Site Name']; jump[2] = ['URL','Site Name'];
var sel = document.getElementsByTagName('select'); for(i=0;i<sel.length;i++) { if(sel.options[0].innerHTML == 'Forum Jump') { sel.appendChild(document.createElement('option')) sel.lastChild.innerHTML = '--------------------'; for(j=0; j<jump.length; j++) { sel.appendChild(document.createElement('option')) sel.lastChild.innerHTML = jump[j][1]; sel.lastChild.value = jump[j][0]; } } } //--> </script>Edit the Red with the URL and the Blue with the site name. Repeat the pattern for adding more links, increasing the green number by one each time. For example, I could use this to add a forth link: jump[3] = ['http://site.com/page.htm','My Website'];
|
|