473,406 Members | 2,220 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Multiple galleries on single page

irfanmodan
Hello Everybody

I've scoured the web for help on this. I've seen several people asking the
same question, but never an answer.

I would like to have multiple galleries on a single page. For example, 40
thumbnails, with 3 images showing up in the gallery. The only way I know
how to do this is by copy/paste the current REL=EXAMPLE_GROUP code and
making it REL=EXAMPLE_GROUP2, for example.

I'll probably switch to lightbox if I can't get it figured out. But any
help would be much appreciated!!


------------

<script type="text/javascript">
$(document).ready(function() {

$("a[rel=example_group]").fancybox({
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'titlePosition' : 'outside',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) +
' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') +
'</span>';
}
});

});
</script>

<div id="content">
<a rel="example_group"
href="http://farm5.static.flickr.com/4061/4259390534_3e6c926504.jpg"
title="Client Name">Set One</a>
<a rel="example_group"
href="http://farm3.static.flickr.com/2561/4048285842_90b7e9f8d1.jpg"
title="Client Name"></a>
<a rel="example_group"
href="http://farm3.static.flickr.com/2641/4163443812_df0b200930.jpg"
title="Client Name"></a>


<a rel="example_group"
href="http://farm3.static.flickr.com/2591/4135665747_3091966c91.jpg"
title="Client Name">Set Two</a>
<a rel="example_group"
href="http://farm3.static.flickr.com/2561/4048285842_90b7e9f8d1.jpg"
title="Client Name"></a>
<a rel="example_group"
href="http://farm3.static.flickr.com/2591/4135665747_3091966c91.jpg"
title="Client Name"></a>
</div>

Please Reply me asap
Sep 7 '11 #1
0 1063

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: iMedia User | last post by:
I have a site where I want to use the Web form validators in two separate forms on a single page. One form allows existing users to log in while the second one allows new users to register. The...
4
by: Adrijan Josic | last post by:
I have this idea, I need to know if it is possible and how. Let's say you have a content managed site with all its structure and content - everything in a relational database And a "blank" page...
3
by: Ben Fidge | last post by:
Is is possible to make just a single page within an ASP.NET application use SSL? I've written an e-commerce application and want to make just the checkout page use SSL for secure transmission. ...
2
by: Keith Patrick | last post by:
I have a web app that consists of a single page. It works a lot like starter kit examples of menu/content apps, and it has a sitemap associated with it. However, my app doesn't go from page to...
3
by: arteezan | last post by:
Mabuhay! I'm new in PHP and i want to create a single PHP page where the links are linked to contents within that single page. can anyone please help me with this? thanks in advance to anyone who...
3
by: google | last post by:
Hi I'm looking for some advice, so if anyone wants to contribute I would be grateful. I'm trying to create a web application. By application I mean something that is like a Windows...
1
by: Andrew Burton | last post by:
I'm poking at a small "single page application" (SPA), ala TiddlyWiki, to act as kind of a local, single-user version of Twitter (no real application, except to familiarize myself with JavaScript)....
2
by: thomson | last post by:
Hi All, i have a user control with a textbox, required vield validator and a Button Control , I have placed the usercontrol three times on a single page, when i run this, if i click a single...
1
by: dan | last post by:
Hi, I think I need a gridview, formview, another gridview, and another formview on a single page. There is a parent-child relationship between the first gridview and the formview and then...
8
pradeepjain
by: pradeepjain | last post by:
hii guys, i am working on a site where in guests can say whether the answer / review was useful for them ... there will be many review / answers in a single page .. so how to go on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.