Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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)

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?
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 contemplating the Monastery: (4)
As of 2016-06-27 01:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (334 votes). Check out past polls.