Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 14 Jul 2002.
Re: [PIC][255] I wonder if I ever see you again... T-8 days

Re: [PIC][255] I wonder if I ever see you again... T-8 days

> "CeeJay" <use...@ceejay.cjb.netREMOVEthisSPAMfilterTOreply> wrote in
> message news:3d3095f6$0$46313$edf...@dspool01.news.tele.dk...
> >
> > Here :
> >
>
javascript:Q=document.selection.createRange().text;if(!Q){void(Q=prompt('No
> > text selected on page.
> >
>
Keywords...?',''))};if(Q)location.href='http://www.io.com/cgi-bin/dict?'+esc
> > ape(Q)
> >
>
> I think this works better,
>
> javascript:function trim(str) {str = this != window? this : str;return
> str.replace(/^\s+/g, '').replace(/\s+$/g,
> '');}Q=document.selection.createRange().text;if(!Q){void(Q=prompt('No text
> selected on page.
>
Keywords...?',''))};if(Q)location.href='http://www.io.com/cgi-bin/dict?'+esc
> ape(trim(Q))
>
> Just adds a fuction trim(). This is helpful is you are in the habit
> of double clicking a word to select it. For example when you use
> MSIE, double clicking selects the space after the word.
> This would fail in some servers like www.io.com. So
> the selected word needs to be trimmed.

You are right .. it is better.
It would be even better if any nonletter chars were stripped.
With the english language this is anything other than a -> Z

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,5afcb992ddf2c6e5
X-Google-Attributes: gidf996b,public
X-Google-ArrivalTime: 2002-07-14 06:37:07 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.162.153.118!news.tele.dk!not-for-mail
From: "CeeJay" <use...@ceejay.cjb.netREMOVEthisSPAMfilterTOreply>
Newsgroups: alt.ascii-art
References: <s17...@4ax.com> <agmt4h$mn6ul$1...@ID-22765.news.dfncis.de> <29a...@4ax.com> <agnkei$n8vr9$1...@ID-22765.news.dfncis.de> <ef1...@4ax.com> <3d3095f6$0$46313$edf...@dspool01.news.tele.dk> <agr672$o36db$1...@ID-22765.news.dfncis.de>
Subject: Re: [PIC][255] I wonder if I ever see you again... T-8 days
Date: Sun, 14 Jul 2002 15:37:08 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Lines: 35
Message-ID: <3d317e82$0$12697$edf...@dspool01.news.tele.dk>
Organization: TDC Internet
NNTP-Posting-Host: 131.164.157.225
X-Trace: 1026653826 dread01.news.tele.dk 12697 131.164.157.225
X-Complaints-To: abu...@post.tele.dk
Xref: archiver1.google.com alt.ascii-art:18219
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 2002 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post