Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by SciDude (Friar)
on Jul 11, 2005 at 19:52 UTC ( #474074=note: print w/ replies, xml ) Need Help??


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

This is exactly what I had in mind! Thank you.

Although I would prefer the "toggle" above the nodelets or on the side of the page - your version does what I wanted with the minimum of complexity. Bravo!


SciDude
The first dog barks... all other dogs bark at the first dog.


Comment on Re^2: Request: Collapsible Side Bar (working solution)
Re^3: Request: Collapsible Side Bar (working solution)
by kelan (Deacon) on Jul 11, 2005 at 20:08 UTC

    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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-07-13 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (249 votes), past polls