View Full Version: Side Menu

NY IslandersCountry > Suggestions > Side Menu



Title: Side Menu


SigEpStyles - June 15, 2005 08:03 PM (GMT)
Webb - I got the fix to make the side menu work again from the InvisionFree Staff...I've already updated it.

Sorry for the inconvenience gang.

Webb20 - June 15, 2005 08:13 PM (GMT)
Why apologize for a change that Invision made, we're glad to have you watching out for us. Thanks.


SigEpStyles - June 15, 2005 08:21 PM (GMT)
No problem Webby....You have no idea man..this has been driving me crazy since it happened last night. I've tried to correct the code myself a million different times both here and on OTB..and couldn't get it.

AND THE CHANGE WAS SO SIMPLE...I ALMOST KICKED MYSELF WHEN THE INVISIONSTAFF SENT IT TO ME. (granted, only they knew what their changes impacted...lol)

7th Woman - June 16, 2005 10:30 AM (GMT)
gremlins.... nothing but gremlins.

smittyrules31 - June 16, 2005 10:55 AM (GMT)
can you post the changes you made to get the side menu back up? I host a board that deals with issues related to my profession and need to update it. Thanks.

SigEpStyles - June 16, 2005 10:45 PM (GMT)
QUOTE (smittyrules31 @ Jun 16 2005, 06:55 AM)
can you post the changes you made to get the side menu back up? I host a board that deals with issues related to my profession and need to update it. Thanks.

smitty...no problem.

If you're using the "Portal on the Front Page" Code (assuming you're using an IPB Free board too)...then the following change has to be made in the IP DYNAMIC LITE SET UP:

Where it reads:

QUOTE
<script>
if(!top.location.href.match("act=site"))
{
td=document.body.getElementsByTagName("TD")
for(i=0;i<td.length;i++)if(td[i].width=="200"&&td[i].className=="row3"&&td[i].vAlign=="top")break
mSide=parent.document.getElementById('sMenu')
mSide.innerHTML=td[i].innerHTML
}
</script>


Change the part in red to row4

So the new code should simply be:
QUOTE
<script>
if(!top.location.href.match("act=site"))
{
td=document.body.getElementsByTagName("TD")
for(i=0;i<td.length;i++)if(td[i].width=="200"&&td[i].className=="row4"&&td[i].vAlign=="top")break
mSide=parent.document.getElementById('sMenu')
mSide.innerHTML=td[i].innerHTML
}
</script>


That's it...everything else from this code should stay exactly the same, including the parts that were put in the board wrappers section.

smittyrules31 - June 17, 2005 01:00 AM (GMT)
Thanks Sig. Worked fine.

SigEpStyles - June 18, 2005 03:43 AM (GMT)
No problem..glad I could help smitty. If there's ever anything else....just ask buddy.

smittyrules31 - June 18, 2005 05:31 AM (GMT)
Cool. Can I "borrow" $7,456.32? :D

SigEpStyles - June 19, 2005 06:14 PM (GMT)
QUOTE (smittyrules31 @ Jun 18 2005, 01:31 AM)
Cool. Can I "borrow" $7,456.32? :D

Yeah.....ummm......hmmmmmmmmmmmm.....NOT SO MUCH!!! hahahaha


Way to go aiming high there though!! "A+" for effort. :P




Hosted for free by InvisionFree