how to disable the lightbox to close after clicking on a submit button?
Posted
by Mahmoud
on Stack Overflow
See other posts from Stack Overflow
or by Mahmoud
Published on 2010-05-28T00:33:12Z
Indexed on
2010/05/28
1:31 UTC
Read the original article
Hit count: 374
Hey there
i have a lightbox that contains a button images where once the user/visitor clicks on that images its adds the item into cart.
what i am trying to do is that once the button is clicked it adds the item without close the ifram is it possible
i am using http://www.huddletogether.com/projects/lightbox2/
the cart that i used is http://conceptlogic.com/jcart/
code used:
echo"<div class='virtualpage hidepiece'><a href='gal/".$row['pro_image']."' rel='lightbox[roadtrip]' title='<form class="jcart" method="post">
<input type="hidden" name="id" value="".$row['pro_num']."" />
<input type="hidden" name="name" value="".$row['pro_name']."" />
<input type="hidden" name="price" value="".$row['pro_price']."" />
<input type="hidden"name="qty" size = "1" value="1" />
<br />
<input type="image" value="Submit" name="addto" src = "images/add.png" />
</form> ".$row['pro_name']." : ".$row['pro_mini_des']."' style='color:#000'><img title = ' ' src='thumb/".$row['pro_thumb']."' />
</a></div> ";
© Stack Overflow or respective owner