Results 1 to 3 of 3

Thread: Slide show question

  1. #1
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Slide show question

    Is it possible to put an outline or frame around each image?

    http://www.dynamicdrive.com/dynamici...dhtmlslide.htm

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Add a class value or an id value to the image tag here:
    Code:
    document.write('<img class="photoslider" src="'+photos[0]+'" name="photoslider" style="filter:revealTrans(duration=2,transition=23)" border=0>')
    then, add this to your CSS code:
    Code:
    .photoslider {
    outline: 2px solid black;
    }
    Good luck!

  3. #3
    Join Date
    Apr 2009
    Location
    India
    Posts
    41
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    if you want single border in each image in slide show

    it will be working
    Code:
    document.write('<img class="photoslider" src="'+photos[0]+'" name="photoslider" style="filter:revealTrans(duration=2,transition=23)" border=0>')
    i think, its not possible or not, if you want different border in each image, update border of image.


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
  •