can a variable be used with this script?
Mar 26, 2009 18:29:40 GMT -5
Post by Psycho on Mar 26, 2009 18:29:40 GMT -5
A while back someone gave me the following script as I wanted to open a program in a new window:
Is there a way to include a variable for the address?
For example:
if webAdd$="http://www.runbasic.com", how can I place the webAdd$ variable in place of the hardcoded address? I've stabbed at some variations using semi-colons and double quotes but if there's a combination that works, I haven't figured out the correct one.
Here's one of my failed examples:
Thanks for any help,
John "Psycho" Siejkowski
html "<script language='javascript'>
<!--
window.open('http://www.runbasic.com','new','');
//--></script>"
Is there a way to include a variable for the address?
For example:
if webAdd$="http://www.runbasic.com", how can I place the webAdd$ variable in place of the hardcoded address? I've stabbed at some variations using semi-colons and double quotes but if there's a combination that works, I haven't figured out the correct one.
Here's one of my failed examples:
html "<script language='javascript'>
<!--
window.open('";webAdd$;"','new','');
//--></script>"
Thanks for any help,
John "Psycho" Siejkowski