Topic: Galleries Work on Mac Not On PC

I have been making a couple galleries for a few different websites.  And they all work on my Mac at home and on my Mac at work.  The galleries work on safari and opera.  However, when client or boss try to view on pc all they get is a white box that has an unusable scroll bar.  I have searched the forums for an answer.  The index.html file is set at 100%.  My boss can view the simple viewer on our webpage still so it is not a plugin or compatability issue.  So, I tried to take the viewer file that he could view into my new galleries and still no luck. 


Any Help?

Matt

I guess I should also tell you that i created in photoshop.  And I am uploading using filezilla.  www vsncom com/customsign/gallery2 html      is one of the sites that the viewer is not working right on pc.  Another one is www hendersonport com/Workforcetraining html       One that my boss CAN view is www vsncom com/flash/index html

Re: Galleries Work on Mac Not On PC

It has to do with how are you embedding the gallery. In the one that works you are using SWFObject and in the other two your are not. SWFObject should be in the simpleveiwer download file or you can get it here.

The html below is an example of how to use SWFObject

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http&#58;//www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http&#58;//www.w3.org/1999/xhtml" xml&#58;lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Your Simpleviewer Gallery</title>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
         var flashvars = &#123;&#125;;
         flashvars.firstImageIndex = "0";
         var params = &#123;&#125;;
         params.play = "true";
         params.menu = "false";
         params.quality = "best";
         params.scale = "noscale";
        //params.wmode = "transparent";
         params.allowfullscreen = "false";
         params.allowScriptAccess = "sameDomain";
         var attributes = &#123;&#125;;
         attributes.id = "galleryContent";
         swfobject.embedSWF&#40;"yourgalleries.swf", "galleryContent", "600", "480", "8.0.0", false, flashvars, params, attributes&#41;;
</script>
<style type="text/css" media="screen">
    object &#123; outline&#58;none; &#125;
</style>
</head>
<body>
<div id="galleryContent">
   <p>In order to view these galleries you must have <a href="http&#58;//www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Adobe Flash Player</a> installed.
   If you know that you have Flash installed, then please ensure JavaScript and/or Active Content are enabled.</p>
</div>
</body>
</html>
Mike Richards
SimpleViewer Support Team.

Re: Galleries Work on Mac Not On PC

I found a fix on a different forum that worked...however when using the swf file how do i manipulate the background color?  Changing the gallery.xml file doesnt seem to do it.  www hendersonport com/Workforcetraining html

Re: Galleries Work on Mac Not On PC

I got the background to change by adding a solid color background image.  I know there is a better way.  But, it works for now.  So, thats a good thing.

Re: Galleries Work on Mac Not On PC

You can do that or set the background transparent.

params.wmode = "transparent";

Mike Richards
SimpleViewer Support Team.

Re: Galleries Work on Mac Not On PC

To set the background color, check the FAQ Q18: http://www.airtightinteractive.com/simp … r/faq.html

Felix Turner
SimpleViewer Support Team.