www.webdeveloper.com
Results 1 to 6 of 6

Thread: problem with behaviours/complex rollovers in Dreamweaver MX

  1. #1
    Join Date
    Jan 2006
    Posts
    10

    Unhappy problem with behaviours/complex rollovers in Dreamweaver MX

    Hi Everybody,
    Hoping someone out there can advise me, I'm trying to create what I believe should be a fairly simple effect on a web page but have had no success. Basically my page contains a table cell with a large image which appears on first load. Alongside that cell is another with four number buttons 1-4. These are rollovers, changing colour when a viewer points. Now, what I want to do is have the rollover effect on the buttons and change the larger, main image when the viewer clicks. Therefore you can click on number 1 for Image 1, 2 for 2 and so on.
    The problem seems to be that once the rollovers are active and I then insert a behaviour to swap the larger image, the "restore on Mouseout" command takes over. Or maybe I shouldn't be using behaviours to do this? Should I try tweaking the javascript or doing the whole thing in Fireworks or Flash?
    I'd welcome any suggestions, particularly any links to tutorials which might be available...I've now spent several days trying various methods without success.
    Thanks All!
    Watty.

  2. #2
    Join Date
    Jan 2006
    Location
    Stafford, England
    Posts
    565
    Using an iframe for the images to be showen may be best not sure though.

    But its an idea for ya though.

  3. #3
    Join Date
    Oct 2005
    Location
    UK
    Posts
    630
    dont use iframes there frames are a curse on the web world.

    have you got a link to the code?

    also you can untick the box/remove from the code onmouseout revertimage if i understand correctly what you mean

  4. #4
    Join Date
    Dec 2005
    Location
    Alozaína, Malaga, Spain
    Posts
    7
    Go to http://www.pinsapoestates.com/area.php and tell me if this is the effect you want. If so, I have the answer

  5. #5
    Join Date
    Jan 2006
    Posts
    10

    Unhappy problem solved...nearly!

    Thanx to everyone for their suggestions, I have now solved the problem (almost) after wrestling with javascript for a while. This link http://home.exetel.com.au/wattysweb/pevonia.htm displays the effect I wanted to create, just as long as you don't look at it in Internet Explorer, which displays a blank page.
    Any ideas why this may be so would be most welcome.
    Thanks,
    iainwatt64

  6. #6
    Join Date
    Jan 2006
    Posts
    10

    Smile problem solved

    Thanks to everyone, IE was showing a blank page due to a missing close comment tag (-->) in the head section following the CSS code. Sensitive, eh?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles