Results 1 to 2 of 2

Thread: Dynamic Drive Smooth menu "error" in IE

  1. #1
    Join Date
    Mar 2010
    Location
    England
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Dynamic Drive Smooth menu "error" in IE

    1) Script Title: Smooth Navigational Menu (v1.4)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...smoothmenu.htm

    http://romanarmy.net/NewMenu.htm
    contains main html / Javascript call
    http://romanarmy.net/smoothmenu1.htm
    contains the <ul><li> etc for the smoothmenu

    3) Describe problem: Firstly "Smooth Menu" looks fantastic. Congratulations to whoever thought it up! Can't say that I'm all that comfortable with Javascript .. so I much admire the work that has gone into this!

    I'm not entirely sure that I have a problem or if this is something to do with IE8?
    The smooth menu appears ok, the drop downs work as does the navigation. However once I have clicked on a link in the smooth menu and have been directed to the new page I get the error ..

    "Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB6; (R1 1.6); .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; MSN OptimizedIE8;ENUS)
    Timestamp: Tue, 23 Mar 2010 22:33:31 UTC
    Message: Object expected
    Line: 137
    Char: 1
    Code: 0
    URI: http://www.romanarmy.net/artillery.htm"

    ... once I have transferred to the new page!

    Basically I am in the process of redesigning the menus for this site. I really like the idea of having one external file containing all the links rather than having it hard coded in a template! So far I have only tried the smooth menu on a few pages, but each one appears to generate this error on the destination. Note : I do not appear to get this error in Chrome or Mozilla.

    I would be very grateful for any help in this!

    Mike

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,994
    Thanks
    43
    Thanked 3,198 Times in 3,160 Posts
    Blog Entries
    12

    Default

    The menu seems to work just fine. There is an error on line 137 of artillery.htm though. On artillery.htm, get rid of the highlighted from your body tag:

    Code:
    <body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="#ffffff" onLoad="MM_preloadImages('Buttons/top%20button_r2_c2_f3.gif','Buttons/top%20button_r2_c2_f2.gif')">
    MM_preloadImages is undefined.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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