jgilbreath04
New Member
I have downloaded a free photoviewer for my site and cannot seem to get my personal pictures to work with it. The code I am using is as listed below:
<script type="text/javascript"
src="http://slideshow.triptracker.net/slide.js"></script>
<script type="text/javascript">
<!--
var viewer = new PhotoViewer();
viewer.add('/photos/my-photo-1.jpg');
viewer.add('/photos/my-photo-2.jpg');
viewer.add('/photos/my-photo-3.jpg');
//--></script>
<a href="javascript:void(viewer.show(0))"> Open Photo Viewer</a>
As of right know the script runs just fine. I just cannot seem to figure out the code to replace '/photos/my-photo-1.jpg' with my personal directory information so it will work.
so if anyone could throw a coding noob a bone it would be much appreciated.
Thank you very much for your time,
Joshua Gilbreath
<script type="text/javascript"
src="http://slideshow.triptracker.net/slide.js"></script>
<script type="text/javascript">
<!--
var viewer = new PhotoViewer();
viewer.add('/photos/my-photo-1.jpg');
viewer.add('/photos/my-photo-2.jpg');
viewer.add('/photos/my-photo-3.jpg');
//--></script>
<a href="javascript:void(viewer.show(0))"> Open Photo Viewer</a>
As of right know the script runs just fine. I just cannot seem to figure out the code to replace '/photos/my-photo-1.jpg' with my personal directory information so it will work.
so if anyone could throw a coding noob a bone it would be much appreciated.
Thank you very much for your time,
Joshua Gilbreath