Solved

revove numeric pagination from jquery image gallery

Posted on 2010-08-15
1
766 Views
Last Modified: 2012-05-10
I need to remove the numbers from the pagination navigation on this image gallery:

http://nathanbweb.host22.com/try/gallerific/example-2.html

so that above the thumbnails it says only "previous" and "next" and not "1-2"

either by putting the right JS somewhere in here:

http://nathanbweb.host22.com/try/gallerific/js/jquery.galleriffic.js

or by getting this jQuery function to work (it's not):

$(".pagination a:contains(2)").css("display", "none");

Thanks,
0
Comment
Question by:nbierm65
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
nbierm65 earned 0 total points
ID: 33441656
OK, I found it, on lines 808-831, and commented them out:


...


				// Create First Page link if needed
				//if (pageNum > 0) {
				//	this.buildPageLink(pager, 0, numPages);
				//	if (pageNum > 1)
				//		pager.append('<span class="ellipsis">&hellip;</span>');
				//	
				//	pagesRemaining--;
				//}

				// Page Index Links
				// while (pagesRemaining > 0) {
				//	this.buildPageLink(pager, pageNum, numPages);
				//	pagesRemaining--;
				//	pageNum++;
				// }

				// Create Last Page link if needed
				// if (pageNum < numPages) {
				//	var lastPageNum = numPages - 1;
				//	if (pageNum < lastPageNum)
				//		pager.append('<span class="ellipsis">&hellip;</span>');

				//	this.buildPageLink(pager, lastPageNum, numPages);
				//}

...

Open in new window

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adding 1 the value of input "text" every 3 seconds 5 33
Table style position to the left 8 26
Read text on Table 7 29
Make Float not to Wrap 7 15
In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question