WordPress.org

Support

Support » How-To and Troubleshooting » How to have a nav bar for a jQuery plug in

How to have a nav bar for a jQuery plug in

  • rook
    Member

    @rookandamosymailcom

    Hello all, I have installed a jquery plugin called wowbook on my site, but when trying to add a navigation menu above my booklet, its instead linking to the navs in the style.css, is there anyway to stop this from happening and make it call from the plugins css.

    here is a link to the page: http://harrybuild.rookandamosdesign.co.uk/drawings/prints/#mybook/2

    any help is very much appreciated.

    all the best

    Harry

Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrew Nevins
    Forum moderator

    @anevins

    its instead linking to the navs in the style.css,

    Sorry, can you re-explain this.

    rook
    Member

    @rookandamosymailcom

    sorry, I put the jquery in the header like so:

    ‘jQuery(“#mybook”).wowBook({
    controls : {
    next : ‘#next’, // goto next page
    back : ‘#back’, // back page
    first : ‘#first’, // goto first page
    last : ‘#last’, // goto last page
    zoomIn : ‘#zoomIn’, // zoom in
    zoomOut : ‘#zoomOut’, // zoom out
    slideShow : ‘#slideShow’ // starts/stop slideshow’

    Then I have tried to create the sections on my actual page like this:

    ‘<nav>

    </nav>’
    But when I do this and inspect element all the nav links point to ‘#content nav a’ and when i click on them nothing happens???

    Andrew Nevins
    Forum moderator

    @anevins

    Is your browser’s console throwing any errors?

    rook
    Member

    @rookandamosymailcom

    yeah one, a 404 about not being able to find a page flip sound file (which i dont want anyway). Could this effect things?

    Andrew Nevins
    Forum moderator

    @anevins

    It could, but what is the WoW plugin supposed to do? I don’t think this is a WordPress issue.

    rook
    Member

    @rookandamosymailcom

    its a jquery plugin, not deisgned for wordpress, but i am using it with wordpress. By calling the plugin components in the head.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to have a nav bar for a jQuery plug in’ is closed to new replies.