HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 15th, 2000, 11:19 AM
peterbe peterbe is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 58 peterbe User rank is Private First Class (20 - 50 Reputation Level)peterbe User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Is there a way to have a hyperlink do exactly what right-click-and-View-Source does?



------------------

¬ peterbe.com ¬

Reply With Quote
  #2  
Old August 18th, 2000, 12:52 AM
ryanh ryanh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 1999
Posts: 119 ryanh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 41 sec
Reputation Power: 9
this kicks ***, check out the post entitled "opening Notepad w/ ActiveX":
http://www.devshed.com/Talk/Forums/...TML/000540.html

here's some sample code:

function notepad() {
var shell = new ActiveXObject("WScript.shell");
shell.run("NOTEPAD.EXE localfile",3);
}

I tried it and it works for localfiles, it might work for files accross a network, if you tweak it... don't know.

It would work if you use a combo of CGI and JS, but you may lose a little of the manageability...

If you find out, though, let me know.

[This message has been edited by ryanh (edited August 17, 2000).]

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Single click to open the Source of HTML


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway