[Phplib-users] javascript links (was: Auth working with a twist)
Brought to you by:
nhruby,
richardarcher
From: John D. <jpd...@cc...> - 2002-10-15 18:29:36
|
> Reply-To: <la...@if...> > From: "Layne Weathers" <la...@if...> > To: "'phplib-users'" <php...@li...> > Cc: <rob...@ws...> > Date: Mon, 14 Oct 2002 08:29:35 -0500 > Subject: [Phplib-users] javascript links (was: Auth working with a twist) > > > > IMHO, the correct way to do JavaScript links is > > <a href="javascript:myFunction();">Blah</a> > > rather than using onClick. Creating a link to an undefined anchor is a > kludge. ... but a necessary kludge with some (broken) web browsers. The IMP CVS has the following checkin comment: move all href="javascript:..." to href="" onclick="...; return false;" this should fix the IE+frames+ssl+nt4 problems where IE would drop encryption because it thinks that javascript: is a non-secure URL. John Dalbec |