Home
TeamSite
how do I link to a web page?
System
I'm a worksite newbie, so please bear with me. I have a web page I want to be able to put into a workspace, so when someone clicks on it an HTML web page opens.
I got some 'magic' on how to do this, and it seems to work for them, but for me, it opens up dreamweaver, which is my default editor for the html file type. See below for the 'magic'.
Does anyone have either:
- a better way to link to a web page
OR
- a way to override the default viewer?
Thanks.
...how to generate a link to an HTML page
- Create a text file (Notepad will work fine)
- Fill it in with the following code:
<html>
<head>
<title>Re-Directing....</title>
<meta http-equiv="refresh" content="0; url=URL you need to take the user to/">
</head>
</html>
- Save it as an HTML doc (be careful not to make it text!)
- Upload the file
When the user clicks the document, it automatically throws a nice new browser window, and takes the user to the web page in question
lissa
Find more posts tagged with
Comments
sphan_xell
What I always use is to include a Javascript action inside an HTML file.
<html>
<BODY onload="javascript:window.open('
http://www.xelleration.com','_self');">
</body>
</html>
This will ensure that the link is loaded when you click on the HTML page.
Have fun.
gohn_man
Lissa,
There a few easy ways to accomplish your request:
1. WorkSite MP has a Note object that supports HTML. Simply drop a note object on your workspace and insert this HTML example:
<html>
<p>Link to my <a href="
http://www.interwoven.com"
target="_blank">Web Page</a></p>
</html>
This example I set the target to open in a new browser window... You can easily change that to open in the target window, whole page, same frame, parent frame...
2. You could present your web page inside a WorkSite MP workspace... To accomplish this you will need to drop a note object on your workspace and then use the HTML "iframe" command. See code sample below:
<html>
<iframe name="Interwoven" src="
http://wwww.interwoven.com"
width="900" height="300"></iframe>
</html>
You may need to adjust the width and height to meet your needs.