#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Posts
    2
    Rep Power
    0

    Talking


    Howdy ya'll, i'm sorta new to javascript and programming in general, so pardon me if i'm a little ignorant =D

    I'm making a picture gallery. Each page has 1 picture on it. When you click "next" it goes to the next picture. The page is exactly the same, only the picture changes. I want to use 1 document for all the pictures, so the server does not have to keep on sending the same stupid document, just the picture. I know this is very doable, I just don't know how.

    -Chuck
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Location
    Salt Lake City
    Posts
    36
    Rep Power
    15

    Thumbs up


    Hi,
    I think you can use the document for displaying every images, just replace the image source....
    i.e. when the user clicks on the "Next" link, the same page is reloaded with a different image.
    You can get this done in different ways.... one method can be using the URL to pass the image name so that during loading, a javascript function reads the URL parameters & accordingly shows that particular image in the page.
    I hope this will be of some help.....
    Regards.
    Arijit
  4. #3
  5. No Profile Picture
    Senior Citizen
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jan 2001
    Location
    leftcoast
    Posts
    2,019
    Rep Power
    16
    Doable it is, but there's more to it than meets the eye...

    Here's a clever example that should give you some ideas (it's freeware).

    Also check siteexperts.
  6. #4
  7. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Location
    Salt Lake City
    Posts
    36
    Rep Power
    15
    Well you are right.
    Still I think it can also be presented in a much pleasant way.
    Ok... I will try out ..... when I am done, I will post it.

    Regards.
    Arijit
  8. #5
  9. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Location
    Salt Lake City
    Posts
    36
    Rep Power
    15

    Smile Well you may try this


    Hi,
    I have tried to make a similar picture slide presentation... in a very simple manner(therefore the look & feel is not that good :-) ).
    You may check this example at http://www14.brinkster.com/arismart/funzone/slide.htm

    I will be glad if its of any use to you.
    Regards.
    Arijit

IMN logo majestic logo threadwatch logo seochat tools logo