Jump to content

Cooliris Javascript Problem

Guest strages

Recommended Posts

Guest strages

hiya there everyone,As i was playing around with this wonderfull cooliris slideshow script, i was having some problems with interacting with it. What i would like it to do is to let it automatically zoom in at the foto inside of it. the script is: <div style=" width: 300px; height: 250px; overflow:hidden; position:relative;"> <object id="ci_35053_o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="300" height="250"> <param name="movie" value="http://apps.cooliris.com/embed/cooliris.swf"/>'>http://apps.cooliris.com/embed/cooliris.swf"/> <param name="allowFullScreen" value="true"/> <param name="allowScriptAccess" value="always"/> <param name="bgColor" value="#121212" /> <param name="flashvars" value="feed=api://picasaweb.google.com/?user=dimitriehoekstra%26album=portfolio2&numrows=1&backgroundcolor=%23000000&style=light& glowcolor=%23000000&showembed=false&showsearch=false&showchrome=false&showNavArrows=false&backgroundAlpha=0.0&showReflections=true&itemGUID=http://picasaweb.google.com/data/entry/base/user/dimitriehoekstra/albumid/5407687066736603121/photoid/5407687259123741874?alt=rss&" <param name="wmode" value="opaque" /> <embed id="ci_35053_e" type="application/x-shockwave-flash" src="http://apps.cooliris.com/embed/cooliris.swf" width="300" height="250" allowFullScreen="true" allowScriptAccess="always" bgColor="#121212" flashvars="feed=api://picasaweb.google.com/?user=dimitriehoekstra%26album=portfolio2&numrows=1&backgroundcolor=%23000000&style=light&glowcolor=%23000000&showembed=false&showsearch=false&showchrome=false&showNavArrows=false&backgroundAlpha=0.0&showReflections=true&itemGUID=http://picasaweb.google.com/data/entry/base/user/dimitriehoekstra/albumid/5407687066736603121/photoid/5407687259123741874?alt=rss&" wmode="opaque"> </embed> </object> <script type="text/javascript"> var cooliris = { onEmbedInitialized : function() { alert("cooliris.embed is now available"); } cooliris.embed.selectItemByIndex(2); }; </script></div> the reference for it can be found here, but i lost it a litte :) : http://developer.cooliris.com/?p=embed/referenceIf someone could help me with this, its probably my own fault for not putting the javascript piece in the correct order or something :), It would be awesome that he or she could also help me let it interact with other parts on the website: for example letting aanother <div> spawn somewhere else on the same page!tx a lot in advancegreetings strages

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...