joomla
asked on
jquery handle on underlying element
I created a gallery slideshow using javascript routines.
I tried to add a button with a script, that would act as a 'pin it' button for the active image on the slideshow.
At the moment, the 'pinit' button appears when I hover over the active, however using my script, I don't know how to get a handle on the image.
Can anyone suggest a solution
Here is a link to the gallery
http://www.lily-g.com.au/index4.php
the pin-it image appears when you hover over the active image.
thanks
I tried to add a button with a script, that would act as a 'pin it' button for the active image on the slideshow.
At the moment, the 'pinit' button appears when I hover over the active, however using my script, I don't know how to get a handle on the image.
Can anyone suggest a solution
Here is a link to the gallery
http://www.lily-g.com.au/index4.php
the pin-it image appears when you hover over the active image.
thanks
ASKER
Hi Gary
thanks for the reponse
I added alert($(".add-image>img"). attr("src" )); but get an 'undefined' msg
PS... any help on 'image opt' glady taken onboard
thanks for the reponse
I added alert($(".add-image>img").
PS... any help on 'image opt' glady taken onboard
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
There are a number of different software programs that will do optimization for the web.
I use Photoshop
http://download.cnet.com/JPEG-Photo-Optimizer-for-Web/3000-2192_4-10965673.html
I use Photoshop
http://download.cnet.com/JPEG-Photo-Optimizer-for-Web/3000-2192_4-10965673.html
ASKER
thank you so much for you excellent answer and your advice re image optimisation
regards
regards
ASKER
Gary,
sorry to pester you, but can you tell me why the script I'm using bombs out in IE (8,9,10)
sorry to pester you, but can you tell me why the script I'm using bombs out in IE (8,9,10)
ASKER
Sorry Gary,
found the issue was with my attempt to open a blank window
we realized that IE does not support a name as second argument.
regards
found the issue was with my attempt to open a blank window
we realized that IE does not support a name as second argument.
regards
You could just use
$(".add-image>img").attr("
p.s.
Research image optimization.