Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
There's more than one way to do things
 
PerlMonks  

Re^3: Request: Collapsible Side Bar (working solution)

by kelan (Deacon)
on Jul 11, 2005 at 20:08 UTC ( #474082=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Request: Collapsible Side Bar (working solution)
in thread Request: Collapsible Side Bar

You can modify the placement by changing the add_toggle_link function. In there you see this call:

var tbl = document.getElementById('titlebar-bottom');
What it's doing is finding the element to place the toggle link after; in this case the element's id is "titlebar-bottom." One easy way is to always have a certain nodelet on top; in my case that is the XP Nodelet. Then you could change that search to:
var tbl = document.getElementById('XP_Nodelet');
And put the link before, instead of after the one it finds.


Comment on Re^3: Request: Collapsible Side Bar (working solution)
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://474082]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2014-04-23 17:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (549 votes), past polls