shakin360
29th of August 2006 (Tue), 01:40
I'm finally getting around to (trying to) build my website. I'm having troubles. I'm using dreamweaver by the way.
from the FAQ on the simpleviewer site.
11. How do I insert SimpleViewer into a pre-existing HTML page?
Copy the contents of your SimpleViewer gallery folder into the folder that contains your HTML page. Now edit your HTML page in a text editor. Add this code into the <head> tag:
<script type="text/javascript" src="swfobject.js"></script>
Add the following code in your HTML where you want SimpleViewer to appear. To set the size of SimpleViewer, replace "640", "480" with your required width and height
<div id="flashcontent">
SimpleViewer requires Macromedia Flash.
<a href="http://www.macromedia.com/go/getflashplayer/">
Get Macromedia Flash.</a> If you have Flash installed,
<a href="index.html?detectflash=false">click to view gallery</a>
</div>
<script type="text/javascript">
var fo = new SWFObject("viewer.swf", "viewer",
"640", "480", "7", "#181818");
fo.write("flashcontent");
</script>
When I follow the directions from the main site all I get is the wording ending with click to view gallery. When you click there it takes you to a seperate window showing just the simpleviewer gallery. It is not "embedded" in my table on my webpage.
Where am I going wrong?
from the FAQ on the simpleviewer site.
11. How do I insert SimpleViewer into a pre-existing HTML page?
Copy the contents of your SimpleViewer gallery folder into the folder that contains your HTML page. Now edit your HTML page in a text editor. Add this code into the <head> tag:
<script type="text/javascript" src="swfobject.js"></script>
Add the following code in your HTML where you want SimpleViewer to appear. To set the size of SimpleViewer, replace "640", "480" with your required width and height
<div id="flashcontent">
SimpleViewer requires Macromedia Flash.
<a href="http://www.macromedia.com/go/getflashplayer/">
Get Macromedia Flash.</a> If you have Flash installed,
<a href="index.html?detectflash=false">click to view gallery</a>
</div>
<script type="text/javascript">
var fo = new SWFObject("viewer.swf", "viewer",
"640", "480", "7", "#181818");
fo.write("flashcontent");
</script>
When I follow the directions from the main site all I get is the wording ending with click to view gallery. When you click there it takes you to a seperate window showing just the simpleviewer gallery. It is not "embedded" in my table on my webpage.
Where am I going wrong?