HTML

 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Tutorialized ForumsWeb Design & DevelopmentHTML

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 Tutorialized Forums Sponsor:
  #1  
Old April 8th, 2013, 10:18 PM
a1a.a1a a1a.a1a is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Apr 2013
Posts: 1 a1a.a1a User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 3 sec
Reputation Power: 0
Open PC based files from homemade HTML Homepage

Hey,

I have a home made 'home page' with my regular web links on it and am trying to include a button which will open a folder or file located on my home pc (or USB drive).

Any reason why this won't work ?

<button onclick="window.open(this.href,'_blank');return false;" href="\Work\WWW\base.pdf"
style="width:143; height:30"
style="font: bold 16px Arial; color:mediumvioletred">Base
</Style>
</button>

when this will ?

<button onclick="window.open(this.href,'_blank');return false;" href="\Work\WWW\html.html"
style="width:143; height:30"
style="font: bold 16px Arial; color:mediumvioletred">html Page
</Style>
</button>

both files <html.html> and <base.pdf> are located in the same folder and thats the folder where the 'home page' also resides at the moment.

thanks!!

Last edited by a1a.a1a : April 8th, 2013 at 10:19 PM. Reason: spelLing

Reply With Quote
  #2  
Old January 30th, 2017, 07:28 AM
dishagandhi dishagandhi is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Dec 2016
Location: Ahmedabad
Posts: 52 dishagandhi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 40 m 42 sec
Reputation Power: 2
Try to use following

<button onclick="window.open(this.href,'_blank');return false;" href="base.pdf"
style="width:143; height:30"
style="font: bold 16px Arial; color:mediumvioletred">Base
</Style>
</button>
AND
<button onclick="window.open(this.href,'_blank');return false;" href="html.html"
style="width:143; height:30"
style="font: bold 16px Arial; color:mediumvioletred">html Page
</Style>
</button>


thanks!!

Reply With Quote
Reply

Viewing: Tutorialized ForumsWeb Design & DevelopmentHTML > Open PC based files from homemade HTML Homepage


Developer Shed Advertisers and Affiliates


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 | 
  
 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap