Solved

revove numeric pagination from jquery image gallery

Posted on 2010-08-15
1
763 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
This article discusses how to create an extensible mechanism for linked drop downs.
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)

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now