Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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!

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

Comment on Re^2: Request: Collapsible Side Bar (working solution)
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2015-11-28 14:56 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (742 votes), past polls