[thelist] pop-up window with no numbers in link

Reuben Whitehouse reuben at rocketfuelled.com
Thu Oct 24 06:33:01 CDT 2002


yeah, that's what i was thinking of.  unfotunately my knowledge of
javascript is little apart from hacking up other scripts.  i thought there
was a way of doing it like that but wasn't sure how to do it.

thanks.

----- Original Message -----
From: "Hassan Schroeder" <hassan at webtuitive.com>
To: <thelist at lists.evolt.org>
Sent: Wednesday, October 23, 2002 5:09 PM
Subject: Re: [thelist] pop-up window with no numbers in link


> Reuben Whitehouse wrote:
> > i need to have some links within a body of text that open up seperate
> > javascript windows.  the issue i have is that i can't have the numbers
> > within the link that there usually are (eg. <a
> >
href="javascript:openNewWindow('pop-up_signup.php','thewin','height=400,widt
> > h=399,toolbar=no,scrollbars=no')">).  reason being i have a script that
> > changes any numbers within the body text to being <sup></sup>,
>
> So put the parameters in a function in the head of the document, or
> in a separate file -- something like:
>
> function openNewWindow(url)
> {
>
window.open(url,'thewin','height=400,width=399,toolbar=no,scrollbars=no');
> }
>
> and the link looks like:
>
> <a href="pop-up_signup.php" onclick="openNewWindow(this.href);">
>
> HTH!
> --
> Hassan Schroeder ----------------------------- hassan at webtuitive.com
> Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
>                    ---                      ---
>                    ---     dream.  code.    ---
>
>
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !




More information about the thelist mailing list