Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old July 1st, 2009, 03:46 AM
Erik Lodin Erik Lodin is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 16 Erik Lodin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 19 m 50 sec
Reputation Power: 0
Cool Javascript - Floating image over thumbnail gallery

Hi!

I've been searching around the web for a way to display images from a gallery in the same window as the thumbnail gallery (in front of the thumbnails).
The thumbnail gallery should be visible (faint) underneath the image.
The "pop-up window" holding the image should also have buttons for next image, previous image and close.

I've seen this effect becoming popular on the web but haven't seen any tutorials anywhere...

Can this be done with PHP or Javascript?
Could it be solved using CSS?

/clueless
__________________
I'm me, but I'm trying hard to be better.

Reply With Quote
  #2  
Old July 1st, 2009, 05:35 AM
Winters Winters is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Jun 2009
Posts: 65 Winters User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 25 m 21 sec
Reputation Power: 1
This would require a Javascript and CSS solution. Many people use a framework, such as huddletogether.com/projects/lightbox2/. There are various frameworks with different functionalities; prototype, mootools, script.aculo.us, etc.

You can of course write this script yourself. If you make a start on it and show that you have put some effort in, I will be happy to help you complete it if you get stuck.

Reply With Quote
  #3  
Old July 1st, 2009, 07:53 AM
Erik Lodin Erik Lodin is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 16 Erik Lodin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 19 m 50 sec
Reputation Power: 0
Quote:
Originally Posted by Winters
This would require a Javascript and CSS solution. Many people use a framework, such as huddletogether.com/projects/lightbox2/. There are various frameworks with different functionalities; prototype, mootools, script.aculo.us, etc.

You can of course write this script yourself. If you make a start on it and show that you have put some effort in, I will be happy to help you complete it if you get stuck.


Thanks!

I was afraid of that, Javascript is not my strong suit and I really like doing things on my own. :-P
Lightbox2 is pretty much exactly what I want to do (myself).

I'll see what I can come up with. At least now I know where to begin. Thanks again.

/Erik

PS. If there are any tutorials out there doing something similar, I am very interested.

Last edited by Erik Lodin : July 1st, 2009 at 07:55 AM.

Reply With Quote
  #4  
Old July 1st, 2009, 08:28 AM
Winters Winters is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Jun 2009
Posts: 65 Winters User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 25 m 21 sec
Reputation Power: 1
When it comes down to it, the basics of lightbox are very simple. The script is large and complex however because it uses other frameworks and is designed to be very flexible. You on the other hand only need your script to perform a specific role.

I would recommend looking at lightbox's source code for some insight, then consider what it is you are trying to accomplish: Hide an object, display it under certain conditions and have a transitional effect.

Hide and show is easy; that is CSS. Motion and animation are slightly more complex. I can't create a signature on these forums yet(not a high enough post count), so follow this link(forums.devshed.com/member.php?u=31604) to our sister site and check out some of the links in my signature there.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Javascript - Floating image over thumbnail gallery


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 11 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek