Posts: 116
Location: Canandaigua, NY
|
for XHTML 1.0 Strict compliance use this:
the JS:
Code:
<script language="JavaScript">
<!-- Begin
function popUp(URL) {
window.open(URL, 'title', 'toolbar=1,scrollbars=1,location=0,statusbar=1,menubar=1,resizable=1,width=640,height=480');
}
// End -->
</script>
you can also modify the attributes of course
and your anchor:
HTML Code:
<a href="javascript:popUp('somePage.php')">Some Page</a>
of course, this is assuming all of your viewers have JS enabled. still an escape from the problem with XHTML 1.0
edit: now that i think about this, it wont work for your paypal button, unless you can somehow integrate it into your form action
__________________
Please login or register to view this content. Registration is FREE : A distinguished web presence begins with distinguished web developers.
Last edited by RoLLiNLoW54; 11-04-2005 at 01:22 AM..
|