Skip navigation
Currently Being Moderated

Spry Vertical Menu looks fine on index page, not working on other page

Apr 30, 2012 12:38 PM

Tags: #dreamweaver_cs5 #spry_menu

Please help. I have Dreamweaver CS5.

 

I put a Spry Vertical Menu Bar on http://www.dianaoboe.com/index.html  It looks and behaves the way I want. Then I copied/pasted it to http://dianaoboe.com/contact.html and it is not looking the same.

 

I have not yet tried putting it on other pages until I've got both of these working.

 

What's happening??

 

Laurie

 
Replies
  • Currently Being Moderated
    May 1, 2012 6:59 AM   in reply to dunnyesterday

    You have not included the code that initialises the menubar (constructor) in the offending document. Place the following near the bottom of the page as per the document that does work.

    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});

    Gramps

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points