Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-03-2006, 04:03 PM   PM User | #1
Kirl
Regular Coder

 
Join Date: Jan 2006
Posts: 243
Thanks: 14
Thanked 2 Times in 2 Posts
Kirl is on a distinguished road
Simple gallery script

Hi,

I have a simple HTML gallery on my site (here), when you click a thumbnail it opens a new window from where you can browse through the pictures using a right/left arrow. As it is all html, it is completely static and when I want to move thumbnails around I have to make sure the arrows in all the adjacent view windows still point to the correct picture (corresponding with the thumbnail left or right of it).

I want to make this a bit more felxible so I can easily switch their order while the arrows always point to the picture left or right of it.

I want to try to solve this with Javascript, but I'm sure there are multiple solutions to this problem, as my gallery mechanics aren't exactly revolutionairy. Any help, previous experience or ideas are very welcome.

The code isn't yet a problem, for now it's mostly the way in how to best aproach this.
Kirl is offline   Reply With Quote
Old 11-03-2006, 08:31 PM   PM User | #2
ess
Regular Coder

 
Join Date: Oct 2006
Location: United Kingdom
Posts: 865
Thanks: 7
Thanked 29 Times in 28 Posts
ess will become famous soon enough
Looks very nice already..

You mentioned that you use plain html to create the thumb nails etc.

Since your website is hosted on Apache/2.0.51 (Fedora) (ServerSpy plugin firefox ), you should have PHP installed. Here is a FolderGallery project by Joonas Viljanen that I think would be of interest to you.

Cheers,
ess is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:29 PM.


Advertisement
Log in to turn off these ads.