Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Request: Collapsible Side Bar

by greenFox (Vicar)
on Jul 11, 2005 at 07:41 UTC ( #473856=note: print w/replies, xml ) Need Help??

in reply to Request: Collapsible Side Bar

The site you linked to achieves that result with JavaScript which for many reasons, mostly security related, is never going to be acceptable here. It might be possible to achieve the same effect with CSS. I suggest you do some research and write a patch for it :)

Update: I stand corrected (surprised but corrected) on the acceptability of JavaScript here, Recently Active Threads does contain JavaScript.

Murray Barton
Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho

Replies are listed 'Best First'.
Re^2: Request: Collapsible Side Bar
by BUU (Prior) on Jul 11, 2005 at 10:27 UTC
    Just a note, there's absolutely *no* security reason that this site couldn't use javascript to do what ever it wanted. The only security issue with javascript is when you allow untrusted users to display the javascript and have it executed by other users, which is the current flaw in the homenodes, although mostly fixed by a few (non?) default settings.

      Fair point with regards to this site. However the internet as a whole (the Monastery aside if you like) is one big untrusted user and as such JavaScript *is* a security problem and the only solution I know of is to have it turned off.

      As an aside it would be nice if Firefox had an option to allow JavaScript for specified sites in the same way there is an allowed sites list for Popup Windows for example.

      Update:And NoScript answers my prayers.

      Murray Barton
      Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho

Re^2: Request: Collapsible Side Bar
by reasonablekeith (Deacon) on Jul 11, 2005 at 11:24 UTC
    The "recently active threads" node already has javascript. Apart from Javascript being the root of all evil, I don't see what the big deal is.
    my name's not Keith, and I'm not reasonable.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://473856]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2018-02-20 00:17 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (266 votes). Check out past polls.