Links
Q: I'm having problems getting going. I think it's because I'm not familiar with url's and target's. I don't know whether to choose -parent, -self, etc. in the target.
A:
_blank Specifies to load the link into a new blank window. This window is not named.
_parent Specifies to load the link into the immediate parent of the document the link is in.
_self Specifies to load the link into the same window the link was clicked in.
_top Specifies to load the link into the full body of the window frame_name Specifies to load the link into the frame which named frame_name, you can specify the name of the frame in HTML code <frame src= "xxx.html"name="frame_name">. This option will be used for most case. So I put a example below to show you how to get it works.
Example:
The HTML codes for frame is similar to the codes below.
<frameset framespacing="0" border="false" frameborder="0" cols="199,*">
<frame name="left" src="leftpage.htm" scrolling="no">
<frame name="right" src="rightpage.htm" scrolling="auto">
<noframes>
<p>This page uses frames, but your browser doesn't support them.</p>
</noframes>
</frameset>
Here the name of left frame is "left", the name of right frame is "right". Just type the name of the frame which you want the document be loaded into in target property box. The quotation marks can't be included in frame name.
Q: Is it possible to link to an Anchor, as used in HTML code, from a Java applet?
A: Of course, items of applet can be linked to an Anchor. Just set the property URL to the value such as http://www.yoursite.com/index.html#AnchorName or xxx.html#AnchorName
Q: Instead of writing a URL I wrote mailto:name@yoursite.com into the URL property of the item. When I click this item an Error page opens in the browser just before the mail program opens ???
A: Items of applet can be linked to the email address such as mailto:name@yoursite.com. There must have something about the property Target. Set the Target to "_self" instead of any other and try again.
Q: I want a Pop-Up Window show when I click the item in the menu.
A: Set the property Target to "_blank". Once item be clicked, a new web browser window will be showed and the HTML page which the item be linked to will be loaded in this new window.
Q: I specified the URL for item but it can't work, how can I do?
A: You should set the URL such as http://www.yoursite.com/, http://www.yoursite.com/xxx.html,
http://www.yoursite.com/dir/xxx.html, xxx.html, dir/xxx.html, ../dir/xxx.html, mailto:xxx@yoursite.com, ftp://www.yoursite.com/xxx.zip, ... ...
Please note: The quotation marks can't be included in URL.
|