|
#1
|
||||
|
||||
|
1) Script Title: CSS Image Gallery
2) Script URL (on DD): http://www.dynamicdrive.com/style/cs...gallery/#thumb 3) Describe problem: Not a problem YET per se, just curious as to whether or not this could be implemented in such a way that each larger image and description would stay put once the thumbnail is clicked. Is it possible to make it so that once someone clicks the thumbnail the enlarged <span> containing the larger image and description would stay in place until another thumbnail was hovered over? Just curious. Thanks.
__________________
-------------------------------------------------- Reviews, Interviews, Tutorials, and STUFF-------------------------------------------------- Home of the SexyBookmarks WordPress plugin
|
|
#2
|
||||
|
||||
|
Apparently, there's no easy way to do this via CSS alone, but with JS, might be possible.
See post # 4 for possibility.
__________________
Useful Links: [ FireFox3||HTML Validation||CSS Validation||Hate Tables?||Doctypes||HTML 4.01 Spec||CSS 2.1 Spec||CSS3 Info ] Useless Links: [ FashionStyleBlog||LaFontana||Bamboo Clothing||My Twitter ] Last edited by rangana; 08-08-2008 at 02:19 AM. |
| The Following User Says Thank You to rangana For This Useful Post: | ||
TheJoshMan (08-08-2008) | ||
|
#3
|
||||
|
||||
|
Oops! I guess I thanked too soon! LOL
Yes, I was quite expecting it to have to be done via javascript... I just wasn't quite sure how or IF it was actually possible.
__________________
-------------------------------------------------- Reviews, Interviews, Tutorials, and STUFF-------------------------------------------------- Home of the SexyBookmarks WordPress plugin
|
|
#4
|
||||
|
||||
|
How about giving me a chance to give you these steps:
See the mess.
__________________
Useful Links: [ FireFox3||HTML Validation||CSS Validation||Hate Tables?||Doctypes||HTML 4.01 Spec||CSS 2.1 Spec||CSS3 Info ] Useless Links: [ FashionStyleBlog||LaFontana||Bamboo Clothing||My Twitter ] |
| The Following User Says Thank You to rangana For This Useful Post: | ||
TheJoshMan (08-08-2008) | ||
|
#5
|
||||
|
||||
|
muy bueno senor... Very much appreciated. Works like a charm. Thank you very much.
__________________
-------------------------------------------------- Reviews, Interviews, Tutorials, and STUFF-------------------------------------------------- Home of the SexyBookmarks WordPress plugin
|
|
#6
|
|||
|
|||
|
This has helped, but need to change it back to the default when mouse-out or mouse-off.
Code:
If this was the contact us page then the default image would be ; <div id="hold"><img src="img/contactus.jpg" /><br />Contact us.</div> You mouse-over to see other images when you mouse-out it resets to the default image. a[i].onmouseout=function(){Is there a method to show the default image of that page? Edit: Solved with javascript; == function showIt(imgsrc){ document.getElementById('imgshow').src=imgsrc; } function hideIt(){ document.getElementById('imgshow').src="images/contact.jpg"; } == Thanks, cheers. Last edited by student101; 11-10-2008 at 11:25 AM. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|