Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 7 of 7
  1. #1
    Junior Member DaMighty Optiq's Avatar
    Join Date
    Nov 2011
    Location
    West Allis, Wisconsin
    Posts
    10
    Member #
    29989
    ok... I decided the easiest thing to do to avoid messing with a lot of Java is to use the "onmouseover" command... the only thing is... the pic I want to be a rollover is a much larger size than the pic that will trigger it... how do I get it to show up at a larger size?... the regular command just makes it appear over the trigger pic and is shrunk to that size.... for the sake of arguing... lets say the pic on the page is 1inch X 2inches... the pic I want to pop up when you roll over the 1inch X 2inch pic is 4inches X 6inches.... get it?... how do I do this?... I tried adding "height" and "width" to the coding but it only made it NOT WORK..... so I'm stuck on this one..

  2.  

  3. #2
    Junior Member DaMighty Optiq's Avatar
    Join Date
    Nov 2011
    Location
    West Allis, Wisconsin
    Posts
    10
    Member #
    29989
    OH YEAH!!!.... they're two different pics... not one thumbnail an the other a larger version... I saw a script for magnifying it... but that's not what I'm looking for..

  4. #3
    Junior Member DaMighty Optiq's Avatar
    Join Date
    Nov 2011
    Location
    West Allis, Wisconsin
    Posts
    10
    Member #
    29989
    Ok maybe this will help some of you see what I'm talking about... here's the code for one of the pics..

    <img src="images/Tank.jpg" width="168" height="236" alt""
    onmouseover="src='images/Tanktop.jpg'"
    onmouseout="src='images/Tank.jpg'">

    it works.... but the problem I'm having is the Tanktop.jpg is BIGGER than Tank.jpg... but it shrinks and fits inside the same space as the Tank.jpg..... I want it to show up at it's full size.... I've tried adding height and width to Tanktop.jpg but then nothing happens at all... how can I do this?

  5. #4
    Junior Member DaMighty Optiq's Avatar
    Join Date
    Nov 2011
    Location
    West Allis, Wisconsin
    Posts
    10
    Member #
    29989
    .

  6. #5
    Junior Member DaMighty Optiq's Avatar
    Join Date
    Nov 2011
    Location
    West Allis, Wisconsin
    Posts
    10
    Member #
    29989
    .. 40 views no response.... hmmm.... is what I'm asking impossible?.... if so someone PLEASE let me know so I can at least stop wasting time trying to figure it out....

  7. #6
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Do you have to have the larger image appear in the same place as the smaller one?
    This is an old example of how you can mouseover text (or a smaller image) and have a larger image show elsewhere on the page. http://www.digitalinsite.ca/development/javascript/
    If you want the larger image in a popup, look into jQuery Lightbox.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  8. #7
    Member Janja's Avatar
    Join Date
    Aug 2011
    Location
    Vista, CA
    Posts
    54
    Member #
    28823
    Liked
    3 times
    I wonder, if you could use css instead and give your a:hover a different size and if needed negative margins, or z-index????


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:33 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com