dynamic drive script

S

salmonella

A bit basic but out of my area

I would like to use some dynamic drive script for moving picts but I am lost
on how to change the script to add my picts. The portion of the script I need
is as follows:

//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<a href="http://"><img src="dynamicbook1.gif"
border=1></a>'

If the path to a picture on my web is http://myweb.com/images/image1jpg- how
would the script be changed to link to "image1.jpg"??

THANKS!!
 
T

Thomas A. Rowe

You need to contact the author of the script!

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
J

Jon Spivey

Hi,
this line
leftrightslide[0]='<a href="http://"><img src="dynamicbook1.gif"
is forming an array to hold your pictures and links so you can add new items
as needed, eg
leftrightslide[0]='<a href="Page1.htm"><img
src="images/dynamicbook1.gif"></a>';
leftrightslide[1]='<a href="Page2.htm"><img
src="images/dynamicbook2.gif"></a>';
leftrightslide[2]='<a href="Page3.htm"><img
src="images/dynamicbook3.gif"></a>';
....and so on.....

If you didn't want the pictures to be links you'd have
leftrightslide[0]='<img src="images/dynamicbook1.gif">';
leftrightslide[1]='<img src="images/dynamicbook2.gif">';
and so on......
 
S

salmonella

Got it!

Many Thanks!


Jon Spivey said:
Hi,
this line
leftrightslide[0]='<a href="http://"><img src="dynamicbook1.gif"
is forming an array to hold your pictures and links so you can add new items
as needed, eg
leftrightslide[0]='<a href="Page1.htm"><img
src="images/dynamicbook1.gif"></a>';
leftrightslide[1]='<a href="Page2.htm"><img
src="images/dynamicbook2.gif"></a>';
leftrightslide[2]='<a href="Page3.htm"><img
src="images/dynamicbook3.gif"></a>';
....and so on.....

If you didn't want the pictures to be links you'd have
leftrightslide[0]='<img src="images/dynamicbook1.gif">';
leftrightslide[1]='<img src="images/dynamicbook2.gif">';
and so on......

--
Cheers,
Jon
Microsoft MVP


salmonella said:
A bit basic but out of my area

I would like to use some dynamic drive script for moving picts but I am
lost
on how to change the script to add my picts. The portion of the script I
need
is as follows:

//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<a href="http://"><img src="dynamicbook1.gif"
border=1></a>'

If the path to a picture on my web is http://myweb.com/images/image1jpg-
how
would the script be changed to link to "image1.jpg"??

THANKS!!
 
S

salmonella

Andrew,
in general yes, but not for someone like me who knows almost nothing about
this sort of thing figuring out how to write the path was not clear. Although
he did not actually answer my path question he gave an example that showed an
example of the path (images/dynamicbook2.gif) and I realized my mistake in
writing the path, thus indirectly he answered my question.


later..............

Andrew Murray said:
doesn't the instructions on installing the script cover this?

salmonella said:
A bit basic but out of my area

I would like to use some dynamic drive script for moving picts but I am
lost
on how to change the script to add my picts. The portion of the script I
need
is as follows:

//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<a href="http://"><img src="dynamicbook1.gif"
border=1></a>'

If the path to a picture on my web is http://myweb.com/images/image1jpg-
how
would the script be changed to link to "image1.jpg"??

THANKS!!
 

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

Top