farthernorth
01-15-2004, 10:35 AM
I know nothing about Javascript -- this is as far as I have gotten, but can't make it work any farther.
I want to get rid of the top line - but the location.replace is not passing the variables. I am not sure how to combine them. I have a feeling it is so basic I should know exactly how to do it.
document.writeln('<a href="javascreen2.cfm?scrw=' + screen.availWidth + '&scrh=' +screen.availHeight + '">Pass as URL vars</a>');
location.replace("javascreen2.cfm?scrw=' + screen.availWidth + '&scrh=' +screen.availHeight + '");
Please help!
I want to get rid of the top line - but the location.replace is not passing the variables. I am not sure how to combine them. I have a feeling it is so basic I should know exactly how to do it.
document.writeln('<a href="javascreen2.cfm?scrw=' + screen.availWidth + '&scrh=' +screen.availHeight + '">Pass as URL vars</a>');
location.replace("javascreen2.cfm?scrw=' + screen.availWidth + '&scrh=' +screen.availHeight + '");
Please help!