Results 1 to 7 of 7

Thread: onMouseover Problem in Microsoft IE

  1. #1
    Join Date
    May 2011

    onMouseover Problem in Microsoft IE


    I am currently creating a Webpage for eBay, but habe a Problem displaying onmouseover correctly in IE.

    There is a big picture (name: Bild0)
    below some small pictures (Bild1, Bild2, usw.) which should be displayed in the big size when mouseover.

    The mouseovered picture should not be hidden (there is no mouseout) until another small picture will be mouseovered.

    So far this will work on any web-browser, but not in IE (I use the IE9). How can I fix it?

    Thanks for helping in advance.

    <IMG name=moni src=".../Bild0.jpg" height=270>

    <IMG onMouseOver="moni.src='.../Bild1.jpg';"src=".../Bild1.jpg" width=60 height=45>
    <IMG onMouseOver="moni.src='.../Bild2.jpg';"src=".../Bild2.jpg" width=60 height=45>
    <IMG onMouseOver="moni.src='.../Bild3.jpg';"src=".../Bild3.jpg" width=60 height=45>
    <IMG onMouseOver="moni.src='.../Bild4.jpg';"src=".../Bild4.jpg" width=60 height=45>


  2. #2
    Join Date
    Dec 2003
    Bucharest, ROMANIA
    This is a JavaScript issue, not a CSS one (even there might be a CSS solution for rollovers, but not following your syntax). I'll move the Thread into the JavaScript Forum.

    Use id, not name. And use a function, don't code locally:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <meta http-equiv="Content-Script-Type" content="text/javascript">
    <script type="text/javascript">
    function rollOn(thisSRC){
    var myImg=document.getElementById('moni');
    <img id="moni" src=".../Bild0.jpg" height="270">
    <img onmouseover="rollOn(this.src)" src=".../Bild1.jpg" width="60" height="45">
    <img onmouseover="rollOn(this.src)" src=".../Bild2.jpg" width="60" height="45">
    <img onmouseover="rollOn(this.src)" src=".../Bild3.jpg" width="60" height="45">
    <img onmouseover="rollOn(this.src)" src=".../Bild4.jpg" width="60" height="45">
    Last edited by Kor; 05-16-2011 at 03:55 AM.

  3. #3
    Join Date
    May 2011

    since nobody answers...

    I am looking for a CSS picture rollover. Yes, I saw plenty of shopping-websites doing this with java-script (e.g. amazon)

    But, I need this for eBay, so i should not work with java-script.

    Please take a look to this website, this mouseover works exactly as I want it:

    How to fix my HTML to get the mouseover work in IE?

  4. #4
    Join Date
    Dec 2003
    Bucharest, ROMANIA

  5. #5
    Join Date
    May 2011
    Hi Kor, sorry I didn't see your first Message....

    Thanks for your help, it seems that only javascript helps.
    eBay accepted listing items with javascript for some reason. So it works.

    Thank you!

  6. #6
    Join Date
    May 2011

    2 years ago, I have posted my code and right now I am still working on a new feature.

    I have posted my question on several german forums, but it seems nobody knows a solution.

    HTML Code:
    <IMG name=moni2 src="http://www.fotos-hochladen.net/uploads/bild1g8cdhrtwkj.jpg" height=210>
      <IMG class=pixx onMouseOver="moni2.src='http://www.fotos-hochladen.net/uploads/bild1g8cdhrtwkj.jpg';"
      src="http://www.fotos-hochladen.net/uploads/bild1g8cdhrtwkj.jpg" width=60 height=45>
      <IMG class=pixx onMouseOver="moni2.src='http://www.fotos-hochladen.net/uploads/bild2zmnoj03as1.jpg';"
      src="http://www.fotos-hochladen.net/uploads/bild2zmnoj03as1.jpg" width=60 height=45>
      <IMG class=pixx onMouseOver="moni2.src='http://www.fotos-hochladen.net/uploads/bild3l3r4psgymo.jpg';"
      src="http://www.fotos-hochladen.net/uploads/bild3l3r4psgymo.jpg" width=60 height=45>
    Please save this code in an editor ans save it as test.html > then open in a web browser

    I love this code because,
    - change on the big image when mouseover a small image
    - no mouseout
    - root picture can be added (visible when no mouseover has been made)

    Now, I need to add a URL on the big picture.
    The big challenge is:
    When image number 1 is shown, there must be URL number 1 on the big image,
    When image number 2 is shown, there must be URL number 2 on the big image.

    According to my friend, this URL challenge/problem cannot be solved with CSS.
    According to members in the german forums, this should be possible. Unfortunately they don't help me.

    The reason why I would like to change the code (to add image-dependent URLs on the big image) I need to change the code for touch screens in order to work.

    I hope for your professional help.

    Thank you in advance.

    P.S. If you need to know the full website for a better understanding, please visit http://tinyurl.com/bvrrgsj with an touch screen device (e.g. iPad) and on desktop. You will see the difference when mouseover/click on the small images

  7. #7
    Join Date
    May 2011
    Hello I want to delete my last post or at least the URL.
    Could you please remove the URL. Thanks

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



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.09968 seconds
  • Memory Usage 2,908KB
  • Queries Executed 15 (?)
More Information
Template Usage (34):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)bbcode_code
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (7)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (72):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates