Return to Snippet

Revision: 9293
at October 28, 2008 20:49 by rowntreerob


Initial Code
var tempsite = gup('src_url');

if(tempsite){
   var sitelink = tempsite;
   var ipUrl = "vortexme.com";
}
 else {
   var sitelink=window.location.href;
   var ipUrl=sitelink.substring(7,sitelink.indexOf("/",7));
}

var swflink="http://"+ipUrl+"/iJam/VTX000056/VTX000056.swf?referer="+sitelink+"&ver=2.0&IpAddress="+ipUrl;
        var so = new SWFObject(swflink, "mymovie", "200", "510", "8", "white");

Initial URL

                                

Initial Description
shows that 2 required args to the swf are being set in JS
'swflink' contains 'referer' , 'IpAddress' arg values so they will not be undefined

Initial Title
javascript enclosing html sets referer , ipAddress for the .swf

Initial Tags
html

Initial Language
JavaScript