I'm trying to make something like that: https://www.easybring.com/#registration
as you can see, "registration" is in a jquery dialog, which can be opened by clicking on regiser button inside the website. Until now i'm good:
<a onClick="showDialog({$product['id']});">More Info </a>
My Head contains:
function showDialog(productID){
$( "#dialog-modal_"+productID ).dialog({
width: 770,
height: 590,
modal: true,
open: function(event, ui){
}
});
}
And of course i have the div:
<div id="dialog-modal_{$product['id']}" style="display: none;">
<iframe src="index.php?act=showProduct&id={$product['id']}" width="100%" height="100%" frameborder="0" scrolling="no"></iframe>
</div>
But what I want to do, is to call that jquery specific dialog, by website url: #registration.
How can i do it?
Thanks a lot!