Simpleview 1.9 flash gallery HELP

brom / 2010-09-07 22:38:49   

Hi guys,

I added the simleview flash gallery to my site, but ,i guess Im having problems to fit the gallery to my layout.

So It would be really cool to have suggestions on how to fit it! Should I edit the index.html of the plugin or gallery.xml options. Or play with the indexhibit layout ?

Here is how looks my problem http://www.visualreact.com/
I need to get rid of the header footer from index.html of the plugin. But when I do that flash gallery doesnt launch..

Looking for your help:)
Cheers!

brom / 2010-09-08 01:03:32   

help :(

Vaska A / 2010-09-08 02:23:59   

Get rid of all of it except what you need. You could simply insert the Slideviewer onto an exhibit page (via Indexhibit) with everything you would need to run it...something like this...

  1. <script type="text/javascript" src="swfobject.js"></script>
  2. <div id="flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>¬†¬†¬†¬†
  3. ¬†¬†¬†¬†<script type="text/javascript">
  4. ¬†¬†¬†¬†¬†¬†¬†¬†var fo = new SWFObject("viewer.swf", "viewer", "100%", "100%", "8", "#181818");
  5. ¬†¬†¬†¬†¬†¬†¬†¬†// SIMPLEVIEWER CONFIGURATION OPTIONS
  6. ¬†¬†¬†¬†¬†¬†¬†¬†// To use an option, uncomment it by removing the "//" at the start of the line
  7. ¬†¬†¬†¬†¬†¬†¬†¬†// For a description of config options, go to: 
  8. ¬†¬†¬†¬†¬†¬†¬†¬†// http://www.airtightinteractive.com/simpleviewer/options.html
  9. ¬†¬†¬†¬†¬†¬†¬†¬†//fo.addVariable("xmlDataPath", "gallery.xml");
  10. ¬†¬†¬†¬†¬†¬†¬†¬†//fo.addVariable("firstImageIndex", "5");¬†¬†¬†¬†
  11. ¬†¬†¬†¬†¬†¬†¬†¬†//fo.addVariable("langOpenImage", "Open Image in New Window");
  12. ¬†¬†¬†¬†¬†¬†¬†¬†//fo.addVariable("langAbout", "About");¬†¬†¬†¬†
  13. ¬†¬†¬†¬†¬†¬†¬†¬†//fo.addVariable("preloaderColor", "0xFFFFFF");
  14.         fo.write("flashcontent");    
  15.     </script>

All I've done is cut and paste things from the template. Once you do this, you made need to edit some paths but that should be really easy.

Another option would be to make a quick plugin out of this - there is a tutorial about the basics of making a plugin.

Either way, give it a try and let us know how it goes...we're around the help out. This is pretty easy though...you can do it.

This thread has been closed, thank you.