Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

revove numeric pagination from jquery image gallery

Posted on 2010-08-15
1
Medium Priority
?
770 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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 …
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
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…
Suggested Courses

972 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