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

    error: null is null or not an object

    Hi
    I am having trouble with a script. I cannot figure out why I get the message:
    error: null is null or not an object (In IE8)

    The site is: www.rayburns.com

    I have check the javascript for the navigation bar and for the rotating images and cannot see what is missing. Not sure what is not being called.
    Can someone please help with this.
    Thank you in advance!

  • #2
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,742
    Thanks
    41
    Thanked 191 Times in 190 Posts
    what do you do before this error throws (so i can replicate and watch in debug)

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • #3
    Senior Coder Logic Ali's Avatar
    Join Date
    Sep 2010
    Location
    London
    Posts
    1,028
    Thanks
    0
    Thanked 207 Times in 202 Posts
    Ultimately it traces back to this initialisation:

    Code:
    ddlevelsmenu.setup("ddsidemenubar", "sidebar")
    If your document actually contained an element with ID "ddsidemenubar", then the script might work, but it's not smart enough to alert you about this error. Stay away from DynamicDive.

  • #4
    New to the CF scene
    Join Date
    Jul 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry for not getting back to this issue earlier...

    I still have the problem...
    My code is:

    <script type="text/javascript">
    ddlevelsmenu.setup("ddsidemenubar", "sidebar") //ddlevelsmenu.setup("mainmenuid", "topbar|sidebar")
    </script>
    </div>

    Is there a better "simple" pull down menu recommended?

    Thank you!!!

  • #5
    Senior Coder Logic Ali's Avatar
    Join Date
    Sep 2010
    Location
    London
    Posts
    1,028
    Thanks
    0
    Thanked 207 Times in 202 Posts
    Quote Originally Posted by kristad View Post
    Sorry for not getting back to this issue earlier...

    I still have the problem...
    My code is:

    <script type="text/javascript">
    ddlevelsmenu.setup("ddsidemenubar", "sidebar") //ddlevelsmenu.setup("mainmenuid", "topbar|sidebar")
    </script>
    </div>
    The problem is the same now as it was then; You haven't created an element with ID "ddsidemenubar".


  •  

    Posting Permissions

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