Get help. Give help. A Web Design and Development Community.

javascript:void(null); – What is this?

  • # January 23, 2010 at 2:17 am


    I get this message in the status bar of firefox when I rollover the buttons of a small testimonials slider I’m trying to make on this webpage:

    I’ve no idea what this means or how to fix it.

    Can anyone help?



    # January 23, 2010 at 6:35 am

    This reply has been reported for inappropriate content.

    Lovely design of site by the way.

    From what I can see, the "href" property of the buttons is set to run "javascript:void(null);"

    It appears you are using a plugin to create the tabbed buttons, as in the source code of tabber.js there is the line

    DOM_a.href = “javascript:void(null);”;

    Therefore I assume that it is needed for the script to work. It might just be the way the coder has chosen to stop the page from reloading when you click a number

    # January 23, 2010 at 12:26 pm

    Thanks very much Mark for your help, and also for your kind comments on the design of the site.
    I guess I really just needed to be reassured when I saw the notice in the status bar of Firefox, that the script would actually still work.


Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

We have a pretty good* newsletter.