View Single Post
  #153  
Old 09-15-2005, 02:32 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Set the initial resize vars, w and h to the size you want of the window instead of screen.height or screen.width.

I beleive this should do the trick.

You can remove the
Code:
newWidth=screen.height; newHeight=screen.height; if(newHeight>=screen.height) { newHeight=screen.height-30; } if(newWidth>=screen.width) { newWidth=screen.width; }

Segments of code in the forward and backward function calls as well as they won't be needed anymore.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote