WordPress.org

Ready to get started?Download WordPress

Forums

WP Photo Album Plus
Jump to a Slide Number? Slide Number Search? (8 posts)

  1. knappen
    Member
    Posted 2 years ago #

    Hello!

    Is there a way to jump to a slide number within the slide show?

    Thanks!

    http://wordpress.org/extend/plugins/wp-photo-album-plus/

  2. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 2 years ago #

    Try the Numbar
    Check in Photo Albums -> Settings admin page Table II item 23 and Save Changes

  3. knappen
    Member
    Posted 2 years ago #

    Thank youu for posting! However, there are so many slides in this album that I am looking for a box where you can type a slide number and jump to it. Is there a way to do this?

  4. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 2 years ago #

    No. I could enhance the numberbar so that it displays only, say 20 boxes and a << for previous 20 and >> for next 20, would that be a solution to you?

  5. knappen
    Member
    Posted 2 years ago #

    This wouldn't work for my purpose but it would make things easier. I have a catalog of over a hundred pages. I've made them all pages into high res jpegs and numbered them so they can be viewed sequentially. Ideally I would like to be able to "jump pages" and go directly to the "page" I am after.

  6. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 2 years ago #

    I will think about it and put it on the wishlist

  7. knappen
    Member
    Posted 2 years ago #

    Thanks!

  8. Jacob N. Breetvelt
    Member
    Plugin Author

    Posted 2 years ago #

    I have the following solution for you:

    1. Check the box in Table II item 21: Show Custom box.

    2. Put the following code in item 22 textbox:

    <div style="text-align:center;" >
    	Enter photo number:
    	<input style="width:50px; margin:0 4px;" onchange="wppaDirectAccessSlide(this)" />
    	and click anywhere outside the editbox
    </div>
    <script type="text/javascript">
    /* <![CDATA[ */
    function wppaDirectAccessSlide(elem) {
    	if ( _wppaSlideShowRuns[1] ) {
    		wppaStartStop(1, 0)
    	}
    	var slideRequested = elem.value;
    	var index = parseInt(slideRequested) - 1;
    	var count = _wppaSlides[1].length;
    	var warTxt = 'Please enter a valid photo number';
    	if (index >= 0) {
    		if (index < count) {
    			wppaGoto(1, index);
    		}
    		else {
    			alert(warTxt);
    		}
    	}
    	else {
    		alert(warTxt);
    	}
    }
    /* ]]> */
    </script>

    Try it (and change it if you like)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic