Results 1 to 4 of 4

Thread: Image Slide Show

  1. #1
    Join Date
    Aug 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Slide Show

    1) Script Title: Image slide show

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rightslide.htm

    3) Describe problem: can anyone tell me if i want to use any banner of any website then how i will put the link in this script or describe this script
    Last edited by ddadmin; 10-18-2006 at 10:33 PM.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Do you mean you wish to use this script to rotate your banner ads? The portion of the script to input your images/urls is:

    Code:
    var leftrightslide=new Array()
    var finalslide=''
    leftrightslide[0]='<a href="http://"><img src="dynamicbook1.gif" border=1></a>'
    leftrightslide[1]='<a href="http://"><img src="dynamicbook2.gif" border=1></a>'
    "
    "
    I would assume you'd just substitute the above code with your banner's image and link code, assuming it's a simple image banner.

  3. #3
    Join Date
    Aug 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    yes u r right but here i will put that link where my banner will be located or the link of a website like http://thesmsworld.sitesled.com/index.htm or banner location at my ftp server
    Quote Originally Posted by ddadmin
    Do you mean you wish to use this script to rotate your banner ads? The portion of the script to input your images/urls is:

    Code:
    var leftrightslide=new Array()
    var finalslide=''
    leftrightslide[0]='<a href="http://"><img src="dynamicbook1.gif" border=1></a>'
    leftrightslide[1]='<a href="http://"><img src="dynamicbook2.gif" border=1></a>'
    "
    "
    I would assume you'd just substitute the above code with your banner's image and link code, assuming it's a simple image banner.

  4. #4
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Code:
    leftrightslide[0]='<a href="http://www.dynamicdrive.com"><img src="dynamicbook1.gif" border=1></a>'
    leftrightslide[1]='<a href="http://www.javascriptkit.com"><img src="dynamicbook2.gif" border=1></a>'
    In the above two lines we are specifying to image file and the associated hyperlinks.

    If you look at the <a href="http://www.dynamicdrive.com"> here we are creating a link that points to dynamicdrive website and as a label for this link we are using a image which is represented using <img src="dynamicbook1.gif" border=1>. Here the image name is dynamicbook1.gif which is stored in the same location where your web page is stored (The page in which you are trying to incorporate this feature). If both stored in the same location you can refer them without using any path information.

    Like the above one the next line of code is used to point to another site using another image.

    I hope you can sort the things now

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •