Jump to content

Questions about jQuery booklet plugin

- - - - -

  • Please log in to reply
2 replies to this topic

#1
Xdawn90

Xdawn90

    Learning Programmer

  • Members
  • PipPipPip
  • 55 posts
Hi,

Do anyone here know of this plugin or have used it before ? I have a home.php and contact.php. When I click on the contact button in home page, i would like the booklet in contact.php to directly go to the contact information page in the booklet. Any help will much appreciated.

Booklet - jQuery Plugin

Thank you.

#2
BlaineSch

BlaineSch

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,448 posts
I just glanced it over, but I believe you'll need to load all the content, and simply turn the "page" to that content.

[FONT=monospace]<script type="text/javascript" rel="javascript">
    $(document).ready(function() {
        $('#home').bind('click', function() {
            $("#mybook").booklet(0);
        });
        $('#contact').bind('click', function() {
            $("#mybook").booklet(1);
        });
    });
<script>
<a href="#" id="home" title="Go Home">Home</a>
<a href="#" id="contact" title="Contact Me">Contact</a>
<div id="mybook">
    <div class="b-load">
        <div> 
            <h3>This is the homepage</h3>
        </div>
        <div> 
            <h3>This is the contact page</h3>
        </div>
    </div>
</div>[/FONT]

Note this is not tested and just pulled from a examples off the site.

#3
Xdawn90

Xdawn90

    Learning Programmer

  • Members
  • PipPipPip
  • 55 posts
I have a group of anchor links in both home.php and contact.php. Those links are similar. The only difference is that links in home.php will link to contact.php and meanwhile turn the "page" of the booklet to specific page related to the link. While for the links in contact.php, they will not need to link to any other web pages but just turn the "page" of the booklet.

Do you have any efficient and dynamic idea of achieving this ?

Thanks for the help.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users