Click to See Complete Forum and Search --> : Navigation Buttons Status Problem


learninghtml
06-21-2003, 10:38 PM
Hi,
I was wondering if anyone can tell me how to do the following...

We have an amateur drama group website and the Nav. buttons change to 'down' or 'up' image automatically when you use the buttons as you would normally expect.

But on a couple of pages I provide simple text links to other pages. All of this works fine, but as yet I have not worked out how to get the Nav. bar buttons to update their images accordingly...

E.G.
I click the button for "Next Production" and this button then displays it's "down" image, fine.

On the "Next Production" page there's a text link for the venue of the production.

If you click on this you will get the page describing the venues etc. but the "Next Production" button on the Nav. bar is still displaying it's "down" image.

I want it to revert to it's "up" image and the "Venues" button to change to it's "down" image.

How can I do this?

I can manage most javascript myself but I had a look at the code for the Nav. Bar (generated by Dreamweaver) and it scared the life out of me!

Website: www.codsalldramaticsociety.co.uk

Very grateful if anyone can help...

vickers_bits
06-22-2003, 01:03 AM
instead of using onclick for the 'down' image, u could use onmousedown, with onmouseup to revert to the 'up' image
eg
onMouseDown="MM_nbGroup('down'...)" onMouseUp="MM_nbGroup('up'...)"

or use onload from the main frame to revert the menu images. if u already call something using onload, u could separate the calls using ; or if the function is always the same, add the call into the last line of the current function
eg
onload="myOnLoadFunc(); MM_nbGroup('up'...)"
or
myOnLoadFunc() {
//current normal processing...

//u might have to loop thru all the buttons
MM_nbGroup('up'...);
};

learninghtml
06-23-2003, 05:35 PM
Originally posted by learninghtml

Thanks for that I will give it a try.

Thanks again...