Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #12092

Re: setTimeout and onclick

From Bootleg Bart <jknmp@axcop.org>
Newsgroups comp.lang.javascript
Subject Re: setTimeout and onclick
Message-ID <chgck71iesk91n8phebsimcil0d6ntq9f8@4ax.com> (permalink)
References <bq9ck7l21j5j0t5tfmiegdlevuopg8dfh9@4ax.com> <fmdck79555vd4hkuecpavubhomdm5d4i8u@4ax.com>
Organization Forte Inc. http://www.forteinc.com/apn/
Date 2012-02-23 07:42 -0600

Show all headers | View raw


On Thu, 23 Feb 2012 06:57:31 -0600, Bootleg Bart <jknmp@axcop.org>
wrote:

I put the files online and it works fine with FireFox. Weird!


>On Thu, 23 Feb 2012 05:55:40 -0600, Bootleg Bart <jknmp@axcop.org>
>wrote:
>
>
>I changed the onclick to -  onclick="allLinks('360v6.htm')"
>
>function allLinks(link){
>window.location.href = link; 
>}
>
>And the same thing as described below. FireFox doesn't open a new
>window or tab.
>
>
>>onclick works and changes the self location in IE and Chrome. A new
>>window is also opened with the href="javascript:v6" in IE and Chrome.
>>
>>FireFox - onclick changes the self.location but doesn't open a new
>>window.What am I doing wrong? Thanks.
>>
>>
>><area coords="159, 110, 234, 127"
>>href="javascript:v6('securitydetails.htm','_blank','scrollbars=yes,resizable=yes,width=780,height=690,top=0,left=0')"
>>onclick="setTimeout(window.location.href='360v6.htm', 500)"
>>shape="rect" />

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

setTimeout and onclick Bootleg Bart <jknmp@axcop.org> - 2012-02-23 05:55 -0600
  Re: setTimeout and onclick Bootleg Bart <jknmp@axcop.org> - 2012-02-23 06:57 -0600
    Re: setTimeout and onclick Bootleg Bart <jknmp@axcop.org> - 2012-02-23 07:42 -0600
  Re: setTimeout and onclick Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-23 14:58 +0100
    Re: setTimeout and onclick Bootleg Bart <jknmp@axcop.org> - 2012-02-23 08:48 -0600
      Re: setTimeout and onclick Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-23 15:59 +0100
    Re: setTimeout and onclick Bootleg Bart <jknmp@axcop.org> - 2012-02-23 08:51 -0600
      Re: setTimeout and onclick Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-23 15:55 +0100

csiph-web