473,394 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Scripting help

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/misce...lide-show.html
The link for the pizza shop's web site is www.marengopizzatogo.com Any

help is appreciated.

Dec 27 '06 #1
2 1078
Hi Anthony. The instructions say to copy the code to the HEAD, which
mean to put it in between the <headand </head tags. Then, it says
to "add the onLoad event handler into the BODY tag", which means that
with in the <bodytag, 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
Anthony wrote:
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/misce...lide-show.html
The link for the pizza shop's web site is www.marengopizzatogo.com Any

help is appreciated.
Dec 27 '06 #2
Javelin, thanks for the prompt reply. I will try this when I get home
tonight.

javelin wrote:
Hi Anthony. The instructions say to copy the code to the HEAD, which
mean to put it in between the <headand </head tags. Then, it says
to "add the onLoad event handler into the BODY tag", which means that
with in the <bodytag, 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
Anthony wrote:
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/misce...lide-show.html
The link for the pizza shop's web site is www.marengopizzatogo.com Any

help is appreciated.
Dec 27 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Joe Foran | last post by:
Hi everyone, I'm in a bit of a bind... I have some batch scripting ability but next to no skill in VBS. I had a set of scripts that would: Query the registry key...
9
by: What-a-Tool | last post by:
Dim MyMsg Set MyMsg = server.createObject("Scripting.Dictionary") MyMsg.Add "KeyVal1", "My Message1" MyMsg.Add "KeyVal2", "My Message2" MyMsg.Add "KeyVal3", "My Message3" for i = 1 To...
1
by: MatthewRoberts | last post by:
Howdy All, I am having difficulty with two-way communication across AppDomains in an attempt to dynamically script applications. Everything works as expected, except when using ByRef parameters....
7
by: Scott M. | last post by:
How can I disable the cross-site scripting check for one particular page of a site?
6
by: RM | last post by:
This is from the new KOffice Announcement. http://www.koffice.org/announcements/announce-1.5.php '''This version of KOffice features a start of a unified scripting solution called Kross. Kross...
17
by: freemann | last post by:
Can anyone provide example code showing how to send form results to a results page, email and a comma delimited file? Notice that I need it going to all three locations. Details: I have forms...
5
WebMissy
by: WebMissy | last post by:
I have a forum all set up and everything works great. I decide to use IE 7 for the benefit of transparent PNG files. All is well with that but now my scripting for my colored scrollbars doesn't show...
8
by: Nagarajan | last post by:
Hi group, I need to develop a web application. I am in a fix as to choose among the various server-side scripting options. I want to explore python (am a newbie) to gain expertise and upon search,...
12
by: jim | last post by:
I am new to web programming with javascript and I was wondering if javascript is the only scripting language that run in browsers like Firefox, IE and Opera or are there others? The scripting...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.