Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

revove numeric pagination from jquery image gallery

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

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

PROBLEM: The other day I was working on adding an ajax request to a webpage that already had a dialog box on the page.  The dialog box was using relative positioning to be positioned next to a form field I had on the page.  Everything was working…
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 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…

705 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