|
|
|
Re: how to show pop up window on button click [message #402416 is a reply to message #401738] |
Sun, 10 May 2009 02:29 |
dbhossain
Messages: 155 Registered: August 2007 Location: Dhaka
|
Senior Member |
|
|
just do the following:
1. go to property of your desired button that will invoke the
pop up window
2. go to "Optional URL Redirect" section of button property
3. set the following setting:
URL Target : javascript:popupURL('f?p=&APP_ID.:52:&SESSION.:::::')
**** here "52" is the page id that you want to show as pop up window.. change it to your desired page id.
** if you want to customize the pop up window width and height
then change the javascript code only
as below:
javascript:popUp2('f?p=&APP_ID.:52:&SESSION.:::::',200,200)
Rememer "popUP2" is case sensitive you must type this word as it is
[Updated on: Sun, 10 May 2009 02:38] Report message to a moderator
|
|
|
Re: how to show pop up window on button click [message #403132 is a reply to message #401741] |
Wed, 13 May 2009 21:49 |
dbhossain
Messages: 155 Registered: August 2007 Location: Dhaka
|
Senior Member |
|
|
More update on "PopUp window when button click":
javascript:html_PopUp('f?p=&APP_ID.:52:&SESSION.','_blank','scrollbars=0,left=200,menubar=0,resizable=0,width=500,height=100,toolbar=0,location=0,directories=0')
Note: The page that will be opened as popUP window change it page template to "pop up".
go to: Page Property >Template > Pop Up
in the above code '0' returns 'false' and '1' returns 'true'
|
|
|