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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    IE bubbling problem - 1st post HELP!

    i have a problem which i believe is related to IE bubbling. The full code is at:
    http://www.3crowncreative.com/main.html


    The sublinks that appear when you mouseover "the work" works consistently on Firefox, but are less predictable on IE - they do not always appear (although they sometimes do.) The code for the sublinks is:

    <div id="subLink" style="display:none; left:574px; top:390px; width:91px; position:absolute; float:left; text-align:center;">
    <a id="webLink" href="web.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('web','','images/webOn.gif',1)"><img src="images/webOff.gif" alt="web" width="31" height="13" border="0" id="web" style="margin-bottom:10px"/></a>
    <a id="photLink" href="photography.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('photography','','images/photographyOn.gif',1)"><img src="images/photographyOff.gif" alt="photography" width="91" height="17" border="0" id="photography" style="margin-bottom:10px" /></a>
    <a id="designLink" href="design.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('design','','images/designOn.gif',1)"><img src="images/designOff.gif" alt="design" width="46" height="17" border="0" id="design" style="margin-bottom:10px" /></a><br />
    </div>


    I add mouseover/mouseout functions to the <div> on the body load as follows:

    document.getElementById("subLink").onmouseover=divBlock;
    document.getElementById("subLink").onmouseout=divNone;
    function divBlock() {
    document.getElementById("subLink").style.display="block";
    }
    function divNone() {
    document.getElementById("subLink").style.display="none";
    }



    Any ideas how I can get this to work in IE?

  • #2
    New to the CF scene
    Join Date
    Jun 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Seems fine to me.


  •  

    Posting Permissions

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