SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: What does this JS do?
-
Nov 2, 2006, 02:25 #1
- Join Date
- Jul 2002
- Location
- Wales
- Posts
- 175
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
What does this JS do?
Hi All,
Can anyone tell what this piece of code does?
Code:<script type="text/javascript"> var so = new SWFObject("http://domain-removed-byme/swfname.swf", "idxplayer", "180", "150", "8", "#979797"); so.addVariable("vidname", "testvid"); so.addVariable("desturl", "/test/test.asp?k=12"); so.write("player"); </script>
As you can see, I'm a bit fuzzy with this so can anyone clarify exactlt what's going on?
Regards
Rob
-
Nov 2, 2006, 03:57 #2
- Join Date
- Jun 2004
- Location
- Mumbai, India
- Posts
- 541
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I am not sure but if you change
so.write("player");
to
so.write("idxplayer");
I guess it will work....Vikrant Korde
S Y S T I M E, Mhape,
Mumbai, Maharashtra, India.
-
Nov 2, 2006, 04:45 #3
- Join Date
- Jul 2002
- Location
- Wales
- Posts
- 175
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I found this which pretty much explains all about it. Just in case someone's interested, here's a link:
http://blog.deconcept.com/swfobject/
Bookmarks