|
Posted by Neredbojias on 10/08/05 05:09
With neither quill nor qualm, Jonathan N. Little quothed:
> Neredbojias wrote:
> > With neither quill nor qualm, Jonathan N. Little quothed:
> >
> >
> >>JDS wrote:
> >>
> >>
> >>>On Thu, 06 Oct 2005 23:01:21 +0100, SpaceGirl wrote:
> >>>
> >>>
> >>>
> >>>><a href="mypage.html" onclick="popup('mypage.html'); return true;"
> >>>
> >>>
> >>>Shouldn't that be "return false"?
> >>>
> >>
> >>I would think so, else if JavaScript is enabled both the popup will load
> >>AND the main page will load 'mypage.html'. You want it to return false
> >>so that if JavaScript is enabled the main page link will be ignored but
> >> if JavaScript is disabled the onclick event will be ignored and the
> >>fall back will be that 'mypage.html' loads in the main window.
> >>
> >>
> >
> >
> > Ah, shit, once again I accidently deleted a reply, in this case yours.
> > Anyway, I said:
>
>
> Aw, I'm crushed! :-D
>
> Can't you just start a fresh with a new reply window, with all good
> quothed material restored, or something as CTRL-Z to undelete the
> 'fat-finger' error?
I've tried. The only way I can recover the lost message is to
unsubscribe, then re-subscribe and re-download as new the last xxx
messages (-which, of course, loses all the "as read" formatting, etc.)
> >>>What if javascript is enabled but popups are disabled?
> >
> >
> > And you said:
> >
> >
> >>You're screwed.
> >
> >
> > Actually, there is a way to do it which involves using "return true".
> >
> > <a href="NerbsBigOne.html" onclick="if (window.open)
> > { var nwin=window.open
> > (this.href,mywin,'toolbar=no,location=no,directories=no,status=no,menuba
> > r=no,scrollbars=no,resizable=no,width=8400,height=2200');
> > return false; } else { return true; }">The Human Monolith</a>
>
> Hmmm, interesting, (referencing the code--my door doesn't swing that way!)
Um, no referencing was intended *that* way. Big boy.
--
Neredbojias
Contrary to popular belief, it is believable.
[Back to original message]
|