Popup is working now, i added this code to product browsepage:
<script language="javascript" type="text/javascript">
<!--
var newwindow;
function poptastic(url)
{
newwindow=window.open(url,'name','height=600,width=850,top=120,scrollbars=yes,');
if (window.focus) {newwindow.focus()}
}
// -->
</script>
<a href="javascript:poptastic('<?php echo $product_url ?>');">Pop up</a>
Now popup show web site which i write in product url. How to put cart button, price and product name to my popup window? Thanx
-----------------
Also can't make it to work with lightbox. tried to use joomla lightbox with class="modal">, but lightbox can't show virtuemarts <?php echo $product_url ?>.