W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2009

I have a technical question... Not about tidy

From: Ranney, Jeffrey <jeffrey.ranney@eds.com>
Date: Tue, 21 Jul 2009 10:41:00 -0400
Message-ID: <A799A23D7423B84485C7D38C3A993F8203B6A0A1@usahm206.amer.corp.eds.com>
To: <html-tidy@w3.org>
I have scoured the web and cannot find out how to do what I want to do... I am hoping someone can help me with your group.

I have written a small web page which runs from my hard-drive.
It allows me to put in several(6) websites which I want to check if they exist. 
If the web site exists, I want it to open.
If it doesn't exist, I do not want it to open. 

It is running Java Script to do the opens and currently it simply opens all 6.. Those pages which get an ERROR, I just manually close.

The W3.ORG Validator does this kind of thing against one web page and it simply replies that the web page does not exist.

The code I have is as follows (on the 5th dataset) : 

        if (fnam05 != '')
        {
          thedsn = theurl+fnam05+"("+mnam+")'";
          window.open(thedsn);
        }

Is there a way to do what I want in Java Script? 


Jeffrey Ranney
Information Specialist Senior
MCS MAC Support
Medicare Part B Shared Systems Claims Processing Maintenance Contract
EDS, an HP company
 
Phone: 1-717-285-7533
Mountville, PA 
Beeper: 1-877-220-2912
jeffrey.ranney@eds.com
"Yes We Can"
Please consider the environment before printing anything... 

CONFIDENTIALITY NOTICE:  This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain EDS Internal or EDS Confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Received on Tuesday, 21 July 2009 17:17:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:59 GMT