Now I have a website that someone made for me, and, unfortunately, I'm stuck. I understand a little, but remain a complete beginner. I have snapshots that I want for the popup, but when I set the height and width to βautoβ, is the box at the bottom of the page?
I need it to automatically center when resized.
Please help me recreate my code, anyone? Thanks.
<script type="text/javascript"> function openDialog(url) { $("<div class='popupDialog'></div>").load(url) .dialog({ autoOpen: true, closeOnEscape: true, height: '1012', modal: true, position: ['center', 'center'], title: 'About Ricky', width: 690 }).bind('dialogclose', function() { jdialog.dialog('destroy'); }); } </script>
Ricky source share