Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthortheBavarian
    • CommentTimeDec 1st 2006 edited
     permalink
    Hello, great product! Everything is working smoothly, except I can't seem to figure out how to place the monoslideshow.xml file in a sub-directory. When I have it in the main directory it works fine. When I move it to a sub-directory it stops working altogether. Any suggestions? Thanks.
  1.  permalink
    • CommentAuthorCo
    • CommentTimeDec 6th 2006 edited
     permalink
    Hello, I tried to follow these instructions but I got stuck.

    My structure :
    mysite.com/portfolio/index.html
    mysite.com/portfolio/gallery/monoslideshow.swf
    mysite.com/portfolio/gallery/monoslideshow.xml
    mysite.com/portfolio/gallery/swfobject.js
    mysite.com/portfolio/gallery/album/ (not changed anything here for the moment)

    My code :

    <script type="text/javascript">
    // <![CDATA[
    var so = new SWFObject("gallery/monoslideshow.swf", "SOmonoSlideshow", "480", "360", "7", "#ffffff");
    so.addParam("base", "/gallery/");
    so.write("monoSlideshow");
    // ]]>
    </script>


    With the code above, the initial logo launches, but then there's a gray screen indicating a loading error.
    If I add a / before the firts call of the gallery folder, white screen only without any info.
    If I change so.write("monoSlideshow"); for so.write("monoSlideShowIndex"); nothing loads at all and it tells me to get Javascript/Flash.

    Thanks in advance for your help.
  2.  permalink
    Hi Co,

    Remove the backslash before "gallery" and change your so.addParam code to:

    so.addParam("base", "gallery/");

    that should work....
    • CommentAuthorCo
    • CommentTimeDec 6th 2006
     permalink
    Many thanks ! It works fine now *breaths deeply*.
    • CommentAuthortele5
    • CommentTimeDec 8th 2006 edited
     permalink
    I have the same problem. But I'm not able to solve it :-(
    Please can you help and paste the html code of a simple page as an example... I'dont know were I have to place the code (Body; Head)...

    var so = new SWFObject("/slideshow/monoslideshow.swf", "SOmonoslideshow", 480, 360, "7", "#ffffff");
    so.addParam("base", "slideshow/");
    so.write("monoSlideShowIndex");

    Thank you very much!
    • CommentAuthortheBavarian
    • CommentTimeDec 8th 2006 edited
     permalink
    tele5, try this sample code placed within the body of your page:


    <td>
    <div id="monoSlideshow">
    <p align="center"><strong>Please install <a href="http://www.adobe.com/go/getflash/">Flash</a> and turn on Javascript to view the Flash slideshow</strong><br />
    If you cannot view this page please <a href="http://www.adobe.com/go/getflash/">click here</a>
    to download Flash </p>
    </div>

    <script type="text/javascript">
    // <![CDATA[
    var so = new SWFObject("slideshow/monoslideshow.swf", "SOmonoSlideshow", "480", "360", "7", "#ffffff");
    so.addParam("base", "slideshow/");
    so.write("monoSlideshow");
    // ]]>
    </script>
    </td>
    • CommentAuthortele5
    • CommentTimeDec 8th 2006
     permalink
    Thank you for your quick help, it works (on a simple page). I use Dreamweaver 8 with own website templates. There it doesnt works.
    Please can you helb me once again.

    Can I also put in this kind of way with additional parameters like the album path.

    Here my code of the page:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Unbenanntes Dokument</title>
    </head>

    <body>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="480" height="360">
    <param name="movie" value="velcrea/kaffeebohne/diashow/monoslideshow.swf" />
    <param name="quality" value="high" />
    <embed src="velcrea/kaffeebohne/diashow/monoslideshow.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480" height="360"></embed>
    </object>
    </body>
    </html>
    • CommentAuthortheBavarian
    • CommentTimeDec 8th 2006 edited
     permalink
    Try this. From what I understand you have to create a div and give an id of "monoSlideshow" where ever you want to put Monoslideshow. Then the javascript calls the SWF, which is written from the monoslideshow.xml Basically you are using the SWFObject way to embed. (Anyone please correct me if I'm wrong) I hope this helps!

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Unbenanntes Dokument</title>
    <script type="text/javascript" src="swfobject.js"></script>
    </head>

    <body>
    <div id="monoSlideshow">
    </div>

    <script type="text/javascript">
    // <![CDATA[
    var so = new SWFObject("slideshow/monoslideshow.swf", "SOmonoSlideshow", "480", "360", "7", "#ffffff");
    so.addParam("base", "slideshow/");
    so.write("monoSlideshow");
    // ]]>
    </script>
    </body>
    </html>