jQuery: The Write Less, Do More JavaScript Library

Div and Button display as active and open only on certain pages

by Takaya213 :: Rate this Message:

Reply to Author | View in Thread

Hi

I have a DIV overlay that I want to show as open only on certain pages but not on others (it is on all pages). The button that is related to the DIV must also display as on when the DIV overlay is open and in the off state when it is closed.

This must happen on page load.

e.g. DIV open, button on.
DIV closed, button off.

I have the click show and activation working so all i need is it to display as open and on, on certain pages and then on others closed and off.

An help would be greatly appreaciated.

Thanks

 « Return to Thread: Div and Button display as active and open only on certain pages