»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 09-01-2003, 09:01 AM   #1 (permalink)
Registered User
 
Join Date: Jul 2003
Location: NH
Posts: 180
atomicstomp is on a distinguished road
Send a message via AIM to atomicstomp
Kids Can you see anything wrong with this?

I would think this would work but it is not can anyone see whats wrong?

<script language="JavaScript">
<!=Hide from old browsers
var banners = new array()
banners[0] = "C://Documents and Settings\administrator. TENNEY\Desktop\tenney_web\images\AtomicSnowboardIn
Air.jpg"
banners[1] = "C://Documents and Settings\administrator.TENNEY\Desktop\tenney_web\i mages\BaseCamp@Nigth.jpg"
banners[2] = "C://Documents and Settings\administrator. TENNEY\Desktop\tenney_web\images\BaseCampWsnowbaor
ders@Nigth.jpg"
banners[3] = "C://Documents and Settings\administrator.TENNEY\Desktop\tenney_web\i mages\BaseLodgeWflags.jpg"
banners[4] = "C://Documents and Settings\administrator.TENNEY\Desktop\tenney_web\i mages\BCamp@Nigth.jpg"
banners[5] = "C://Documents and Settings\administrator.TENNEY\Desktop\tenney_web\i mages\Blodge.jpg"
banners[6] = "C://Documents and Settings\administrator. TENNEY\Desktop\tenney_web\images\Dan_Heading_To_Gl
ades.jpg"
banners[7] = "C://Documents and Settings\administrator.TENNEY\Desktop\tenney_web\i mages\Dan_In_Glades.jpg"
banners[8] = "C://Documents and Settings\administrator.TENNEY\Desktop\tenney_web\i mages\doug_e.psd.jpg"
banners[9] = "C://Documents and Settings\administrator.TENNEY\Desktop\tenney_web\i mages\PPLonLift.psd.jpg"
banners[10] = "C://Documents and Settings\administrator.TENNEY\Desktop\tenney_web\i mages\SkierGoingBig(2).jpg"
banners[11] = "C://Documents and Settings\administrator.TENNEY\Desktop\tenney_web\i mages\Tenney_from_far.psd.jpg"
banners[12] = "C://Documents and Settings\administrator.TENNEY\Desktop\tenney_web\i mages\DanInAir.jpg"
var bnrCnter = 0
function bancycle() {
bnrCntr = bnrCntr + 1
if (bnrCnter == 12) {
bnrCntr = 0
}
document.Banner.scr = banners[bnrCntr]
setTimeout("bnrcycle()",3000)
}
//-->
</script>

__________________
((*
*))
((*
*))
atomicstomp is offline   Reply With Quote
Old 09-01-2003, 09:17 AM   #2 (permalink)
Guest
Guest
 
Posts: n/a
hi atomicstomp

I'm not a JS expert, but I can comment that you need to change your absolute paths to relative paths for your jpgs... as it is, you are linking to images that are on your desktop and if you are trying to make the page work from a server or another machine, it won't.

Make sure you are uploading your images to the server, too.

Also, for cleaner file names, edit those "*.psd.jpg" file names to just "*.jpg". In PS, you have a "Save for Web" option which will allow you to optimize your images.

hth
  Reply With Quote
Old 09-01-2003, 10:11 AM   #3 (permalink)
Banned
 
foodbiz's Avatar
 
Join Date: Mar 2003
Location: Los Angeles
Posts: 355
foodbiz is on a distinguished road
socal is right

Get rid of this and make sure you point it to the correct folder on your site ---> C://Documents and Settings\administrator.TENNEY\Desktop\tenney_web\i mages\

Most likely replace with somethin like this tenney_web\images\
foodbiz is offline   Reply With Quote
Old 09-01-2003, 10:40 AM   #4 (permalink)
Registered User
 
Join Date: Oct 2001
Location: TOO close to Wash DC
Posts: 7,956
vass0922 is on a distinguished road
document.Banner.scr = banners[bnrCntr]

Should probably be

document.Banner.src = banners[bnrCntr]

__________________
<< Insert exceedingly large and overly verbose message of how 1337 you are here including full specs of every vehicle you've ever driven and PC you've owned >>
vass0922 is offline   Reply With Quote
Old 09-01-2003, 12:51 PM   #5 (permalink)
Registered User
 
Join Date: Jul 2003
Location: NH
Posts: 180
atomicstomp is on a distinguished road
Send a message via AIM to atomicstomp
I have not put it on the web yet just putting it all together first on my desktop to test. Should I still use "tenney_web\images\"?
__________________
((*
*))
((*
*))
atomicstomp is offline   Reply With Quote
Old 09-01-2003, 12:53 PM   #6 (permalink)
Registered User
 
Creatures's Avatar
 
Join Date: Jul 2002
Location: Switzerland
Posts: 3,962
Creatures is on a distinguished road
Send a message via ICQ to Creatures
yes because in the web it's not C:\ anymore it's totally different, there you just have a / and nothing else

Creatures
__________________
___)
(
____)REATURES
Creatures is offline   Reply With Quote
Old 09-01-2003, 01:49 PM   #7 (permalink)
Guest
Guest
 
Posts: n/a
Good catch, Vass
  Reply With Quote
Old 09-01-2003, 04:15 PM   #8 (permalink)
Registered User
 
Join Date: Jul 2003
Location: NH
Posts: 180
atomicstomp is on a distinguished road
Send a message via AIM to atomicstomp
Thanks I will give it a try in the AM
__________________
((*
*))
((*
*))
atomicstomp is offline   Reply With Quote
Old 09-01-2003, 04:19 PM   #9 (permalink)
Registered User
 
Join Date: Jul 2003
Location: NH
Posts: 180
atomicstomp is on a distinguished road
Send a message via AIM to atomicstomp
Quote:
Originally posted by vass0922
document.Banner.scr = banners[bnrCntr]

Should probably be

document.Banner.src = banners[bnrCntr]

Oh right good job that will probably do it.
__________________
((*
*))
((*
*))
atomicstomp is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 09:42 PM.