Topic: Gallery size
Just wondering if its possible to change the size of the gallery?
You are not logged in. Please login or register.
SimpleViewer Forum → TiltViewer → Gallery size
Just wondering if its possible to change the size of the gallery?
In the embedding code line:
var fo = new SWFObject("TiltViewer.swf", "viewer", "100%", "100%", "9.0.28", "#000000");
... the first '100%' represents the width of the gallery and the second '100%' represents the height.
You can change these values to other percentages or to absolute pixel values, eg:
var fo = new SWFObject("TiltViewer.swf", "viewer", "800", "600", "9.0.28", "#000000");
Alternatively, you could leave the gallery dimensions to 100% x 100% and change the dimensions of the 'flashcontent' <div> (the container into which the gallery is embedded) via CSS in the <head> section of your HTML page, eg:
#flashcontent {
width: 800px;
height: 600px;
}
Thanks again Steven, works great.
SimpleViewer Forum → TiltViewer → Gallery size
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.