Select to view content in your preferred language

infowindow and customized popup size

468
0
05-06-2010 07:45 AM
MarioDel_Castello
Emerging Contributor
An earlier thread posted in the old forum (http://forums.esri.com/Thread.asp?c=158&f=2421&t=288739&mc=5#msgid897861) gave instructions on how to open a new web page with a determined width to height size. I�??m now trying to get the same result by using the infodata link from within the infowindow. I tried to modify the component with the attached code, unfortunately with no luck. I appreciate any suggestion on this.
Thanks! Mario

//show link

                  private function showLink():void

                  {

                        var url = navigateToURL (new URLRequest(infoData.link));

                        var window:String = "_blank";

                        var features:String = "toolbar=no,location=no,resizable=no,directories=no,status=no,scrollbars=no,copyhistory=no,width=450,height=360";

                      

                        var WINDOW_OPEN_FUNCTION : String = "window.open";

                        ExternalInterface.call( WINDOW_OPEN_FUNCTION, url, window, features );

                        
                  }
Tags (2)
0 Kudos
0 Replies