View Full Version : [Toggle button] Load URL A or B depending on button state

12-22-2006, 03:36 PM
I am trying to create a toggle button to load a different URL in a target frame each time the button is pressed, but I have no more hairs to pull out of my head, that is how frustrated I currently am :o .

e.g. Button switches from "On" to "Off" and back to "On" again
When the button is pressed in the ON state <a href="<linkA>" target"footer"> should be processed and <a href="<linkB>" target"footer"> when the OFF state is active.

I realy hope somebody is able to help me with this. Help is much appreciated!