[EMAIL PROTECTED] on Thursday, August 28, 2003 10:15 AM said:The advantage of this JavaScript configuration is the search engine spyders will be able to read and index the hyperlink because it is not embedded into the JavaScript function.
: Is it possible for me to specify the height and width of a
: window? For example, you click on a link and a new window appears
: which is a fixed height and a fixed width?
: Sure, you'll want to use JavaScript most likely. Here's a simple example script, called from an anchor tag:
<a href="mypage.html" onClick="window.open(this.href,'my_window','width=420,height=350,directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no'); return false" >My Page</a>
or even better, calling a JavaScript function from an anchor tag:
Michael Gordon
<a href="mypage.html" onClick="popWin(this.href)" >My Page</a>
the function:
function popWin(strHref){
window.open(strHref,'my_window','width=420,height=350,directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no'); return false;
}
Here's a reference for the properties in the above script:
http://www.devguru.com/Technologies/ecmascript/quickref/win_open.html
hth, Stephen http://www.mechavox.com
-- Character is doing the right thing... Even when no one is watching... http://www.armadilloweb.com
____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
