Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Jun 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question mouseover & rollover conflict

    Hi everyone

    New to the forum. I have been having issues with 2 functions which I am trying to incorporate into a design for a client. This isn’t the first time I have run into this issue and now am seeking help.

    I am attempting to use a nice mouse over piece of java I found at

    http://dynamicdrive.com/dynamicindex4/imagetooltip.htm

    I am having an issue while using this code and using the built in rollover function in GoLive CS.

    I have 2 examples. This one has both functions (the cropped images below the large chair should have a mouse over larger image, please see the following example):
    http://www.medcaremfg.com/example_with_problem.php

    Example 2, with rollovers removed and mouse over now working:
    http://www.medcaremfg.com/example_with_function.php

    If anyone out there with coding knowledge can give a beginner some help, I would greatly appreciate it. I am not an advanced developer, mostly a designer.

    Thanks

    Mike

  • #2
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,505
    Thanks
    3
    Thanked 501 Times in 488 Posts
    try removing

    onload="preloadImages();"
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #3
    New to the CF scene
    Join Date
    Jun 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for your post vwphillips

    I removed the code you suggested but unfortunately now the rollovers don't roll over now although the mouse over does work. I put an example here:

    http://medcaremfg.com/example_with_preloadremoved.php

    Any ideas?

  • #4
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,505
    Thanks
    3
    Thanked 501 Times in 488 Posts
    busy but back tomorrow maybe
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #5
    Banned
    Join Date
    May 2006
    Location
    England
    Posts
    664
    Thanks
    0
    Thanked 84 Times in 84 Posts
    Quote Originally Posted by toucandesign
    Thanks for your post vwphillips

    I removed the code you suggested but unfortunately now the rollovers don't roll over now although the mouse over does work. I put an example here:

    http://medcaremfg.com/example_with_preloadremoved.php

    Any ideas?
    you have
    Code:
    window.onload = initTip;
    plus
    Code:
    <body onload="preloadImages();" ......
    One will override the other.

    Delete or comment-out: window.onload = initTip;

    And in the body tag, have:

    onload="preloadImages(); initTip()"

    That should get it going for now, but that third-part code does not impress.

  • #6
    New to the CF scene
    Join Date
    Jun 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Awsome Arty . Thanks. All fixed. Problem solved.


    http://www.medcaremfg.com/pg_12CPA.php


  •  

    Posting Permissions

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