Solved

cutover page

Posted on 2000-04-28
7
172 Views
Last Modified: 2010-04-09
I am using a java applet for navigation but it won't let me specify a file:\\ as a link so I need to create a html page that when accessed does nothing more but reroutes me to the file on a lan and opens it up.

What would the html code look like to do this?

Thanks
0
Comment
Question by:pinkstonm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
7 Comments
 
LVL 33

Expert Comment

by:knightEknight
ID: 2759144
<HTML>
<BODY onLoad='location="file:///C|/TEMP/myfile.htm";'>
</body>
</html>
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2759150
Or:

<HTML>
<HEAD>
<META http-equiv="Refresh" Content="0, URL=file:///C|temp/myfile.htm">
</head>
<BODY>
</body>
</html>
0
 

Author Comment

by:pinkstonm
ID: 2759185
but the way I access the LAN file now is \\Usplscs101\dept\TIPM\CA-1THE\EDS-MHS\Default.htm

So how would it work with that.

thanks
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 33

Expert Comment

by:knightEknight
ID: 2759362
Using JavaScript, you must double each backslash, so do this:


<BODY onLoad='location="file:///\\\\Usplscs101\\dept\\TIPM\\CA-1THE\\EDS-MHS\\Default.htm";'>


Using the META tag, I'm not sure.  Try it both ways:

<META http-equiv="Refresh" Content="0, URL=file:///\\\\Usplscs101\\dept\\TIPM\\CA-1THE\\EDS-MHS\\Default.htm">

<META http-equiv="Refresh" Content="0, URL=file:///\\Usplscs101\dept\TIPM\CA-1THE\EDS-MHS\Default.htm">
0
 
LVL 2

Accepted Solution

by:
netbug earned 100 total points
ID: 2761593
have you tried this
<applet codebase="your file extension" code="your .class file">
</applet>
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2766012
???
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2766848
what gives?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Technology Resume 7 83
CSS question 4 52
Presenting my portfolio on the web? 11 49
Displaying Text in Columns in HTML 3 30
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question