multi pano embed php w jumi args take 3
Written by Graydon   
Thursday, 23 October 2008 02:21

This uses jumi arguments to pass the following:

 - php file to use

 - [0] div_id

 - [1] pano_id (only used to make sure mousewheefix is applied)

 - [2] xml file

... and does so with swfobject 2.1

 

Now, here's the next test... let's make the div ID's different... and the pano id's different (xml's are different) then what will happen? 

Pano 1


 

Pano 2 

 

 

Pano 3

 


Results: pretty much the same... ff handles it fine still... IE doesn't... but with an interesting twist... now, only the last pano on the page has the mousewheel fix... previously the first pano was the only one working.

 

From past testing with swfobject 1... this was expected.  The solution before was to have 2 php files... and only define the js includes in the first one. 

 


blog comments powered by Disqus
Last Updated on Thursday, 23 October 2008 02:46