anyone know how i can enable this feature? thru lightbox perhaps or? wanting a popup when someone comes to my website. i have an image that's 447x585. thanks.. drew
You could use Fancybox and then create an invisible anchor for your image with all options etc. like you would normally do (just see Fancybox docs) Then just add the following code to your page <script type="text/javascript"> $(document).ready(function() { $("#hidden_link").fancybox().trigger('click'); }); </script> HTML:
<script language="JavaScript"> function pop() { pop1(); } function pop1(){ var W1 = window.open('DREW68 - PUT YOUR WEBSITE LINK HERE','Popup1',"toolbar=no,status=no,location=yes, directories=no,menubar=no,scrollbars=yes,resizable=yes,width=160,height=160"); W1.focus(); W1.moveTo(50,150); } </script> Code (markup): In between the <body> tags you'll need something that executes the javascript above. This will do the trick: <body onload="pop()" > Code (markup):