Topic: problem displaying simpleviewer in chrome and ff

Hi,  im using a non pro version of the  simpleviewer , currently trying it out. It works in IE , just some alignment problems.  However in chrome and FF ,i can partially view it. Any ideas. I used this code like described <div id="sv-parent" style="height:50%">
     <div id="sv-container"></div></div>

but it didn't work, here is the link

http://www.marknaji.com/gallery_test.html

thanks for your help.

Last edited by mkhouzam (2012-02-01 04:19:15)

Re: problem displaying simpleviewer in chrome and ff

However in chrome and FF ,i can partially view it.

Your gallery is displayed fully in Chrome 16 and Firefox 9.0.1 on my PC, though the main image is perhaps smaller than you would like (depending on the height of the browser window).
Rather than putting the 'sv-container' div inside a parent div (whose height is 50% that of its own parent div), try removing your 'sv-parent' div and setting the gallery's dimensions using absolute pixel values rather than percentages.
For example, try changing:

simpleviewer.load("sv-container", "100%", "100%", "transparent", true);

... to:

simpleviewer.load("sv-container", "800", "600", "transparent", true);

Steven Speirs
SimpleViewer Support Team.

Re: problem displaying simpleviewer in chrome and ff

Thank you steven, you da man! You are a genius. hahahah  works fine now.