Forum Moderators: coopster
I want this link to open in a new window and to be able to control the size of it in the script. I can't get the usual Javascript function to work and a quick search tells me this is not unexpected!
Are there any easy ways to control the size of the resultant browser window in PHP?
[edit] Worked out how to do it - needed to use \ in front of the " quotes - don't know how I missed that :)[/edit}
Shawn
<?php
echo <<<END
<a href="javascript:;" onClick="MM_openBrWindow('/$link[$seq]','window properties')">
END;
?>
Note that you could write the <A> tag as follows:
<a href="javascript:MM_openBrWindow('/$link[$seq]','window properties')">