window.open

F

FastFede

Hi, I need an help please.

I open a new window with javascript using
nomefinestra=window.open(.....);

Insert then HTML code with
nomefinestra.document.write('......');

Then I close the document
nomefinestra.document.close();

But I rise this:
IE fast connection, all right.
NN, Mozilla, Opera fast connection, all right but the hourglass remains.
Slow connection (anolgue) window opens but remain empty.

Can you help me to understan where i make the mistake? Thanks

The page that calls javascript is:
http://www.out-cast.org/htm/dipalmaIT.htm
And the code is in:
http://www.out-cast.org/htm/winopen.js
 
J

Jan Gregor

I did something similiar ...
Hourglass probably means that browser waits for another html code -
guess that browsers simply don't trust </html> as end of page.
I found that processing of page generated by document.write isn't same
as loading page from server - for ex. opera 6.03 and mozilla 1.5 didn't
accept encoding provided in <head> section - so doing things this way
isn't probably what browsers were made to.
Slow or fast connection shouldn't matter - you do client-side
programming. Maybe javascript code is executed when whole page isn't
loaded - wait for onload event with processing.

Jan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

window.open 13
"window.open" question 4
window.open 4
IE javascript window.open problem 2
Window.Open () not working 5
Passing an argument to window.open ? 4
Mozilla v IE window.open 1
Cookie and Window.Open? 2

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top