telmiger
Posts: 61
|
| Posted: 04/16/2004, 1:36 PM |
|
I have a grid and a record form.
By clicking on the record ID link in my grid I would like my Record form popup in a new window.
I tried to modify the javascript from the popup list example from the example package but I couldn’t get it to work.
My record ID url did not get transferred correctly to my record Window. It always comes up with the first recordID on the list.
It works if I use the _blank function in the format tab of the link properties, but then I do not know how to set the new Window properties. Size, scrollbar, menubar etc.
Any help would be appreciated.
Tony Elmiger
|
 |
 |
RonB
Posts: 228
|
| Posted: 04/17/2004, 6:45 AM |
|
With a popup it's better to hand code and remember to use the brackes{ }
window.open('somepage.php?data_id={data_id}', etc etc
they {data_id} should be one of the components on your page. I often use a hidden field to do this.
|
 |
 |
DonB
|
| Posted: 04/17/2004, 7:23 PM |
|
A couple of ideas: http://www.gotodon.com/ccbth/features/kbase.asp?find=popup
--
DonB
http://www.gotodon.com/ccbth
"telmiger" <telmiger@forum.codecharge> wrote in message
news:2408043cacbff7@news.codecharge.com...
> I have a grid and a record form.
>
> By clicking on the record ID link in my grid I would like my Record form
popup
> in a new window.
>
> I tried to modify the javascript from the popup list example from the
example
> package but I couldn't get it to work.
> My record ID url did not get transferred correctly to my record Window. It
> always comes up with the first recordID on the list.
>
> It works if I use the _blank function in the format tab of the link
properties,
> but then I do not know how to set the new Window properties. Size,
scrollbar,
> menubar etc.
>
> Any help would be appreciated.
>
> Tony Elmiger
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
mamboBROWN
Posts: 1713
|
| Posted: 05/20/2004, 8:00 AM |
|
This information was very helpful. Thanks RonB
|
 |
 |
telmiger
Posts: 61
|
| Posted: 08/25/2004, 9:19 AM |
|
I downloaded a function written by Sixto from CCS Tutorial Foundry.
http://ccs.ath.cx/~ccs/kb.php?s_keyword=popup&event_id=...4&language_id=7
After installing the function no hand coding is necessay. You can enter the popup window configuration in the CCS Properties.It works so great that I went back and deleted all my handcoded popup links and created them with the above function.
Tony Elmiger
|
 |
 |