Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: not2easy
this is my first post here:
document.write(\'<link rel="stylesheet" type="text/css" href="http://www.blabla.net/dynamic_resolution_stylesheet.php?width=\' + screen.width + \'&height=\' + screen.height + \'&pixelDepth=\' + screen.pixelDepth + \'&colorDepth=\' + screen.colorDepth + \'&availWidth=\' + screen.availWidth + \'&availHeight=\' +screen.availHeight +\'>\');
hope you know what i mean ;-)
Be sure to read Marcia`s WebmasterWorld Welcome and Guide to the Basics [webmasterworld.com] post.
Could you explain why you are escaping the single quotes. AFAIK they should not be escaped since you need them as the string delimiter. You would need to escape a single quote if you wanted to have it as a ordinary character in a string delimited by single quotes.
var test = 'Aaron\'s Party';
If you are not sure, i.e. the code has not been tested, please say so explicitly.
Using here doc syntax in PHP would have saved you from having to escape quotes at all.