473,774 Members | 2,232 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

onmouseover function not working in IE7

2 New Member
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(w hichLayer)
{
var style2 = document.getEle mentById(whichL ayer).style;

style2.display = "block";
}
Mar 20 '08 #1
3 1784
acoder
16,027 Recognized Expert Moderator MVP
Moving the mouse to which 'block'?
Mar 20 '08 #2
pmadhu512
2 New Member
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(w hichLayer)
{
var style2 = document.getEle mentById(whichL ayer).style;

style2.display = "block";
}
Mar 24 '08 #3
acoder
16,027 Recognized Expert Moderator MVP
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
12289
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 page: <HTML> <HEAD> <style type="text/css">
7
3345
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 the same element. E.g. <A HREF="#" OnMouseOver="A(); return true" OnMouseOut"B(); return true;"
2
6552
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 this. If I have two divs, is there a way to make the second div display its onmouseover behavior when the mouse is over div 1?
3
3947
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" height="15" width="85" alt="Home" onmouseover="FP_swapImg(1,0,/*id*/'img22',/*url*/'images/home2.jpg')"</a>
2
2728
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. Replicate-Problem: Scrolldown the textbox and put the mouse over a row.
7
2800
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. Replicate-Problem: Scrolldown the textbox and put the mouse over a row.
2
2242
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 a correctly structured table. The problem is that the onmouseover and onmouseout events are only being added for the last table row: function drawTableRow(drug_list,table)
1
18853
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" runat="server"> <div> &nbsp;</div> <div>
10
11185
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 Safari. But in IE7, the onmouseover function does not seem to get called when I just move the mouse over the TD. If, however, I actually click the mouse while over the TD, the function does get invoked. Because of this, it seems to me that the setup of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9915
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7463
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6717
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5358
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4014
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2852
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.