JM
|
Posted: 07/20/2003, 9:04 AM |
|
Hi All CC / CCS guys
Having problem passing href value to a popup window
Im trying to build a popup window as follows:
1) displayfrm.asp shows (grid) contacts lists of customers , every line has
a unique link (say the promary key).
2) href address of every link is identified by displayfrm.asp?custid=n ,
where n=1,2,3,... etc.
3) popup window (custdetails.asp) is to be invoked by clicking on the unique
link
My problem , is passing displayfrm.asp?custid=n to the popup window form.
The popup window Javascript does not apply to my case ( I guess)
Any idea, lead, advise or whatever to help me solve the problem is extremely
and highly appreciated
JM
|
|
|
DonB
|
Posted: 07/21/2003, 7:35 AM |
|
Setting the link which opens custdetails.asp so it's "target" is "_blank"
(on the Format tab of the Properties dialog) will open it as a new window.
It sounds like you are trying to do this client-side, hence the mention of
JavaScript. If you are worried about getting a specific size or location of
the popups, then maybe you can write a bit of Javascript to do that as the
window is being launched.
DonB
"JM" <alphaces@optushome.com.au> wrote in message
news:bfeei4$dqj$1@news.codecharge.com...
> Hi All CC / CCS guys
>
> Having problem passing href value to a popup window
> Im trying to build a popup window as follows:
>
> 1) displayfrm.asp shows (grid) contacts lists of customers , every line
has
> a unique link (say the promary key).
> 2) href address of every link is identified by displayfrm.asp?custid=n ,
> where n=1,2,3,... etc.
> 3) popup window (custdetails.asp) is to be invoked by clicking on the
unique
> link
>
> My problem , is passing displayfrm.asp?custid=n to the popup window form.
> The popup window Javascript does not apply to my case ( I guess)
>
> Any idea, lead, advise or whatever to help me solve the problem is
extremely
> and highly appreciated
>
> JM
>
>
|
|
|
|