|
From: PaPa on 20 Jun 2008 09:35 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1- transitional.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" / > ******************* ****************** stuff that works ok ********************* ************************ <a href="#" onClick="window.open('Simple_html.htm','simple_html',' width=500, height=500, scrollbars=1, location=1, menubar=1, resizable=1, toolbar=1, left=20, top=20');"> <img src="pics/nestor.jpg" alt="nestor the nerd" /> </a> ********************** The htm document Simple_html.htm opens nicely in Firefox. In IE, the window opens but states that "IE cannot display the web page". What am I doing wrong?
From: GArlington on 20 Jun 2008 09:38 On Jun 20, 2:35 pm, PaPa <nono...(a)gmail.com> wrote: > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1- > transitional.dtd"> > <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="content-type" content="text/html; charset=utf-8" / > > > > ******************* > ****************** > stuff that works ok > ********************* > ************************ > > <a href="#" onClick="window.open('Simple_html.htm','simple_html',' > width=500, height=500, scrollbars=1, location=1, menubar=1, > resizable=1, toolbar=1, left=20, top=20');"> > <img src="pics/nestor.jpg" alt="nestor the nerd" /> > </a> > > ********************** > The htm document Simple_html.htm opens nicely in Firefox. In IE, the > window opens but states that "IE cannot display the web page". > > What am I doing wrong? I do not think it has anything to do with posted code... More likely that your page Simple_html.htm has some issues... The url might help us to help you.
From: webbugtrack on 20 Jun 2008 10:07 In your window.open call, does the second param contain a space? e.g. window.open('Simple_html.htm','simple html','...'); If so, this will fail in IE (bug 289) http://webbugtrack.blogspot.com/2008/06/bug-289-popup-window-name-cant-have.html I should verify, but I'm also curious if in the list of parameters, if the ", ' comma-space works as a delimeter. It would be weird if it was that picky, but I don't know.
From: Evertjan. on 20 Jun 2008 11:03 wrote on 20 jun 2008 in comp.lang.javascript: > In your window.open call, does the second param contain a space? > > e.g. window.open('Simple_html.htm','simple html','...'); > > If so, this will fail in IE (bug 289) > http://webbugtrack.blogspot.com/2008/06/bug-289-popup-window-name-cant- > have.html > > > I should verify, but I'm also curious if in the list of parameters, if > the ", ' comma-space works as a delimeter. It would be weird if it > was that picky, but I don't know. The window name surely cannot harbour a space? Why should it? A Javascript variable name or an html ID value cannot have a space. That is not a bug. -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
From: yukabuk on 20 Jun 2008 11:47 Why are you talking about spaces in variables?....he doesnt have a space in the variable...you can clearly see the code! <a href="#" onClick="window.open('Simple_html.htm','simple_html',' width=500, height=500, scrollbars=1, location=1, menubar=1, resizable=1, toolbar=1, left=20, top=20');"> <img src="pics/ nestor.jpg" alt="nestor the nerd" /> </a> Move on...
|
Next
|
Last
Pages: 1 2 3 Prev: CHECK BOX Problem Next: CHEAP PRICE !! Lady Prada Chanel Coach Sandals For Sale |