Results 1 to 3 of 3

Thread: onclick swap image and back

  1. #1
    Join Date
    Aug 2007
    Location
    San Antonio - TX, USA
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default onclick swap image and back

    Hi all.
    I have a web consisting of 2 frames -- a top, navigation frame (top.htm) and a bottom content frame (main.htm). The top navigation frame has 5 navigation images -- each of which calls up its appropriate page (Pg1-5) in the bottom content frame.
    I want each navigation button to have a mouseover effect (image_on) and, when clicked, image_on should stay on while any previously clicked navigation images swap to image_off. Of course, clicking on the image should call up the appropriate page in the content frame as well.
    Does anyone know what to do?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Try out this little demo:

    Attachment 1185

    You can configure as many links as you like on nav.htm just by adding additional styles and markup. The script doesn't need to be edited. Any questions, just ask.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2007
    Location
    San Antonio - TX, USA
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Awsome !!!..it works gud. Thank you very much for your quick valuable response.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •