Thread: Links
Results 1 to 6 of 6
Related
-
links links and selectbox Forum: HTML Forum
Replies: 1 -
No Links Forum: HTML Forum
Replies: 15 -
Photo's for links, links for photo's, links for links Forum: Link Exchange
Replies: 0
-
03-26-2003, 07:35 AM #1
Links
How do i make a link in my page when clicked,open up a new window/browser? Thanks.
-
03-26-2003, 08:08 AM #2
Use something like below to open a brand new browser window:
<a href="SomeURLHere" target="_blank">Click here to open new browser window</a>
If you use the above, every link with that target opens a brand new browser window.
If you use a named target (see below), the first link clicked with the specified target will open a new browser window. Each subsequent link clicked with the specified target will open in the same (second) browser window.
<a href="SomeURLHere" target="new">Click here</a>
-
03-26-2003, 10:13 AM #3
Thanks for the help. One more question. How do i get this link to have the left image when clicked,play the url @56K and the right image when clicked, play the url @128K on the same line. Thanks.
<b><a href="http://www.someurl.com/playat56K.pls"><img src="speaker6.gif" border="0"><a href="http://www.someurl.com/playat128K.pls"><img src="speaker6.gif" border="0"><br><i><font face="Arial, Helvetica, sans-serif">Listen To Radio @ 56K or 128K</font></i></a></b>Last edited by Ajax; 03-26-2003 at 10:15 AM.
-
03-26-2003, 11:23 AM #4
use an image map on one image to associate the left and right halves to the appropriate files ,such as:
<IMG ISMAP BORDER=0 WIDTH=90 HEIGHT=90
USEMAP=#uniquename SRC=.jpg>
<MAP NAME=uniquename>
<AREA ALT=" 1of4" COORDS=" 0, 0, 44, 90" HREF= file1.htm>
<AREA ALT=" 2of4" COORDS=" 45, 0, 90, 90" HREF=file2.htm>
</MAP>
-
03-26-2003, 01:06 PM #5
if u want to control the size of the window being opened,
put this between <head> and </head>
*****code begins*****
<script language='Javascript'>
function OpenWindow()
{
name = "";
url = "test.html";
options = "height=330,width=210,location=no,scrollbars=no,menubars=no,toolbars=no,resizable=no,left=0";
window.open(url,name,options);
}
</script>
*****code ends*****
and use this where u want to put the link
<img src='url' onClick='OpenWindow();'>
-
03-27-2003, 06:31 PM #6
Thanks for the help guys,really appreciate it.
Btw:When i click a link,i want the max window open,what values do i enter for the script? Thanks.Last edited by Ajax; 03-27-2003 at 07:59 PM.