You can create a simple link by creating a NEW BLOCK from admin.php and filling it with something like:
Code: ›
<a href="http://www.yoursite.com/apage.html" target="_blank">Click here</a>
To create a POP UP window from that link that is SIZED you will need to use javascript.
Something like:
ADD in to you header.php
just below:
Code: ›
include("includes/javascript.php");
This:
Code: ›
echo "<XXXXXX LANGUAGE=\"JavaXXXXXX\"><!--\n";
echo "function myOpen(url,name) {\n";
echo "window.open(url,name,'width=420,height=500,scrollbars=1');\n";
echo "}\n";
echo "//--></XXXXXX>\n";
Now in you NEW BLOCK that you created - use this:
Code: ›
<A HREF=\"javaXXXXXX:myOpen('http://www.yoursite.com/apage.html')\">Click Here</A>
(Please replace 'XXXXXX' with the word 'SCRIPT' - can't use SCRIPT in the BB)
This is create a POPUP to the size specified in
Code: ›
echo "window.open(url,name,'width=420,height=500,scrollbars=1')
_________________
"The only difference between me and a madman is that I'm not mad."