RE: [hwg] Link removal script??
by "Mark Martens" <mark.martens(at)emotion.com>
|
Date: |
Thu, 30 Nov 2000 09:58:17 -0500 |
To: |
"Peter Benoit" <pbenoit(at)triton-network.com> |
Cc: |
<hwg-languages(at)hwg.org> |
In-Reply-To: |
network |
|
todo: View
Thread,
Original
|
|
Here here...let's leave the soapboxes in DC and Fla. I really don't care if
someone doesn't like JS. This group is for help when you happen to be using
a language, and are stuck, or are lookin gfor direction as to which solution
to use, not someone's flaming over client side solutions.
> -----Original Message-----
> From: owner-hwg-languages(at)hwg.org [mailto:owner-hwg-languages(at)hwg.org]On
> Behalf Of Peter Benoit
> Sent: Thursday, November 30, 2000 8:30 AM
> To: 'fozz(at)xmission.com'
> Cc: hwg-languages(at)hwg.org
> Subject: RE: [hwg] Link removal script??
>
>
> OK Fozz or Doran or whomever you are,
>
> I don't know what's buggin you, but the original post was a question that
> delt with removing links in Javascript, not some server side solution. If
> they had asked for as much, I would have provided it.
>
>
>
> * -----Original Message-----
> * From: Doran Barton [mailto:fozz(at)xmission.com]
> * Sent: Wednesday, November 29, 2000 6:05 PM
> * To: Peter Benoit
> * Cc: 'Laurie_Sweet(at)otpp.com'; hwg-languages(at)hwg.org
> * Subject: Re: [hwg] Link removal script??
> *
> *
> * Peter Benoit wrote:
> * >
> * > Well comparing dates can be a sticky issue, especially
> * since different
> * > countries format dates differently. But if this isn't
> * mission critical
> * > "stuff" then I wouldn't worry too much about it. A quick
> * explanation of
> * > what you probably saw was not javascript removing an image
> * after a date, but
> * > just not writing it to the page after that date. Here's a
> * quick example I
> * > just whipped up of what your probably after.
> * >
> * > view-source:http://www.iguy.net/dev/JS/compare_dates.htm
> * >
> * > Just change the dates and test it. Note that getFullYear() isn't
> * > universally accepted, there are some nice tutorials on the
> * web on how to get
> * > around that issue.
> * >
> * > It's an example, take it for what it's worth.
> *
> * This is exactly why I *never* use or recommend the use of
> * Javascript or
> * ANY client-side scripting if what you're doing is critical
> * to your site.
> * Rollovers, on the other hand, don't affect the accessibility,
> * navigatability or functionality of your site. They just make
> * it more...
> * fun.
> *
> * So, for things like this where you can't depend on the browser (They
> * might have Javascript turned off. They might have a
> * prehistoric browser.
> * They might be using their cell phone!), you NEED to use server-side
> * script like Perl, JSP, etc. It's the only way you can control the end
> * result.
> *
> * When I see people make suggestions for using VBScript or
> * Javascript for
> * things like this, I get sick to my stomach. The next time I
> * see someone
> * validate a form with Javascript, I'm gonna scream. All I
> * have to do is
> * disable JS and now I'm submitting anomalous data into your
> * database you
> * friggin idiot!
> *
> * Alright, I'm through.
> *
> * --
> * Doran L. Barton -- < fozz(at)xmission.com >
> * "Some people don't know Unix from Meuslix. Others claim to dream in
> * Perl."
> *
>
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA