View Full Version : open picture in same window--immediate
amar1943
10-04-2005, 09:31 PM
hi
i need the picutre at a specific url to open in the same flash window....
which command do i use...i used getUrl(url,"_self");
but this doesnt work..
can anyone help me out in this..
pan69
10-05-2005, 07:11 AM
Hi,
Can you so us your exact code please?
amar1943
10-05-2005, 03:00 PM
function showLargePhoto(photoOID)
{
if (photoOID != unknown)
{
url = "http://orb.ifas.ufl.edu/TREESServlet/servlet/TREESServlet?command=getHighResolutionImage&oid="+photoOID;
trace("url is----------"+url);
getURL("javascript:Launch(\""+url+"\")");
}
}
this is my exact code....
i need the photo in the url to be displayed in a more sophisticated manner but all in the sammee window... not opening in a new browser window...
pan69
10-05-2005, 06:41 PM
I don't think you need to add the extra quotes, otherwise the paramter passed to javascript doesn't start with http://.... but with "http://....".
getURL("javascript:Launch("+url+")");
amar1943
10-05-2005, 07:22 PM
ya but how do i make it pop up on the same window???????
pan69
10-06-2005, 05:45 AM
You would use the getURL("url","_self"); that you initially said you used.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.