Thanks for the tip, i locked at my code in the index.html, and that code you gave me is there aldready, but in different places. I thought it would be easier if i copied my code here, so you can see if there´s any strange about it. There were links inside the code, and sitepoint don´t allow me to have links inside posts, so instead of the link I wrote LINK TO:, and then the adress. Here it is:
<html xmlns="LINK TO: w3" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>TiltViewer</title>
<script type="text/javascript" src="swfobject.js"></script>
<style type="text/css">
/* hide from ie on mac \\*/
html {
height: 100%;
overflow: hidden;
}
#flashcontent {
height: 100%;
}
/* end hide */
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #FFFFFF;
color:#ffffff;
font-family:sans-serif;
font-size:40;
}
a {
color:#cccccc;
}
</style>
</head>
<body> <div id="flashcontent">TiltViewer requires JavaScript and the latest Flash Player. <a href=LINK TO: getplashplayer">Get Flash here.</ a> </div>
<script type="text/javascript">
var fo = new SWFObject("TiltViewer.swf", "viewer", "100%", "100%", "9.0.28", "#FFFFFF");
// TILTVIEWER CONFIGURATION OPTIONS
// To use an option, uncomment it by removing the "//" at the start of the line
// For a description of config options, go to:
// LINK TO: tiltviewer
//FLICKR GALLERY OPTIONS
// To use images from Flickr, uncomment this block
//fo.addVariable("useFlickr", "true");
//fo.addVariable("user_id", "48508968@N00");
//fo.addVariable("tags", "jump,smile");
//fo.addVariable("tag_mode", "all");
//fo.addVariable("showTakenByText", "true");
// XML GALLERY OPTIONS
// To use local images defined in an XML document, use this block
fo.addVariable("useFlickr", "false");
fo.addVariable("xmlURL", "gallery.xml");
fo.addVariable("maxJPGSize","640");
//GENERAL OPTIONS
fo.addVariable("useReloadButton", "false");
fo.addVariable("columns", "5");
fo.addVariable("rows", "5");
//fo.addVariable("showFlipButton", "true");
//fo.addVariable("showLinkButton", "true");
fo.addVariable("linkLabel", "View image info");
fo.addVariable("frameColor", "0x000000");
fo.addVariable("backColor", "0xFFFF00");
fo.addVariable("bkgndInnerColor", "0xFFFFFF");
fo.addVariable("bkgndOuterColor", "0xFFFFFF");
//fo.addVariable("langGoFull", "Go Fullscreen");
//fo.addVariable("langExitFull", "Exit Fullscreen");
//fo.addVariable("langAbout", "About");
// END TILTVIEWER CONFIGURATION OPTIONS
fo.addParam("allowFullScreen","true");
fo.write("flashcontent");
</script>
</body>
</html>
As you can see there are many different variables depending on how you want to use the gallery. I dont want to use flickr, so maybe i have to set it up as an xml based page and do some xml code adjustments. But in the flickr options in the html above the “//” are all there…
Best regards:
Anders