Trying to setup website with the Login page opening in a modal window instead of normal Apex window.
Have a Global Page (0) which has a Login button defined - that has a dynamic action defined on it
Login Clicked
True
SkillBuilders Modal Page(2.0.0) [Plug-in]
Fire When Event Result is True
Dialog Title: Login
URL Location: Statically Defined
Static URL: f?p=&APP_ID.:101:&APP_SESSION.:::1:::
Auto-close On Element Selector: div#success-message
Created a branch page 102 called Close Modal
Have tried putting the following javascripts into Page 102 and also without - but cannot get the modal window to close out.
Dynamic Action on page 102 Close Modal Window - Event is On Page Load. No condition set
Execute Javascript Code
Fire When Event Result is True
Fire On Page Load - checked
Code:
javascript:parent.$(parent.document).apex_modal_page('close');
Any ideas which might help ?
Thanks - Jonathan