Scripting help

A

Anthony

Can someone please help me? I built a rather basic website for a pizza

shop owned by mother-in-law and want to jazz it up a little with some
picture fades on the home page. I created the site in FP and wanted to

know if someone could help me with the scripting for the fade. A link
to the script was provided for me in the FP group but I am not exactly
sure where to put it in the scripting of my home page. The link is
http://javascript.internet.com/miscellaneous/fading-slide-show.html
The link for the pizza shop's web site is www.marengopizzatogo.com Any

help is appreciated.
 
J

javelin

Hi Anthony. The instructions say to copy the code to the HEAD, which
mean to put it in between the <head> and </head> tags. Then, it says
to "add the onLoad event handler into the BODY tag", which means that
with in the <body> tag, add the following phrase:
onLoad="runSlideShow()"

Where the code reads "Pic[0] = '1.jpg'", change that to the path where
you keep your images. Normally, this is under the images folder, so
change it to something like "Pic[0] = 'images/1.jpg'"

Also, add as many lines for the images you want to display ( "Pic[0] =
'1.jpg'", "Pic[1] = '2.jpg'", etc).

Hope that helps.
 
A

Anthony

Javelin, thanks for the prompt reply. I will try this when I get home
tonight.
Hi Anthony. The instructions say to copy the code to the HEAD, which
mean to put it in between the <head> and </head> tags. Then, it says
to "add the onLoad event handler into the BODY tag", which means that
with in the <body> tag, add the following phrase:
onLoad="runSlideShow()"

Where the code reads "Pic[0] = '1.jpg'", change that to the path where
you keep your images. Normally, this is under the images folder, so
change it to something like "Pic[0] = 'images/1.jpg'"

Also, add as many lines for the images you want to display ( "Pic[0] =
'1.jpg'", "Pic[1] = '2.jpg'", etc).

Hope that helps.

J said:
Can someone please help me? I built a rather basic website for a pizza

shop owned by mother-in-law and want to jazz it up a little with some
picture fades on the home page. I created the site in FP and wanted to

know if someone could help me with the scripting for the fade. A link
to the script was provided for me in the FP group but I am not exactly
sure where to put it in the scripting of my home page. The link is
http://javascript.internet.com/miscellaneous/fading-slide-show.html
The link for the pizza shop's web site is www.marengopizzatogo.com Any

help is appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,835
Latest member
lila30

Latest Threads

Top