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
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
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
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
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.
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
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
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
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
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
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()
11 matches
Mail list logo