Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2015-07-28 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls