<script type='text/javascript'>
<!--
// add link on the portal side of the submenu
// code by ticlo, http://ifsz.net/
function addSubmenuLink(url, text, blank) {
var e
e = document.getElementById('submenu')
if (e && e.nodeName == 'TABLE') {
e.rows[0].cells[0].innerHTML += ' · <a href="' + url + '"' + (blank ? ' target="_blank"' : '') + '>' + text + '</a>'
}}
addSubmenuLink('http://www.somedomain.com', 'Visit somedomain.com')
// -->
</script>
(the above code was written by Stefan of the Invision Free Skin Zone)
this portion of the code i'd like to be explained... and again go into as much detail as possible
function addSubmenuLink(url, text, blank) {
var e
e = document.getElementById('submenu')
if (e && e.nodeName == 'TABLE') {
e.rows[0].cells[0].innerHTML += ' · <a href="' + url + '"' + (blank ? ' target="_blank"' : '') + '>' + text + '</a>'
}}
addSubmenuLink('http://www.somedomain.com', 'Visit somedomain.com')
Edited by Hacker-X, 25 September 2005 - 03:14 PM.
