roll overs not functioning properly

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default roll overs not functioning properly

    When I test my menu in my design folder on my pc I have rollover bullets
    that work perfectly. When I tried to apply the script to other pages by
    creating a library item it's not behaving properly. The bullets stay on
    once moused over. At first I thought I had document relative links but that
    wasn't it. In addition, both the pages below seem to work on the web server
    but both work very slowly.

    Any suggestions?

    Here's a view of the menu working correctly:
    [url]http://66.165.38.121/DESIGN_3R1/INDEX.htm[/url]
    Here's one where it's not working on my PC but is on the web server.
    [url]http://66.165.38.121/index.htm[/url]

    Here's the code from my library item:
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)
    x.src=x.oSrc;
    }

    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length;
    i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }

    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document;
    if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
    x=d.forms[i][n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++)
    x=MM_findObj(n,d.layers[i].document);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
    }

    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array;
    for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc)
    x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </script>
    <SCRIPT LANGUAGE=JAVASCRIPT>
    <!-- Hide script from old browers
    if (document.images) {

    bullet_on = new Image
    bullet_off = new Image
    bullet_on.src = "/DESIGN_3R1/images/bullet_on.gif"
    bullet_off.src = "/DESIGN_3R1/images/spacer.gif"

    }
    else {

    }
    // end hiding script from old browsers -->
    </script>

    <table width="128" cellspacing="0" cellpadding="0" border="0">
    <tr>
    <td colspan="2"><img src="/DESIGN_3R1/images/menu_top.gif"
    width="128" height="30" alt="" border="0"></td>
    </tr>
    <tr>
    <td rowspan="2" bgcolor="#000000"><img
    src="/DESIGN_3R1/images/spacer.gif" name="menu_item_1" width="20"
    height="17" alt="" border="0"></td>
    <td bgcolor="#22157A" class="white78"><a href="/index.htm"
    onMouseOut="MM_swapImgRestore(); document.menu_item_1.src=bullet_off.src"
    onMouseOver="MM_swapImage('Home','','/images/HomeOn.gif',1);
    document.menu_item_1.src=bullet_on.src;MM_preloadI mages('/images/5thWheelOff
    ..gif','/images/5thWheelOn.gif','/images/DirectionsOff.gif','/images/Directio
    nsOn.gif','/images/EmpOff.gif','/images/EmpOn.gif','/images/FamilyOff.gif','
    /images/FamilyOn.gif','/images/HomeOff.gif','/images/HomeOn.gif','/images/Mo
    torhomesOff.gif','/images/MotorhomesOn.gif','/images/PartsOff.gif','/images/
    ServiceOff.gif','/images/PartsOn.gif','/images/ServiceOn.gif','/images/Trail
    erOff.gif','/images/TrailerOn.gif')" ><img src="/images/HomeOff.gif"
    alt="Home" name="Home" border="0"></a></td>
    </tr>
    <tr>
    <td><img src="/DESIGN_3R1/images/spacer_white.gif" width="108"
    height="1" alt="" border="0"></td>
    </tr>
    <tr>
    <td rowspan="2" bgcolor="#000000"><img
    src="/DESIGN_3R1/images/spacer.gif" name="menu_item_3" width="20"
    height="17" alt="" border="0"></td>
    <td bgcolor="#22157A" class="white78"><a href="/index.htm"
    onMouseOut="MM_swapImgRestore(); document.menu_item_3.src=bullet_off.src"
    onMouseOver="MM_swapImage('fifthwheel','','/Images/5thWheelOn.gif',1);docume
    nt.menu_item_3.src=bullet_on.src"><img src="/Images/5thWheelOff.gif"
    alt="5th Wheel" name="fifthwheel" width="99" height="27"
    border="0"></a></td>
    </tr>
    <tr>
    <td><img src="/DESIGN_3R1/images/spacer_white.gif" width="108"
    height="1" alt="" border="0"></td>
    </tr>
    <tr>
    <td rowspan="2" bgcolor="#000000"><img
    src="/DESIGN_3R1/images/spacer.gif" name="menu_item_4" width="20"
    height="17" alt="" border="0"></td>
    <td bgcolor="#22157A" class="white78"><a href="/index.htm"
    onMouseOut="MM_swapImgRestore(); document.menu_item_4.src=bullet_off.src"
    onMouseOver="MM_swapImage('Trailer1','','/images/TrailerOn.gif',1);
    document.menu_item_4.src=bullet_on.src"><img src="/images/TrailerOff.gif"
    alt="Travel Trailer" name="Trailer1" width="99" height="28" border="0"
    id="Trailer1"></a></td>
    </tr>
    <tr>
    <td><img src="/DESIGN_3R1/images/spacer_white.gif" width="108"
    height="1" alt="" border="0"></td>
    </tr>
    <tr>
    <td rowspan="2" bgcolor="#000000"><img
    src="/DESIGN_3R1/images/spacer.gif" name="menu_item_5" width="20"
    height="17" alt="" border="0"></td>
    <td bgcolor="#22157A" class="white78"><a href="/index.htm"
    onMouseOut="MM_swapImgRestore(); document.menu_item_5.src=bullet_off.src"
    onMouseOver="MM_swapImage('Trailer2','','/images/MotorhomesOn.gif.',1);
    document.menu_item_5.src=bullet_on.src"><img src="/images/MotorhomesOff.gif"
    alt="Motorhomes" name="motorhome" width="99" height="28" border="0"
    id="Trailer2"></a></td>
    </tr>
    <tr>
    <td><img src="/DESIGN_3R1/images/spacer_white.gif" width="108"
    height="1" alt="" border="0"></td>
    </tr>
    <tr>
    <td rowspan="2" bgcolor="#000000"><img
    src="/DESIGN_3R1/images/spacer.gif" name="menu_item_6" width="20"
    height="17" alt="" border="0"></td>
    <td bgcolor="#22157A" class="white78"><a href="/index.htm"
    onMouseOut="MM_swapImgRestore();document.menu_item _6.src=bullet_off.src"
    onMouseOver="MM_swapImage('Family','','/images/FamilyOn.gif',1);
    document.menu_item_6.src=bullet_on.src"><img src="/images/FamilyOff.gif"
    alt="Family" name="Family" width="99" height="27" border="0"></a></td>
    </tr>
    <tr>
    <td><img src="/DESIGN_3R1/images/spacer_white.gif" width="108"
    height="1" alt="" border="0"></td>
    </tr>
    <tr>
    <td rowspan="2" bgcolor="#000000"><img
    src="/DESIGN_3R1/images/spacer.gif" name="menu_item_7" width="20"
    height="17" alt="" border="0"></td>
    <td bgcolor="#22157A" class="white78"><a href="/index.htm"
    onMouseOut="MM_swapImgRestore(); document.menu_item_7.src=bullet_off.src"
    onMouseOver="MM_swapImage('Employees','','/images/EmpOn.gif',1);
    document.menu_item_7.src=bullet_on.src"><img src="/images/EmpOff.gif"
    alt="Employees" name="Employees" width="99" height="27" border="0"></a></td>
    </tr>
    <tr>
    <td><img src="/DESIGN_3R1/images/spacer_white.gif" width="108"
    height="1" alt="" border="0"></td>
    </tr>
    <tr>
    <td rowspan="2" bgcolor="#000000"><img
    src="/DESIGN_3R1/images/spacer.gif" name="menu_item_8" width="20"
    height="17" alt="" border="0"></td>
    <td bgcolor="#22157A" class="white78"><a href="/index.htm"
    onMouseOut="MM_swapImgRestore(); document.menu_item_8.src=bullet_off.src"
    onMouseOver="MM_swapImage('Directions','','/images/DirectionsOn.gif',0);docu
    ment.menu_item_8.src=bullet_on.src"><img src="/images/DirectionsOff.gif"
    alt="Directions" name="Directions" width="99" height="28"
    border="0"></a></td>
    </tr>
    <tr>
    <td><img src="/DESIGN_3R1/images/spacer_white.gif" width="108"
    height="1" alt="" border="0"></td>
    </tr>
    <tr>
    <td rowspan="2" bgcolor="#000000"><img
    src="/DESIGN_3R1/images/spacer.gif" name="menu_item_9" width="20"
    height="17" alt="" border="0"></td>
    <td bgcolor="#22157A" class="white78"><a href="/index.htm"
    onMouseOut="MM_swapImgRestore(); document.menu_item_9.src=bullet_off.src"
    onMouseOver="MM_swapImage('Parts','','/images/PartsOn.gif',1);
    document.menu_item_9.src=bullet_on.src"><img src="/images/PartsOff.gif"
    alt="Parts" name="Parts" width="99" height="27" border="0"></a></td>
    </tr>
    <tr>
    <td><img src="/DESIGN_3R1/images/spacer_white.gif" width="108"
    height="1" alt="" border="0"></td>
    </tr>
    <tr>
    <td rowspan="2" bgcolor="#000000"><img
    src="/DESIGN_3R1/images/spacer.gif" name="menu_item_10" width="20"
    height="17" alt="" border="0"></td>
    <td bgcolor="#22157A" class="white78"><a href="/index.htm"
    onMouseOut="MM_swapImgRestore(); document.menu_item_10.src=bullet_off.src"
    onMouseOver="MM_swapImage('Service','','/images/ServiceOn.gif',1);
    document.menu_item_10.src=bullet_on.src"><img src="/images/ServiceOff.gif"
    alt="Service" name="Service" width="99" height="27" border="0"></a></td>
    </tr>
    <tr>
    <td><img src="/DESIGN_3R1/images/spacer_white.gif" width="108"
    height="1" alt="" border="0"></td>
    </tr>
    <tr>
    <td bgcolor="#000000"><img src="/DESIGN_3R1/images/spacer.gif"
    width="1" height="1" alt="" border="0"></td>
    <td bgcolor="#22157A"><img src="/DESIGN_3R1/images/spacer.gif"
    width="1" height="16" alt="" border="0"></td>
    </tr>
    <tr>
    <td colspan="2"><img src="/DESIGN_3R1/images/spacer.gif" width="1"
    height="21" alt="" border="0"></td>
    </tr>
    <tr>
    <td colspan="2" align="center"><img
    src="/DESIGN_3R1/images/banner_bottom_left.gif" width="120" height="60"
    alt="" border="0"></td>
    </tr>
    <tr>
    <td><img src="/DESIGN_3R1/images/spacer.gif" width="20" height="1"
    alt="" border="0"></td>
    <td><img src="/DESIGN_3R1/images/spacer.gif" width="108"
    height="1" alt="" border="0"></td>
    </tr>
    </table>

    Thanks in advance!

    --
    Nicole
    [email]webgoddess@NOSPAM.direcway.com[/email]
    [url]http://www.glenhavendesigns.com[/url]


    Nicole Johnson Guest

  2. Similar Questions and Discussions

    1. IE issue with flash roll overs
      I have created a menu bar with flash roll overs. When the mouse is over the menu icon it hi-lights and onclick links to another page. This works...
    2. mouse overs
      hi. i've created a pdf from a brochure to be posted on a website. in the pdf, i have links to websites, which is fine. what i'm trying to do now is...
    3. IIS, SQL, impersonate not functioning...
      I have a web service application which needs to do some processing which can be lengthy at times. I originally went with using a delegate in the...
    4. Really basic help needed with mouse overs
      ok I realise this is really basic stuff and that its probably on flashkit What I want to do is have a a photo that when its hovered over with the...
    5. Cookies--Not Functioning Properly
      Although I have tried setting cookies to "accept all", I occasionally see a message at a web site indicating that cookies must be accepted......
  3. #2

    Default Re: roll overs not functioning properly

    A Library item should not contain javascript function defintions. Those
    should be in the head of the receiving documents.

    Why are you doing all this when a simple image swap would work?

    document.menu_item_1.src=bullet_on.src;MM_preloadI mages('/images/5thWheelOff
    ..gif','/images/5thWheelOn.gif','/images/DirectionsOff.gif','/images/Directio
    nsOn.gif','/images/EmpOff.gif','/images/EmpOn.gif','/images/FamilyOff.gif','

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "Nicole Johnson" <webgoddessNOSPAM@direcway.com> wrote in message
    news:cf4eee$adj$1@forums.macromedia.com...
    > When I test my menu in my design folder on my pc I have rollover bullets
    > that work perfectly. When I tried to apply the script to other pages by
    > creating a library item it's not behaving properly. The bullets stay on
    > once moused over. At first I thought I had document relative links but
    that
    > wasn't it. In addition, both the pages below seem to work on the web
    server
    > but both work very slowly.
    >
    > Any suggestions?
    >
    > Here's a view of the menu working correctly:
    > [url]http://66.165.38.121/DESIGN_3R1/INDEX.htm[/url]
    > Here's one where it's not working on my PC but is on the web server.
    > [url]http://66.165.38.121/index.htm[/url]
    >

    Murray *TMM* Guest

  4. #3

    Default Re: roll overs not functioning properly

    I thought I might have a more efficient way than applying the swap image
    behavior to multiple images to get it to behave properly (using javascript).
    That's what I get for thinkin'

    --
    Nicole
    [email]webgoddess@NOSPAM.direcway.com[/email]
    [url]http://www.glenhavendesigns.com[/url]
    "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    news:cf53gu$qll$1@forums.macromedia.com...
    > A Library item should not contain javascript function defintions. Those
    > should be in the head of the receiving documents.
    >
    > Why are you doing all this when a simple image swap would work?
    >
    >
    document.menu_item_1.src=bullet_on.src;MM_preloadI mages('/images/5thWheelOff
    >
    ..gif','/images/5thWheelOn.gif','/images/DirectionsOff.gif','/images/Directio
    >
    nsOn.gif','/images/EmpOff.gif','/images/EmpOn.gif','/images/FamilyOff.gif','
    >
    > --
    > Murray --- ICQ 71997575
    > Team Macromedia Volunteer for Dreamweaver
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    > [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    > [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    > [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    > [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    > ==================
    >
    > "Nicole Johnson" <webgoddessNOSPAM@direcway.com> wrote in message
    > news:cf4eee$adj$1@forums.macromedia.com...
    > > When I test my menu in my design folder on my pc I have rollover bullets
    > > that work perfectly. When I tried to apply the script to other pages by
    > > creating a library item it's not behaving properly. The bullets stay on
    > > once moused over. At first I thought I had document relative links but
    > that
    > > wasn't it. In addition, both the pages below seem to work on the web
    > server
    > > but both work very slowly.
    > >
    > > Any suggestions?
    > >
    > > Here's a view of the menu working correctly:
    > > [url]http://66.165.38.121/DESIGN_3R1/INDEX.htm[/url]
    > > Here's one where it's not working on my PC but is on the web server.
    > > [url]http://66.165.38.121/index.htm[/url]
    > >
    >
    >

    Nicole Johnson Guest

  5. #4

    Default Re: roll overs not functioning properly.

    Hmm. the library item isn't updating correctly. When I place the menu in a
    html document I receive an error:
    "Cannot copy the "Swap Image" behavior. Use the Behavior Inspector to remove
    it and apply it again.

    Any idea what might be happening?
    --
    Nicole
    [email]webgoddess@NOSPAM.direcway.com[/email]
    [url]http://www.glenhavendesigns.com[/url]
    "Nicole Johnson" <webgoddessNOSPAM@direcway.com> wrote in message
    news:cf5g3p$7bo$1@forums.macromedia.com...
    > I thought I might have a more efficient way than applying the swap image
    > behavior to multiple images to get it to behave properly (using
    javascript).
    > That's what I get for thinkin'
    >
    > --
    > Nicole
    > [email]webgoddess@NOSPAM.direcway.com[/email]
    > [url]http://www.glenhavendesigns.com[/url]
    > "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    > news:cf53gu$qll$1@forums.macromedia.com...
    > > A Library item should not contain javascript function defintions. Those
    > > should be in the head of the receiving documents.
    > >
    > > Why are you doing all this when a simple image swap would work?
    > >
    > >
    >
    document.menu_item_1.src=bullet_on.src;MM_preloadI mages('/images/5thWheelOff
    > >
    >
    ..gif','/images/5thWheelOn.gif','/images/DirectionsOff.gif','/images/Directio
    > >
    >
    nsOn.gif','/images/EmpOff.gif','/images/EmpOn.gif','/images/FamilyOff.gif','
    > >
    > > --
    > > Murray --- ICQ 71997575
    > > Team Macromedia Volunteer for Dreamweaver
    > > (If you *MUST* email me, don't LAUGH when you do so!)
    > > ==================
    > > [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    > > [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    > > [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    > > [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    > > ==================
    > >
    > > "Nicole Johnson" <webgoddessNOSPAM@direcway.com> wrote in message
    > > news:cf4eee$adj$1@forums.macromedia.com...
    > > > When I test my menu in my design folder on my pc I have rollover
    bullets
    > > > that work perfectly. When I tried to apply the script to other pages
    by
    > > > creating a library item it's not behaving properly. The bullets stay
    on
    > > > once moused over. At first I thought I had document relative links
    but
    > > that
    > > > wasn't it. In addition, both the pages below seem to work on the web
    > > server
    > > > but both work very slowly.
    > > >
    > > > Any suggestions?
    > > >
    > > > Here's a view of the menu working correctly:
    > > > [url]http://66.165.38.121/DESIGN_3R1/INDEX.htm[/url]
    > > > Here's one where it's not working on my PC but is on the web server.
    > > > [url]http://66.165.38.121/index.htm[/url]
    > > >
    > >
    > >
    >
    >

    Nicole Johnson Guest

  6. #5

    Default Re: roll overs not functioning properly.

    You have calls to non-MM javascript functions defined within the library
    file.

    Please show me the contents of the *.lbi file....

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "Nicole Johnson" <webgoddessNOSPAM@direcway.com> wrote in message
    news:cf5ho6$8mu$1@forums.macromedia.com...
    > Hmm. the library item isn't updating correctly. When I place the menu in
    a
    > html document I receive an error:
    > "Cannot copy the "Swap Image" behavior. Use the Behavior Inspector to
    remove
    > it and apply it again.
    >
    > Any idea what might be happening?
    > --
    > Nicole
    > [email]webgoddess@NOSPAM.direcway.com[/email]
    > [url]http://www.glenhavendesigns.com[/url]
    > "Nicole Johnson" <webgoddessNOSPAM@direcway.com> wrote in message
    > news:cf5g3p$7bo$1@forums.macromedia.com...
    > > I thought I might have a more efficient way than applying the swap image
    > > behavior to multiple images to get it to behave properly (using
    > javascript).
    > > That's what I get for thinkin'
    > >
    > > --
    > > Nicole
    > > [email]webgoddess@NOSPAM.direcway.com[/email]
    > > [url]http://www.glenhavendesigns.com[/url]
    > > "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    > > news:cf53gu$qll$1@forums.macromedia.com...
    > > > A Library item should not contain javascript function defintions.
    Those
    > > > should be in the head of the receiving documents.
    > > >
    > > > Why are you doing all this when a simple image swap would work?
    > > >
    > > >
    > >
    >
    document.menu_item_1.src=bullet_on.src;MM_preloadI mages('/images/5thWheelOff
    > > >
    > >
    >
    ..gif','/images/5thWheelOn.gif','/images/DirectionsOff.gif','/images/Directio
    > > >
    > >
    >
    nsOn.gif','/images/EmpOff.gif','/images/EmpOn.gif','/images/FamilyOff.gif','
    > > >
    > > > --
    > > > Murray --- ICQ 71997575
    > > > Team Macromedia Volunteer for Dreamweaver
    > > > (If you *MUST* email me, don't LAUGH when you do so!)
    > > > ==================
    > > > [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    > > > [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    > > > [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    > > > [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    > > > ==================
    > > >
    > > > "Nicole Johnson" <webgoddessNOSPAM@direcway.com> wrote in message
    > > > news:cf4eee$adj$1@forums.macromedia.com...
    > > > > When I test my menu in my design folder on my pc I have rollover
    > bullets
    > > > > that work perfectly. When I tried to apply the script to other
    pages
    > by
    > > > > creating a library item it's not behaving properly. The bullets
    stay
    > on
    > > > > once moused over. At first I thought I had document relative links
    > but
    > > > that
    > > > > wasn't it. In addition, both the pages below seem to work on the
    web
    > > > server
    > > > > but both work very slowly.
    > > > >
    > > > > Any suggestions?
    > > > >
    > > > > Here's a view of the menu working correctly:
    > > > > [url]http://66.165.38.121/DESIGN_3R1/INDEX.htm[/url]
    > > > > Here's one where it's not working on my PC but is on the web server.
    > > > > [url]http://66.165.38.121/index.htm[/url]
    > > > >
    > > >
    > > >
    > >
    > >
    >
    >

    Murray *TMM* Guest

  7. #6

    Default Re: roll overs not functioning properly.

    Well, I bailed on the library item idea and just included the menu in the
    template. I also had to make the onload attribute of the body tag editable.

    --
    Nicole
    [email]webgoddess@NOSPAM.direcway.com[/email]
    [url]http://www.glenhavendesigns.com[/url]
    "Nicole Johnson" <webgoddessNOSPAM@direcway.com> wrote in message
    news:cf5ho6$8mu$1@forums.macromedia.com...
    > Hmm. the library item isn't updating correctly. When I place the menu in
    a
    > html document I receive an error:
    > "Cannot copy the "Swap Image" behavior. Use the Behavior Inspector to
    remove
    > it and apply it again.
    >
    > Any idea what might be happening?
    > --
    > Nicole
    > [email]webgoddess@NOSPAM.direcway.com[/email]
    > [url]http://www.glenhavendesigns.com[/url]
    > "Nicole Johnson" <webgoddessNOSPAM@direcway.com> wrote in message
    > news:cf5g3p$7bo$1@forums.macromedia.com...
    > > I thought I might have a more efficient way than applying the swap image
    > > behavior to multiple images to get it to behave properly (using
    > javascript).
    > > That's what I get for thinkin'
    > >
    > > --
    > > Nicole
    > > [email]webgoddess@NOSPAM.direcway.com[/email]
    > > [url]http://www.glenhavendesigns.com[/url]
    > > "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    > > news:cf53gu$qll$1@forums.macromedia.com...
    > > > A Library item should not contain javascript function defintions.
    Those
    > > > should be in the head of the receiving documents.
    > > >
    > > > Why are you doing all this when a simple image swap would work?
    > > >
    > > >
    > >
    >
    document.menu_item_1.src=bullet_on.src;MM_preloadI mages('/images/5thWheelOff
    > > >
    > >
    >
    ..gif','/images/5thWheelOn.gif','/images/DirectionsOff.gif','/images/Directio
    > > >
    > >
    >
    nsOn.gif','/images/EmpOff.gif','/images/EmpOn.gif','/images/FamilyOff.gif','
    > > >
    > > > --
    > > > Murray --- ICQ 71997575
    > > > Team Macromedia Volunteer for Dreamweaver
    > > > (If you *MUST* email me, don't LAUGH when you do so!)
    > > > ==================
    > > > [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    > > > [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    > > > [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    > > > [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    > > > ==================
    > > >
    > > > "Nicole Johnson" <webgoddessNOSPAM@direcway.com> wrote in message
    > > > news:cf4eee$adj$1@forums.macromedia.com...
    > > > > When I test my menu in my design folder on my pc I have rollover
    > bullets
    > > > > that work perfectly. When I tried to apply the script to other
    pages
    > by
    > > > > creating a library item it's not behaving properly. The bullets
    stay
    > on
    > > > > once moused over. At first I thought I had document relative links
    > but
    > > > that
    > > > > wasn't it. In addition, both the pages below seem to work on the
    web
    > > > server
    > > > > but both work very slowly.
    > > > >
    > > > > Any suggestions?
    > > > >
    > > > > Here's a view of the menu working correctly:
    > > > > [url]http://66.165.38.121/DESIGN_3R1/INDEX.htm[/url]
    > > > > Here's one where it's not working on my PC but is on the web server.
    > > > > [url]http://66.165.38.121/index.htm[/url]
    > > > >
    > > >
    > > >
    > >
    > >
    >
    >

    Nicole Johnson Guest

  8. #7

    Default Re: roll overs not functioning properly.

    There really are very few instances where a Library item in a non-editable
    region of the template is a useful thing. It sounds like you have it under
    control now....

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "Nicole Johnson" <webgoddessNOSPAM@direcway.com> wrote in message
    news:cf5kq9$b69$1@forums.macromedia.com...
    > Well, I bailed on the library item idea and just included the menu in the
    > template. I also had to make the onload attribute of the body tag
    editable.
    >
    > --
    > Nicole
    > [email]webgoddess@NOSPAM.direcway.com[/email]
    > [url]http://www.glenhavendesigns.com[/url]
    > "Nicole Johnson" <webgoddessNOSPAM@direcway.com> wrote in message
    > news:cf5ho6$8mu$1@forums.macromedia.com...
    > > Hmm. the library item isn't updating correctly. When I place the menu
    in
    > a
    > > html document I receive an error:
    > > "Cannot copy the "Swap Image" behavior. Use the Behavior Inspector to
    > remove
    > > it and apply it again.
    > >
    > > Any idea what might be happening?
    > > --
    > > Nicole
    > > [email]webgoddess@NOSPAM.direcway.com[/email]
    > > [url]http://www.glenhavendesigns.com[/url]
    > > "Nicole Johnson" <webgoddessNOSPAM@direcway.com> wrote in message
    > > news:cf5g3p$7bo$1@forums.macromedia.com...
    > > > I thought I might have a more efficient way than applying the swap
    image
    > > > behavior to multiple images to get it to behave properly (using
    > > javascript).
    > > > That's what I get for thinkin'
    > > >
    > > > --
    > > > Nicole
    > > > [email]webgoddess@NOSPAM.direcway.com[/email]
    > > > [url]http://www.glenhavendesigns.com[/url]
    > > > "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
    > > > news:cf53gu$qll$1@forums.macromedia.com...
    > > > > A Library item should not contain javascript function defintions.
    > Those
    > > > > should be in the head of the receiving documents.
    > > > >
    > > > > Why are you doing all this when a simple image swap would work?
    > > > >
    > > > >
    > > >
    > >
    >
    document.menu_item_1.src=bullet_on.src;MM_preloadI mages('/images/5thWheelOff
    > > > >
    > > >
    > >
    >
    ..gif','/images/5thWheelOn.gif','/images/DirectionsOff.gif','/images/Directio
    > > > >
    > > >
    > >
    >
    nsOn.gif','/images/EmpOff.gif','/images/EmpOn.gif','/images/FamilyOff.gif','
    > > > >
    > > > > --
    > > > > Murray --- ICQ 71997575
    > > > > Team Macromedia Volunteer for Dreamweaver
    > > > > (If you *MUST* email me, don't LAUGH when you do so!)
    > > > > ==================
    > > > > [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    > > > > [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    > > > > [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    > > > > [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM)
    Technotes
    > > > > ==================
    > > > >
    > > > > "Nicole Johnson" <webgoddessNOSPAM@direcway.com> wrote in message
    > > > > news:cf4eee$adj$1@forums.macromedia.com...
    > > > > > When I test my menu in my design folder on my pc I have rollover
    > > bullets
    > > > > > that work perfectly. When I tried to apply the script to other
    > pages
    > > by
    > > > > > creating a library item it's not behaving properly. The bullets
    > stay
    > > on
    > > > > > once moused over. At first I thought I had document relative
    links
    > > but
    > > > > that
    > > > > > wasn't it. In addition, both the pages below seem to work on the
    > web
    > > > > server
    > > > > > but both work very slowly.
    > > > > >
    > > > > > Any suggestions?
    > > > > >
    > > > > > Here's a view of the menu working correctly:
    > > > > > [url]http://66.165.38.121/DESIGN_3R1/INDEX.htm[/url]
    > > > > > Here's one where it's not working on my PC but is on the web
    server.
    > > > > > [url]http://66.165.38.121/index.htm[/url]
    > > > > >
    > > > >
    > > > >
    > > >
    > > >
    > >
    > >
    >
    >

    Murray *TMM* Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139