|
|
Basic HTML embedding for PanosaladoHi there: I realized I'd neglected to show the basic method for embedding your PanoSalado presentation in a Web page. To wit: Using Geoff Stearns' SWFObject is recommended (http://blog.deconcept.com/2007/10/02/swfobject-2-0-beta/) This first example is the most basic. If an xml parameter is not defined for ModuleLoader.swf, it will look for the default of "Panosalado.xml": <script type="text/javascript" src="path/to/swfobject.js"></script>
<div id="flashcontentpanosalado">text which appears when user needs to install Flash</div> <script type="text/javascript"> The second & third examples define the xml parameter for ModuleLoader.swf to use: (method 1) <script type="text/javascript" src="path/to/swfobject.js"></script>
<div id="flashcontentpanosalado">text which appears when user needs to install Flash</div> <script type="text/javascript"> (method 2) <script type="text/javascript" src="path/to/swfobject.js"></script>
<div id="flashcontentpanosalado">text which appears when user needs to install Flash</div> <script type="text/javascript"> __________________
Patrick Cheatham
|
I wasn't able to get method
I wasn't able to get method #2 to work.
-Mike
Also, you should mention
Also, you should mention that you also need to update all the URLs in the XML file to match the absolute path.
Finally, please add this thread to the wiki!
-Mike
One more thing: The paths in
One more thing: The paths in the XML file need to also use the same relative path, even if the XML file is located in a subdirectory.
In the examples above, the relative path would be "path/to/".
-Mike