WordPress.org

Forums

How to have a nav bar for a jQuery plug in (7 posts)

  1. rook
    Member
    Posted 2 years ago #

    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

  2. Andrew
    Forum moderator & snail smusher
    Posted 2 years ago #

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

    Sorry, can you re-explain this.

  3. rook
    Member
    Posted 2 years ago #

    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???

  4. Andrew
    Forum moderator & snail smusher
    Posted 2 years ago #

    Is your browser's console throwing any errors?

  5. rook
    Member
    Posted 2 years ago #

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

  6. Andrew
    Forum moderator & snail smusher
    Posted 2 years ago #

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

  7. rook
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic