Auto Gallery not working

Page: 1

Author Post
Member
Registered: Nov 2018
Posts: 3
Hi, I am very new to floatbox, just started to folllow the instructions. Unfortunately i haven't gotten very far, stuck at the gallery automatically popping up. Here 's the code

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>

<link rel="stylesheet" href="/floatbox/floatbox.css" />
<script src="/floatbox/floatbox.js"></script>

</head>

<body>
<a href="Images/Glacier_Melting.jpg"><img src="Images/tn_Glacier_Melting.jpg" width="200" height="200" alt="glacier" /></a>
<a href="Images/Vantage Point.jpg"><img src="Images/tn_Vantage Point.jpg" width="200" height="200" alt="Vantage Point" /></a>
</body>
</html>


Thanks in advance, elcochef
Administrator
Registered: Aug 2008
Posts: 3350
Code snippets never help. A link to a page exhibiting a problem always helps.

In this case, it's probable that you haven't set the autoGallery option to the way you want it. The quickest way to enable autoGallery is to change "autoGallery: false" to "autoGallery: true" in fbOptions.js.
Member
Registered: Nov 2018
Posts: 3
http://elcoverschoof.nl/photo_gallery/default.html

this is the page i ' m sry i didn 't know that was better for helping me out. thanks for your reply. I changed the auto gallery option to true and it didn't make a diff.
Administrator
Registered: Aug 2008
Posts: 3350
The Floatbox software is not running on that page. Please see the quickstart section of the Instructions for the basics of installing and including Floatbox.
Member
Registered: Nov 2018
Posts: 3
Thanks for helping a total noob, i hope it didn't feel like waisting your time , you ' ve saved me quite some. the problem was the dwt. It wasn't in the template folder. And as soon as you said the software wasn 't running on the page, i noticed that the dwt seemed fine but in the gray part of the embeddded page the code didn t show up. so now it works. Many thanks.

Page: 1