Re: [WSG] javascript problem with pop-up on hyperlink click (IE6 displays an error, FF, Opera work fine)

2005-03-13 Thread Thorsten
guys, thanks a lot for helping out :^) -- Thorsten ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help

Re: [WSG] javascript problem with pop-up on hyperlink click (IE6 displays an error, FF, Opera work fine)

2005-03-13 Thread Jan Brasna
return false; Do not return false. Return !window.open(...) instead. -- Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com ** The discussion list for http://webstandardsgroup.org/ See

Re: [WSG] javascript problem with pop-up on hyperlink click (IE6 displays an error, FF, Opera work fine)

2005-03-13 Thread Patrick H. Lauke
Jan Brasna wrote: Do not return false. Return !window.open(...) instead. so what advantage does this bring? If javascript is enabled, but fails to open a window, the link still works? What are the situations in which javascript may fail to open a new window? -- Patrick H. Lauke

Re: [WSG] javascript problem with pop-up on hyperlink click (IE6 displays an error, FF, Opera work fine)

2005-03-13 Thread Jan Brasna
javascript may fail to open a new window? Popup blockers etc. -- Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for

RE: [WSG] javascript problem with pop-up on hyperlink click (IE6 displays an error, FF, Opera work fine)

2005-03-13 Thread Mike Pepper
Patrick H. Lauke wrote: so what advantage does this bring? If javascript is enabled, but fails to open a window, the link still works? What are the situations in which javascript may fail to open a new window? Jan Brasna wrote: Do not return false. Return !window.open(...) instead.

Re: [WSG] javascript problem with pop-up on hyperlink click (IE6 displays an error, FF, Opera work fine)

2005-03-13 Thread Patrick H. Lauke
Jan Brasna wrote: javascript may fail to open a new window? Popup blockers etc. Don't popup blockers allow them when they're a result of a direct user interaction (such as clicking a link)? Or is this another thing that XP SP2 messes up? -- Patrick H. Lauke

Re: [WSG] javascript problem with pop-up on hyperlink click (IE6 displays an error, FF, Opera work fine)

2005-03-13 Thread Jan Brasna
Don't popup blockers allow them when they're a result of a direct user interaction Sometimes, sometimes not. It all depends on browser and/or setup... Or is this another thing that XP SP2 messes up? I'd guess so... -- Jan Brasna aka JohnyB :: www.alphanumeric.cz | www.janbrasna.com

[WSG] javascript problem with pop-up on hyperlink click (IE6 displays an error, FF, Opera work fine)

2005-03-11 Thread Thorsten
hiya, i'm not sure if this is the right place to pose my question, but i'll dare it. if my question is unwanted on the list, i apologise, maybe someone can reply in private? i have a page from which i'd like to pop-up a window with more details upon clicking a hyperlink. the javascript i'm

Re: [WSG] javascript problem with pop-up on hyperlink click (IE6 displays an error, FF, Opera work fine)

2005-03-11 Thread Kornel Lesinski
On Fri, 11 Mar 2005 11:49:57 -, Thorsten [EMAIL PROTECTED] wrote: a href=# onClick=javascript:window.open('therapeuten/barkow-lewinsky.html','Barkow-Lewinsky, Eva','width=450,height=200,left=150,top=150');Barkow-Lewinsky, Eva/a Never put URLs in onclick (javascript:blabla *is* URL) Don't

Re: Re[2]: [WSG] javascript problem with pop-up on hyperlink click (IE6 displays an error, FF, Opera work fine)

2005-03-11 Thread Kornel Lesinski
On Fri, 11 Mar 2005 18:22:25 -, Chris Dawes [EMAIL PROTECTED] wrote: Never put URLs in onclick (javascript:blabla *is* URL) Forget that use this idea: A HREF=javascript:void(0); onClick=openWindowFunction(params) That is tweaked non-standard accessibility killer. It will break even if I

Re: [WSG] javascript problem with pop-up on hyperlink click (IE6 displays an error, FF, Opera work fine)

2005-03-11 Thread Ben Curtis
and don't use inline scripts. They are as bad as inline styles: a href=therapeuten/barkow-lewinsky.html class=popupBarkow-Lewinsky, Eva/a var links = document.getElementsByTagName('a'); for(i=0;ilinks.length;i++) if (links[i].className=='popup')links[i].onclick = function()