|
|
Author: * Neva Niafer -
16 Posts
on this thread out of
67 Posts
sitewide.
Date: Feb 26, 2003 - 10:56
OK. Let's just go with close the gaps?
Sample of working code: Click Here!
A new 600x400 window should open and load Aphrodite's question. The code goes like this. First put the following in your head section. For this post I just put it in first thing.
Close the gaps:
< script language= "JavaScript" >
< !--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
// -->
< / script >
Next, in the body section, place this code by the text link. It also works with images. You can set it to any size. Here I chose a 600x400 window size. Close the gaps.
< a href= "#" onClick="MM_openBrWindow('http://theURLofyournewwindow','newWindowname', 'width=600,height=400')" > Click Here! < / a>
If you want more parameters to this script, like scrollbars and menu, just ask.
|
|