Results 1 to 3 of 3

Thread: Change The Caption From Below To Above

  1. #1
    Join Date
    Feb 2006
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Change The Caption From Below To Above

    Refering to this script

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

    It works great for my needs, but I would like to have the captions go ABOVE the images instead of below it.

    Can you do this? And more importantly how? Thanks


  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Find this line:

    Code:
    contentobj.innerHTML='<center><img src="'+which+'"><br><br>'+description[tempobj.options.selectedIndex]+'</center>'
    Change it to this:

    Code:
    contentobj.innerHTML='<center>'+description[tempobj.options.selectedIndex]+'<br><br><img src="'+which+'"></center>'
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Feb 2006
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Perfect as always thanks so much

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
  •