Forums | MacLife

You are not logged in.

#1 2003-02-08 6:15 pm

Gipetto
Yankee Doodle's noodle
Royal Wombat
From: People! Ahg!!
Registered: 2000-09-24
Posts: 9937
Website

window.open page dimensions with Safari

Does anybody else notice a problem with it?

The page I'm doing does not open the new window to the correct size and I'm not sure why.

I could easily put in a browser conditional statemant that resizes safari users windows once the page loads, but since it's the main window I'd hate to run that each time a new page is loaded - it's a small site so all of the pages link to each other and from the main page.

I don't have the same problem with my personal site, and I think it's because I used a different script (a built in "window slide" in GoLive) that centers the window. I've noticed that it's code is significantly different than from the standard window sizing code so that might be why (it almost looks to repeat itself, but it's beyond my hand coding abilities) and also because I use frames on the main window that reinforces the window size.

Thanks

Shawn


So, just when did this place get Private Messages? YIKES!

Gippy Pages  |  Fuzzy Coconut XHTML Widget | PuppyCam

Offline

 

#2 2003-02-08 7:26 pm

Daniel
[dp] design#
From: Indian Harbour Beach, FL
Registered: 2000-11-21
Posts: 9213
Website

Re: window.open page dimensions with Safari

Safari has a lot of JavaScript problems.  Whatever's wrong is probably not your fault.


Airman Dan
Private Pilot, Airplane Single-Engine Land
http://homepage.mac.com/dp.design/.Pictures/maf/crosssig.gif
ONE NATION WITH LIBERTY AND JUSTICE FOR ALL.

Offline

 

#3 2003-02-08 9:55 pm

the dave
Member
From: the chamber
Registered: 2001-03-27
Posts: 1002
Website

Re: window.open page dimensions with Safari

I have also had probelms with that.  Im not going to redo any of my stuff to jive with a beta release browser, I'll wait till 1.0 to freak out.

Offline

 

#4 2003-02-09 1:27 am

Gipetto
Yankee Doodle's noodle
Royal Wombat
From: People! Ahg!!
Registered: 2000-09-24
Posts: 9937
Website

Re: window.open page dimensions with Safari

Whew!

Thanks guys.

Speaking of bugs - I get it to open the window, it's the wrong size, but also the entire window is white - but all the code shows up when I request the page source. Every other browser is fine, this is just Safari.
Thpt! confused

Ah, beta software is so much fun.


So, just when did this place get Private Messages? YIKES!

Gippy Pages  |  Fuzzy Coconut XHTML Widget | PuppyCam

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson