Connecting Tech Pros Worldwide Help | Site Map

add javascript to css image gallery

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 19th, 2006, 03:25 PM
kaizer bo
Guest
 
Posts: n/a
Default add javascript to css image gallery

Hi all,

could someone show me how to add javascript functionality to a css
image gallery? I would like to adapt the gallery at
"http://www.cssplay.co.uk/menu/gallery_click.html" so that when a
thumbnail is clicked the larger image remains selected until another
thumb is clicked.

At the moment when I click a thumbnail the larger image appears, but if
I click anywhere else in the page or adjust my scrollbar the image
disappears.

Thanx.


  #2  
Old July 19th, 2006, 04:25 PM
Jessica
Guest
 
Posts: n/a
Default Re: add javascript to css image gallery

kaizer bo wrote:
Quote:
Hi all,
>
could someone show me how to add javascript functionality to a css
image gallery? I would like to adapt the gallery at
"http://www.cssplay.co.uk/menu/gallery_click.html" so that when a
thumbnail is clicked the larger image remains selected until another
thumb is clicked.
>
At the moment when I click a thumbnail the larger image appears, but if
I click anywhere else in the page or adjust my scrollbar the image
disappears.
>
Thanx.
For info, I'm using FF/WinXP and the image remains in place when
adjusting the scrollbar although it does disappear if I click elsewhere
on the page. However, If I take the focus off FF (i.e. to type this) and
then return to it, hovering over the image, the image disappears.


  #3  
Old July 19th, 2006, 04:35 PM
kaizer bo
Guest
 
Posts: n/a
Default Re: add javascript to css image gallery

I noticed in Firefox it does appear to work fine, but the problem seems
to affect IE.
Jessica wrote:
Quote:
kaizer bo wrote:
Quote:
Hi all,

could someone show me how to add javascript functionality to a css
image gallery? I would like to adapt the gallery at
"http://www.cssplay.co.uk/menu/gallery_click.html" so that when a
thumbnail is clicked the larger image remains selected until another
thumb is clicked.

At the moment when I click a thumbnail the larger image appears, but if
I click anywhere else in the page or adjust my scrollbar the image
disappears.

Thanx.
>
For info, I'm using FF/WinXP and the image remains in place when
adjusting the scrollbar although it does disappear if I click elsewhere
on the page. However, If I take the focus off FF (i.e. to type this) and
then return to it, hovering over the image, the image disappears.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.