Results 1 to 3 of 3

Thread: Image button

  1. #1
    Join Date
    Aug 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image button

    http://www.dynamicdrive.com/dynamicindex15/domroll.htm

    With reference to the above coding, how do i go about configuring it so that it works for image buttons as well?

  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

    I'm a little rusty on image buttons and, if I recall correctly, there are at least two ways of making them. If you supply the code for your image button, I'll show you how to modify the code from this script to work with it.
    - John
    ________________________

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

  3. #3
    Join Date
    Jul 2005
    Location
    Kuwait-I'm American
    Posts
    127
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    an easy code is:
    <a href="page.html.html" onmouseover="image1.src='pic_over.gif';"
    onmouseout="image1.src='pic_off.gif';">
    <img name="image1" src="pic_off.gif" border=0></a>

    you just cange the img name to image2, image3, etc.......with every new button.
    pic_off.gif is the normal picture
    pic_on.gif is the picture onmouseover
    (page.html is the target page, it can be changed)
    any help?
    //\\ //\\// || //\\//\\ //\\ ||_
    SOFTWARE

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
  •