Topic: Help! I can't get SV to work at all!

I really need some help.  I have now spent HOURS trying to make SimpleViewer Pro work on my site.  Here's the set up - on my site I have 6 different pages that will each have its own gallery.  I believe I will need six different Gallery folders to accomplish this.  I've created one gallery folder so far (named gallerybshow) using SVBuilder but I cannot get the gallery embedded in my page.

Here is the page in question:  http://www.luckypennycakes.com/LuckyPen … owers.html

In the Head section I have pasted:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL="gallerybshow/";
flashvars.galleryURL = "gallery.xml";
var params = {};
params.bgcolor = "E0CDE5";
params.allowfullscreen = true;
params.allowscriptaccess = "always";
swfobject.embedSWF("gallerybshow/gallery.swf", "flashContent", "100%", "100%", "9.0.124", false, flashvars, params);
</script>

In the Body section I have pasted:
<div id="flashContent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.adobe.com/go/getflashplayer/">Get Flash.</a></div>

Hoping someone can shed some light on my ignorance because I'm sure that's what it is!

Thanks

Re: Help! I can't get SV to work at all!

swfobject.embedSWF("gallerybshow/gallery.swf", "flashContent", "100%", "100%", "9.0.124", false, flashvars, params);

States that the simpleviewer gallery is called gallery.swf and can be found at http://www.luckypennycakes.com/gallerybshow/gallery.swf if you go to that link you will see that it does not exist.  However if you go to http://www.luckypennycakes.com/galleryb … viewer.swf you will find that this does exist.

so change the swfobject line to:

swfobject.embedSWF("gallerybshow/simpleviewer.swf", "flashContent", "100%", "100%", "9.0.124", false, flashvars, params);
Mike Richards
SimpleViewer Support Team.

Re: Help! I can't get SV to work at all!

Hi Mike,

Thanks for the reply.  I followed your directions but it still doesn't work.

Now my head says:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL="gallerybshow/";
flashvars.galleryURL = "gallery.xml";
var params = {};
params.bgcolor = "E0CDE5";
params.allowfullscreen = true;
params.allowscriptaccess = "always";
swfobject.embedSWF("gallerybshow/simpleviewer.swf", "flashContent", "100%", "100%", "9.0.124", false, flashvars, params);
</script>

In the body:
<div id="flashContent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.adobe.com/go/getflashplayer/">Get Flash.</a></div>

And the page still doesn't work (http://www.luckypennycakes.com/LuckyPen … owers.html). What am I missing now?

Thank you!
Laura

Re: Help! I can't get SV to work at all!

The gallery is working for me, did you fix it? If you are still having trouble try clearing your browsers cache.

Mike Richards
SimpleViewer Support Team.

Re: Help! I can't get SV to work at all!

Hi Mike,

No, I didn't fix it and it still isn't working for me.  I cleared my cache, my browser history, cookies, everything.  No luck.  I also downloaded Safari and tried to view it that way and it doesn't work there either.  All I see is my menu bar, title, header and the message "SimpleViewer requires JavaScript and the Flash Player. Get Flash."  So you are seeing the actual gallery populate in that space?

Hoping you can help me solve this.

Thanks
Laura

Re: Help! I can't get SV to work at all!

Hi Mike -

This still isn't working for me.  Can you help me at all? If I can't get this to work can I get a refund on the Pro download?

Frustrated,
Laura

Re: Help! I can't get SV to work at all!

The simpleviewer gallery is working for me by viewing both the LuckyPennyCakesBabyShowers page and linking directly to the swf. I have tested it in Xp with firefox/safari/chrome and linux firefox/safari/chrome. Opera and IE8 are having issues, I would start by removing <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> from the top of your doc and fixing these validation errors.


<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
<!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"><!-- InstanceBegin template="/Templates/LPC.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Lucky Penny Cakes - Baby Showers</title>

<!-- SIMPLEVIEWER HEAD. Paste this into the head of the HTML page-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL="gallerybshow/"; 
flashvars.galleryURL = "gallery.xml";
var params = {};
params.bgcolor = "E0CDE5";
params.allowfullscreen = true;
params.allowscriptaccess = "always";
swfobject.embedSWF("gallerybshow/simpleviewer.swf", "flashContent", "100%", "100%", "9.0.124", false, flashvars, params);
</script>

<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="../twoColLiqLtHdr.css" rel="stylesheet" type="text/css" /><!--[if IE]>
<style type="text/css"> 
/* place css fixes for all versions of IE in this conditional comment */
.twoColLiqLtHdr #sidebar1 { padding-top: 30px; }
.twoColLiqLtHdr #mainContent { zoom: 1; padding-top: 15px; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
<style type="text/css">
<!--
.twoColLiqLtHdr #container #mainContent {
    font-family: Georgia, Times New Roman, Times, serif;
}
#mainContent {
    font-family: Georgia, Times New Roman, Times, serif;
}
body {
    background-color: #6e3686;
    margin-top: 0px;
}
body,td,th {
    font-family: 6e3686;
    font-size: x-small;
}
-->
</style>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_nbGroup(event, grpName) { //v6.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
      nbArr[nbArr.length] = img;
  } }
}
//-->
</script>
</head>

<body class="twoColLiqLtHdr" onload="MM_preloadImages('homemenupurple.gif','homemenupink.gif','aboutmenupurple.gif','aboutmenupink.gif','cakesmenupurple.gif','cakesmenupink.gif','infomenupurple.gif','infomenupink.gif','contactmenupurple.gif','contactmenupink.gif')">

<div id="container"> 
  <div class="MenuBarActive" id="header">
    <h1><img src="LPCLogoSM.gif" width="200" height="75" /><!-- InstanceBeginEditable name="Header" --><img src="babyshowers.gif" width="288" height="72" /><!-- InstanceEndEditable --></h1>
  <!-- end #header --></div>
  <div id="sidebar1">
<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><a href="welcome.html" target="_top" onclick="MM_nbGroup('down','group1','Home','homemenupurple.gif',1)" onmouseover="MM_nbGroup('over','Home','homemenupink.gif','homemenupurple.gif',1)" onmouseout="MM_nbGroup('out')"><img src="homemenupurple.gif" alt="" name="Home" border="0" id="Home" onload="" /></a></td>
  </tr>
  <tr>
    <td><a href="LuckyPennyCakesAbout.html" target="_top" onClick="MM_nbGroup('down','group1','About','aboutmenupurple.gif',1)" onMouseOver="MM_nbGroup('over','About','aboutmenupink.gif','aboutmenupurple.gif',1)" onMouseOut="MM_nbGroup('out')"><img name="About" src="aboutmenupurple.gif" border="0" alt="" onLoad="" /></a></td>
  </tr>
  <tr>
    <td><a href="LuckyPennyCakesGallery.html" target="_top" onClick="MM_nbGroup('down','group1','Cakes','cakesmenupurple.gif',1)" onMouseOver="MM_nbGroup('over','Cakes','cakesmenupink.gif','cakesmenupurple.gif',1)" onMouseOut="MM_nbGroup('out')"><img name="Cakes" src="cakesmenupurple.gif" border="0" alt="" onLoad="" /></a></td>
  </tr>
  <tr>
    <td><a href="LuckyPennyCakesInfo.html" target="_top" onClick="MM_nbGroup('down','group1','Info','infomenupurple.gif',1)" onMouseOver="MM_nbGroup('over','Info','infomenupink.gif','infomenupurple.gif',1)" onMouseOut="MM_nbGroup('out')"><img name="Info" src="infomenupurple.gif" border="0" alt="" onLoad="" /></a></td>
  </tr>
  <tr>
    <td><a href="LuckyPennyCakesContact.html" target="_top" onClick="MM_nbGroup('down','group1','Contact','contactmenupurple.gif',1)" onMouseOver="MM_nbGroup('over','Contact','contactmenupink.gif','contactmenupurple.gif',1)" onMouseOut="MM_nbGroup('out')"><img name="Contact" src="contactmenupurple.gif" border="0" alt="" onLoad="" /></a></td>
  </tr>
</table>
<h3>&nbsp;</h3>
  <!-- end #sidebar1 --></div>
  <div id="mainContent"><!-- InstanceBeginEditable name="EditRegion5" -->

<!-- SIMPLEVIEWER BODY. Paste this into the body of the HTML page where you want to the gallery to appear -->
<div id="flashContent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.adobe.com/go/getflashplayer/">Get Flash.</a></div>

  <!-- InstanceEndEditable -->
    <h2>&nbsp;</h2>
<h1>&nbsp;</h1>
<!-- end #mainContent --></div>
    <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
  <div id="footer">
    <p align="right"><em>Copyright   © 2010 Lucky Penny Cakes. All rights reserved.</em></p>
  <!-- end #footer --></div>
<!-- end #container --></div>
</body>
<!-- InstanceEnd --></html>
Mike Richards
SimpleViewer Support Team.