Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Seeking assistance with web slideshow
Old 12-19-2005, 09:04 PM Seeking assistance with web slideshow
Junior Talker

Posts: 4
Trades: 0
I am designing a website for our not-for-profit youth football league and I would really like to put a slideshow on the frontpage but it seems like the only way to do this is with javascript and, well, I am NO code writer. I downloaded this script from a site and it seems like it should work. There are three sections of code to go in various locations (body, head, and location of slideshow) and I think I have them placed in the right spot but the slideshow just wont seem to go. Would it be possible for someone out there to take a look at my coding and tell me where I went wrong? If this is too much trouble would anyone have any other suggestion for me to get a slideshow onto our site?

Thank you for any replies

Wulvyn
Wulvyn is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-20-2005, 02:46 AM
pappasaa's Avatar
Ultra Talker

Posts: 268
Trades: 0
post up the cobe and i will look at it for you
pappasaa is offline
Reply With Quote
View Public Profile Visit pappasaa's homepage!
 
Old 12-20-2005, 02:22 PM Is this ok?...
Junior Talker

Posts: 4
Trades: 0
Someone was saying that it had to do with my pictures being on an H drive. This true?

Heres the code:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Rapids Raptors Football</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="styles.css" rel="stylesheet" type="text/css">
<SCRIPT Language="JavaScript"><!--
// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header
// =======================================
// set the following variables
// =======================================
// Set speed (milliseconds)
var speed =
// Specify the image files
var Pic = new Array()
Pic[1] = 'H:\inetpub\Raptors Site\1.jpg'
Pic[2] = 'H:\inetpub\Raptors Site\2.jpg'
Pic[3] = 'H:\inetpub\Raptors Site\3.jpg'
Pic[4] = 'H:\inetpub\Raptors Site\4.jpg'
Pic[5] = 'H:\inetpub\Raptors Site\5.jpg'
Pic[6] = 'H:\inetpub\Raptors Site\6.jpg'
Pic[7] = 'H:\inetpub\Raptors Site\7.jpg'
Pic[8] = 'H:\inetpub\Raptors Site\8.jpg'
Pic[9] = 'H:\inetpub\Raptors Site\9.jpg'
Pic[10] = 'H:\inetpub\Raptors Site\10.jpg'
Pic[11] = 'H:\inetpub\Raptors Site\11.jpg'
Pic[12] = 'H:\inetpub\Raptors Site\12.jpg'
Pic[13] = 'H:\inetpub\Raptors Site\13.jpg'
Pic[14] = 'H:\inetpub\Raptors Site\14.jpg'
Pic[15] = 'H:\inetpub\Raptors Site\15.jpg'
Pic[16] = 'H:\inetpub\Raptors Site\16.jpg'
// =======================================
// do not edit anything below this line
// =======================================
var t
var j = 0
var p = Pic.length
var preLoad = new Array()
for (i = 0; i < p; i++){
preLoad[i] = new Image()
preLoad[i].src = Pic[i]
}
function runSlideShow(){
document.images.SlideShow.src = preLoad[j].src
j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runSlideShow()', speed)
}
function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}
function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}
function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
return null;
}
// -->
</script>
<style type="text/css">
<!--
.style12 {
color: #FFFFFF;
font-weight: bold;
}
.style13 {color: #630031}
.style22 {font-size: 10px}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
.style27 {
color: #FFFFFF;
font-size: 24px;
}
-->
</style>
</head>
<body bgcolor="#999999" text="#000000" link="#000000" vlink="#000000" alink="#000000" onload="FP_preloadImgs(/*url*/'button2.jpg',/*url*/'button3.jpg')">
<table width="85%" height="563" border="2" align="center" cellpadding="0" cellspacing="0" bordercolor="#630031">
<tr bordercolor="#000000">
<td width="46%" height="17" valign="top" bordercolor="#000000" bgcolor="#000000"><font face="verdana" size="-2" color="#ffffff"><b>&nbsp;The
Official Rapids Raptors Site</b></font></td>
<td width="54%" align="right" valign="top" bgcolor="#000000"><div align="right"><font face="verdana" size="-2" color="#ffffff"><b>Raptor
Hotline 422-1927&nbsp;</b><br>
</font></div></td>
</tr>
<tr bordercolor="#660033">
<td height="65" bgcolor="#660033"><img src="rap_title.gif" width="303" height="65"> </td>
<td align="right" valign="middle" bgcolor="#660033"><div align="right"><font face="verdana" size="-2" color="#ffffff"><b><i><font size="5">&quot;Learning
to Love the Game!&quot;</font></i></b></font><font size="5"></font></div></td>
</tr>
<tr align="center" valign="middle" bordercolor="#000000">
<td height="52" colspan="2" bgcolor="#000000"><a href="index.html"><img src="Buttons/cooltext2706484.gif" width="99" height="36" border="0"></a><a href="About%20Page/about.htm"><img src="Buttons/about.gif" width="99" height="36" border="0"></a><a href="Teams%20Page/teams.htm"><img src="Buttons/teams.gif" width="99" height="36" border="0"></a><a href="Calendar%20Page/calendar.htm"><img src="Buttons/calendar.gif" width="99" height="36" border="0"></a><a href="Photos%20Page/photos.html"><img src="Buttons/photos.gif" width="99" height="36" border="0"></a><a href="Forms%20Page/forms.htm"><img src="Buttons/Forms.gif" width="99" height="36" border="0"></a><a href="Contact%20Page/contact.htm"><img src="Buttons/contact.gif" width="99" height="36" border="0"></a><a href="Sponsors%20Page/sponsors.htm"><img src="Buttons/sponsors.gif" width="99" height="36" border="0"></a></td>
</tr>
<tr align="center" valign="middle" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<td height="423" colspan="2"><div align="center"></div>
<table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
<tr valign="bottom" class="normtext">
<td width="2%" rowspan="4" valign="top"><div align="center"></div> <div align="left"></div> <div align="left"></div> <p>&nbsp;</p>
<div align="right"></div> <div align="right" class="smaller">
<div align="right"></div>
</div> <div align="right"></div></td>
<td width="32%" height="295" valign="top"><table width="256" height="277" border="4" align="left" bordercolor="#630031" bgcolor="#FFFFFF">
<tr>
<td width="246" height="64" valign="top" bordercolor="#630031"><div align="center"><img src="Buttons/raptor%20news.gif" width="203" height="41" align="top"></div> <div align="center" class="style12">
<div align="center" class="style13">December 13, 2005</div>
</div> </td>
</tr>
<tr>
<td height="199" valign="top" bordercolor="#FFFFFF"><p class="style22">Looking For Coaches for the 2006 season. Please fill out the form and return to Brian Wendt.</p>
<p class="style22">Interested in being on the board to help make desisions? Contact Rob Wefel</p>
</td>
</tr>
</table></td>
<td width="23%" valign="top"><table width="179" border="4" align="center" cellpadding="10" cellspacing="0" bordercolor="#CCCCCC" bgcolor="#FEFB85">
<tr>
<td width="143" align="center" valign="top"><div align="left"><strong><a href="coachingopportunities.htm">Coaching Opportunities </a></strong></div></td>
</tr>
<tr>
<td height="40" align="center" valign="top"><div align="left"><strong><a href="volunteeropportunities.htm">Volunteering Opportunities </a></strong></div></td>
</tr>
<tr>
<td align="center" valign="top"><div align="left"><strong><a href="participants.htm">League Participants </a></strong></div></td>
</tr>
<tr>
<td align="center" valign="top"><div align="left"><strong><a href="footballcamps.htm">Football Camp Opportunities </a></strong></div></td>
</tr>
</table>
<div align="center"></div> </td>
<td width="41%" valign="top" bordercolor="#630031"><table width="321" border="2" align="center" bordercolor="#630031" bgcolor="#520029">
<tr>
<td width="309" height="266" align="center" valign="middle" bordercolor="#630031" bgcolor="#FFFFFF"><div align="center"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="VU" height=150 width=150>
<div align="right"><img src="1.jpg" name='SlideShow' width=313 height=264 align="top"></div></td>
</tr>
</table></div></td>
</tr>
</table></td>
<td width="2%" rowspan="4" valign="top">&nbsp;</td>
</tr>
<tr valign="bottom" class="normtext">
<td width="32%" valign="top" bgcolor="#FFFFFF"><div align="center"><img src="Buttons/highlights.gif" width="178" height="64" border="2" align="top"></div></td>
<td width="23%" valign="top" bordercolor="#000000" bgcolor="#FFFFFF"><div align="center" class="style27"><a href="Expectations/expectations.htm"><img src="site%20pictures/expectations.jpg" width="175" height="64" border="2" align="top"></a></div></td>
<td height="82" valign="top" bordercolor="#630031" bgcolor="#FFFFFF"><div align="center"><a href="raptormerchandise.htm"><img src="Buttons/raptor%20merchandise%20logo.jpg" width="250" height="64" border="2"></a></div></td>
</tr>
<tr valign="bottom" class="normtext">
<td height="29" rowspan="2" align="left" valign="bottom" class="style22"><p align="left">webdesign donated by Eric Morzfeld</p> </td>
<td rowspan="2" align="left" valign="bottom" class="style22"><div align="center"></div></td>
<td align="left" valign="bottom" bordercolor="#630031"><div align="right" class="style22">
<div align="right">
<p>Official Website of the Rapids Raptors</p>
</div>
</div></td>
</tr>
<tr valign="bottom" class="normtext">
<td align="left" valign="bottom" bordercolor="#630031"><div align="right"><span class="style22">All rights reserved &copy; 2005-200?</span></div></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
Wulvyn is offline
Reply With Quote
View Public Profile
 
Old 12-20-2005, 04:54 PM
RoLLiNLoW54's Avatar
Super Talker

Posts: 116
Location: Canandaigua, NY
Trades: 0
yes, that is most likely your problem. your images need to reside on the internet (via http://somedomain.com)

the way you have it set up, the web page will look to the viewers computer for an 'H:' drive.
__________________

Please login or register to view this content. Registration is FREE
: A distinguished web presence begins with distinguished web developers.
RoLLiNLoW54 is offline
Reply With Quote
View Public Profile Visit RoLLiNLoW54's homepage!
 
Reply     « Reply to Seeking assistance with web slideshow
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.75888 seconds with 12 queries