PDA

View Full Version : Pop ups?


Nadiar
10-21-2004, 03:54 AM
I tried to do some searches, but apparantly either no one has asked, or (more likely) I'm blind.

I tried using
<SCRIPT type="text/JavaScript">
<!-- Begin
function popUp(URL) { day = new Date(); id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,men ubar=0,resizable=0,width=800,height=600,left = 400,top = 300');");
}
// End -->
</script>

with <A HREF="javascript:popUp('http://www.magelo.com/eq_view_profile.html?num={option})">{param}</A>

But this isn't working at all... It will work fine in the Admin area, but not on the forum Current page becomes http://www.domain.com/board/javascript<b></b>:popUp('http://www.magelo.com/eq_view_profile.html?num=8991)

any suggestions? =)