It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Skip javascript in the href

Skip javascript in the href

Postby diegorrborges on Tue Aug 03, 2010 5:45 pm

Good afternoon, I implemented a photo gallery highslide type and needs
he'd get the name of the photo is dynamically possible? Within the
div got href href = "images/galeria/2_01.JPG" with the image path
only that needed to replace the part of the number value of a form
rather than look like this: href = "images/galeria/2_01.JPG that would
form: href = "images / gallery / (document.myForm.foto.value) _01.JPG" would
some way to pass the javascript inside the href tag or a src
image. Could anyone tell me some way or other. Really only
necessary that the gallery is the gallery highslide because I'm with jquery
incompatibility with some items from my JSF being
developed the page.

My div:

Code: Select all
<div class="highslide-gallery">
                     <a href="images/galeria/2_01.JPG" class="highslide" onclick="return hs.expand(this)">
                     <img src="images/galeria/2_01.JPG" width="278" height="157" alt="Clique para expandir" title="Clique para expandir" border="0" /></a>
                 </div>
                 <div class="highslide-gallery" style="visibility:hidden;">
                     <a href="images/galeria/2_sss02.JPG" class="highslide" onclick="return hs.expand(this)" style="visibility:hidden;">
                     <img src="images/galeria/2_0s2.JPG" width="278" height="157" alt="Clique para expandir" title="Clique para expandir" border="0" style="visibility:hidden;" /></a>
                 </div>


I appreciate everyone's attention.
Diego
diegorrborges
 
Posts: 1
Joined: Tue Aug 03, 2010 5:42 pm

Who is online

Users browsing this forum: No registered users and 4 guests