Go Back   CodingForums.com > :: Client side development > HTML & CSS

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 05-30-2012, 05:23 PM   PM User | #1
e-sha
New to the CF scene

 
Join Date: May 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
e-sha is an unknown quantity at this point
Question gallery help

I am trying to make a portfolio gallery, this is my code/css and it works, but when implimented you have to click and hold to view the larger image, I would like it to click and stay untill I click somewhere else. any ideas?

Code:
<a class="gallery slides" href="#nogo"> 
<span> 
<img src="gallery/misc/M1large.png" alt="htmlsite1" title="Arts and crafts" />   
</span> 
</a>
Code:
#imgallery a.slides { 
		background:url(gallery/misc/M1small.png); 
		height:100px; 
		width:150px;
		margin:10px 5px 10px -1px;
e-sha is offline   Reply With Quote
Old 05-30-2012, 05:26 PM   PM User | #2
chrisf
New Coder

 
Join Date: Mar 2012
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
chrisf is an unknown quantity at this point
Search jquery light boxes on Google and see if that helps you.
chrisf is offline   Reply With Quote
Old 05-30-2012, 05:30 PM   PM User | #3
e-sha
New to the CF scene

 
Join Date: May 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
e-sha is an unknown quantity at this point
ya, Its for an assignment, Html and Css only. no java. no nothing else/ But thank you!
e-sha is offline   Reply With Quote
Old 05-30-2012, 05:32 PM   PM User | #4
chrisf
New Coder

 
Join Date: Mar 2012
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
chrisf is an unknown quantity at this point
Are you trying to make the image appear like a pop up?
chrisf is offline   Reply With Quote
Old 05-30-2012, 05:37 PM   PM User | #5
e-sha
New to the CF scene

 
Join Date: May 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
e-sha is an unknown quantity at this point
nope, Its in a gallery type thing looks like this when nothing is active


but when i click and hold the img i clicked on showes up in full


I want it to click and stay, I dont want to have to hold it.
e-sha 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 12:25 AM.


Advertisement
Log in to turn off these ads.