Click to See Complete Forum and Search --> : open link in new window> SIZE etc?????


arumdevil
02-17-2004, 04:16 AM
I'm new to this, so bear with me :)


when setting a link to open in a new window, how do you specify size of the window, and weather the address bar/status bar/shortcuts bar etc is visible or not???

also, when making <mailto> links, can you make a default subject for the mail to open with???

tia,
arum

Fang
02-17-2004, 04:45 AM
Basically:
window2=open("win2.html","secondWindow",
"scrollbars=yes,width=250, height=400")
window (http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/window.html)

Like this:
<a href="mailto:me@home.com?subject=What it is all about&amp;body=Dear all,">
The "&amp;" is &_amp; (without the underline)

arumdevil
02-17-2004, 05:28 AM
thanks very much :)

arumdevil
02-17-2004, 05:55 AM
hmmmmmm, I got the mailto stuff to work, but I'm lost on the window,

could you show me example code right from the <a href part, or explain where to put the code in more detail.

and/or point me to documentation on this....

thanks again,

arumdevil

DaveSW
02-17-2004, 05:59 AM
try http://www.webdevfaqs.com/javascript.php#popup