[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] Javascript åbner console uønsket



Hej Ole

Ole Tange wrote:
Firefox åbner sin javascript console hver gang jeg klikker i dette:
http://home.tange.dk/~tange/tidstager/
Hvorfor?

Jeg har haft lidt samme fejl. Her hvad jeg har fundet ud af.


  1) Et link med en href med *bare* en 'javascript:' åbner
  javascript-konsollen. Dette bør undgåes.

  2) Et link uden href bør undgåes, da man ikke får den rigtige
  *pile/pointer-effekt' når man 'hoover' over linken.

  3) Et link med kald af to javascript-funktioner i href virker
  ikke og bør undgåes.

  4) Når du skal kalde een enkelt javascript-funktion, gøres
     det med en href.

a href="javascript: myfunction1();"

Dette virker uden at javascriptkonsollen åbnes.

5) Når du skal kalde flere funktioner, gøres det således

a href="javascript: myfunction1();" onclick="javascript: myfunction2(); myfunction3();"

     Dette virker uden at javascriptkonsollen åbnes.
     PS, mailklienten wrapper måske ovenstående.

Når det er sagt, så siger javascript-debuggeren, når jeg kører dit program

xwin has no properties

og så noget med sourcefile er Error: xwin has no properties
Source File: http://adserver.adtech.de/?addyn|2.0|314|83566|1|16|target=_blank;loc=100;misc=1106579071600;grp=[GROUP]


Det forstår jeg ikke lige.

--PMM

 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:44 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *