473,383 Members | 1,788 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

onmouseover function not working in IE7

hi below code is working in the IE6 and mozilla but not working IE7.when i moving the mouse to the block the popup getting closed
could you please help me how to resolve this problem
Expand|Select|Wrap|Line Numbers
  1.  
  2.             <div class="plus_addition">
  3.                <div class="plusindicator " onmouseover="openPlusPopup('pluspopup_<c:out value="${uniqueId}"/>')" onmouseout="closePlusPopup('pluspopup_<c:out value="${uniqueId}"/>')">
  4.                   <a class="pluslink" href="javascript:void(0)" target="detailsFrame_<c:out value='${uniqueId}'/>">
  5.                      <img src='<cms:ref path="/results" reference="small__smile"/>' alt="" width="18" height="14" border="0"/>
  6.                      <img src='<cms:ref path="/results" reference="plus_text"/>' alt='<cms:data path="/results" reference="plus_logo_alt"/>' width="90" height="12" border="0"/>
  7.                      <p class="plus_components">Goodday</p>
  8.                   </a>
  9.                   <div class="pluspopup" id="pluspopup_<c:out value="${uniqueId}"/>" onmouseover="openPlusPopup('pluspopup_<c:out value="${uniqueId}"/>')" onmouseout="closePlusPopup('pluspopup_<c:out value="${uniqueId}"/>')">
  10.                      <div class="arrow">
  11.                         <img src='<cms:ref path="/results" reference="plus_popup_arrow"/>' alt="" border="0"/>
  12.                      </div>
  13.                      <div class="inner">
  14.                         <p><cms:data path='/results' reference='plus_benefits' /></p>
  15.                         <ul>
  16.                            <li><cms:data path='/results' reference='plus_benefit1' /></li>
  17.                            <li><cms:data path='/results' reference='plus_benefit2' /></li>
  18.                            <li><cms:data path='/results' reference='plus_benefit3' /></li>
  19.                         </ul><br /><br />
  20.                         <c:if test="${selected.bFlag != true && selected.lateFlag != true && selectedn.evFlag != true }">
  21.                         <a href="#navigateTo_<c:out value="${uniqueId}"/>" onclick="closePlusPopup('pluspopup_<c:out value="${uniqueId}"/>');openImage('<c:out value='${uniqueId}'/>','normal'); displayDetails('<c:out value="${uniqueId}"/>','Plusdetails');jumpTo('link_<c:out value="${pkgNum}"/>');"><cms:data path='/results' reference='fulldetails' /></a>
  22.                         <br clear="all"/>
  23.                         </c:if>
  24.                      </div>
  25.                   </div>
  26.                </div>
  27.               </div>
  28.             </c:if>
  29.  
the JS is
function openPlusPopup(whichLayer)
{
var style2 = document.getElementById(whichLayer).style;

style2.display = "block";
}
Mar 20 '08 #1
3 1754
acoder
16,027 Expert Mod 8TB
Moving the mouse to which 'block'?
Mar 20 '08 #2
Moving the mouse to which 'block'?
the popup block which i have display while onmouseover event

code is bellow
could please replay me soon i stuck with this problem.

function openPlusPopup(whichLayer)
{
var style2 = document.getElementById(whichLayer).style;

style2.display = "block";
}
Mar 24 '08 #3
acoder
16,027 Expert Mod 8TB
The onmouseout is probably being fired because of the div popup which also has an onmouseover/out. Why do you have the div trying to display itself onmouseover while hidden - how's that gong to work?
Mar 24 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Epetruk | last post by:
Hi all, I want a page where the contents of a table cell are replaced with an image when the mouse moves over the cell, and the text is restored when the mouse moves out. Here's the html for the...
7
by: windandwaves | last post by:
Hi Gurus I am trying to make this rather complicated maps with an a huge number of mouseovers and the like. I want to set up a function that OnMouseDown swaps the OnMouseOver and OnMouseOut for...
2
by: news.west.cox.net | last post by:
I have been writing a practice sliding div navigation script. I am finding myself in the position where I need to force a div into showing the hover behavior defined in css. So my question is...
3
by: drjackk | last post by:
Hello, I'm trying to change the onmouseover event dynamically. This sets-up the initial onmouseover event: <a href="home.html"> <img border="0" id="img22" src="images/home1.jpg"...
2
by: MrCode2k | last post by:
Hello, Trying to do: I just want a table that I can scroll and that has fixed headers. Problem: I got it to work but when I added the onmouseover event it didn't work anymore....
7
by: MrCode2k | last post by:
Hello, Trying to do: I just want a table that I can scroll and that has fixed headers. Problem: I got it to work but when I added the onmouseover event it didn't work anymore....
2
by: Steve Macleod | last post by:
Hi, I was wondering if anyone would be good enough to have a look at the following code and tell me if there is something im missing! drug_list is an array of drug details table is a reference to...
1
by: den2005 | last post by:
Hi everybody, I am confused and still looking why this codes is not working. Can anyone notice or know why this code is not working? Thanks in advance. Code working: <form id="form1"...
10
by: donH | last post by:
Below is a snippet of code from a lengthy javascript procedure that builds a new table. It puts an "onmouseover" function call on one of the TD elements. This code works in IE6, Firefox, and...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.