Topic: gpicture gallery

Hi

Am new to the sv builder and my question is after I have made a gallery the html page is usually filling the screen, what do I need to do to say alter the size of the html page say to a pop up size of 500x500 if you understand my question.

Re: gpicture gallery

You can change the dimensions of a gallery to 500px x 500px in the 'Customize -> Embed section' of svBuilder-Pro.
You can then use the embedding code provided on the 'Publish' tab to embed the gallery (at the specified size) in an existing web page alongside other content by following the instructions here.
If you actually want a gallery to pop-up in a new window at a specified size when the user clicks on a button or a link, then you could use JavaScript such as the following (where the 'index.html' file is the HTML index page of a gallery whose dimensions are 100% x 100%):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <script type="text/javascript">
        function open_gallery() {
            window.open('index.html', '_blank', 'width=500, height=500');
        }
    </script>
    <title></title>
</head>
<body>
    <input type="button" value="Open Gallery" onclick="open_gallery()">
</body>
</html>
Steven Speirs
SimpleViewer Support Team.