anonīms Posted February 15, 2008 Report Posted February 15, 2008 (edited) Ir kods: <input type="submit" name="ielogoties" value="Ieiet"> Kā izveidot, lai uzspiežot uz noteiktas bildes notiktu šī pati funkcija? Laikam dabuju <input type="image" src="..." name="Submit" value="Submit" /> Tikai kā izveidot, lai nav redzams, ka bilde ir iekšs input? Edited February 15, 2008 by anonīms
Vebers Posted February 15, 2008 Report Posted February 15, 2008 <form id="Forma" action="" method="post"> <img src="path/to/image" alt="image" onclick="document.getElementById('Forma').submit()" /> </form>
marcis Posted February 15, 2008 Report Posted February 15, 2008 <form action="..." method="..."> <input type="submit" value=" " style="background:url(...);width:...;height:...;" /> </form>
Recommended Posts