View Full Version : Safari Windows Browser No Scrollbars?

12-27-2010, 09:57 PM
I can't seem to get any scrollbars on my Safari Windows Browser to display. I've tried removing my image height and width parameters but it doesn't make any difference.

I'm trying to popup a window and when the image is larger than the window, I want to be able to use the scrollbars to see the image.

My javascript code (pretty standard I think):

function popup_window(url,w,h)
var width=w;
var height=h;
var from_top=10;
var from_left=10;
var toolbar='no';
var location='no';
var directories='no';
var status='no';
var menubar='no';
var scrollbars='yes';
var resizable='yes';
var atts='width='+width+'show,height='+height+',top='+from_top+',screenY=';
atts+= from_top+',left='+from_left+',screenX='+from_left+',toolbar='+toolbar;

My calling PHP code as a link on the thumbnail image to be clicked on to popup the window:

<A HREF="https://www.mysite.com/<?php echo $php_photo_filename?>" onClick="return popup_window('https://www.mysite.com/<?php echo $php_photo_filename?>', <?php echo $php_popup_width?>, <?php echo $php_popup_height?>)"><IMG SRC="<?php echo $php_small_photo_filename?>" WIDTH="<?php echo $php_small_width?>" HEIGHT="<?php echo $php_small_height?>" BORDER="1"></A>

Thanks for any help...