This content has been marked as final.
Show 2 replies
-
1. Re: How to open a new url ,say www.yahoo.com in modal panel when invoked?
blabno Feb 5, 2010 8:56 AM (in response to raghunath.asha)You must put IFRAME in modal panel and execute javascript that will set src of that iframe when modal panel is shown ("onshow" attribute).
<rich:modalPanel onshow="loadIframe()"> <iframe id="myIframe"></iframe> </rich:modalPanel> <script> function myIframe() { $('myIframe').src='URLYouWant'; // assuming $ belongs Prototype }</script>
-
2. Re: How to open a new url ,say www.yahoo.com in modal panel when invoked?
raghunath.asha Feb 5, 2010 1:15 PM (in response to blabno)thanks Bernard. I am displaying video links like that now. Just cross checked if anyother solution avilable.
thanks.