Solved

revove numeric pagination from jquery image gallery

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

757 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

20 Experts available now in Live!

Get 1:1 Help Now