S
Sue Barth
Hi all,
I hope I'm in the right ng for this...
I made an .asp page that allows users to toggle thru a directory of photos.
The page accomplishes the following:
selects a directory of photos based on a drop down
uses the fso to obtain the # of photos in the directory
cycles thru the photos w forward and backward buttons that send the pic
# with a +1 or -1 value
retrieve's & displays the rs's photo description field from a db based
on its pic #
The thing that is awkward is that the page refreshes itself w ea request.
Is there any way to remain in .asp and not refresh?
OR
I found some javascript that is nice and will cycle thru the pics with the
forward & backward buttons, but I can't seem to make the javascript send the
value of the next or previous pic back to the .asp function that retrieves
the description field from the db. I definitely don't want to hardcode
these for each directory! And please forgive me, but I am not at all
proficient in js...
Has anyone ever done this before and if so, how can I retrieve that value?
Nothing I've done seems to work. The javascript picks up the values of the
..asp code on the initial load, but after that, I can't seem to make the
javascript functions requery the .asp function with the newly selected
picture #... The .asp values remain the same while the js values are
correctly changing...
Any advice would be greatly appreciated!
I hope I'm in the right ng for this...
I made an .asp page that allows users to toggle thru a directory of photos.
The page accomplishes the following:
selects a directory of photos based on a drop down
uses the fso to obtain the # of photos in the directory
cycles thru the photos w forward and backward buttons that send the pic
# with a +1 or -1 value
retrieve's & displays the rs's photo description field from a db based
on its pic #
The thing that is awkward is that the page refreshes itself w ea request.
Is there any way to remain in .asp and not refresh?
OR
I found some javascript that is nice and will cycle thru the pics with the
forward & backward buttons, but I can't seem to make the javascript send the
value of the next or previous pic back to the .asp function that retrieves
the description field from the db. I definitely don't want to hardcode
these for each directory! And please forgive me, but I am not at all
proficient in js...
Has anyone ever done this before and if so, how can I retrieve that value?
Nothing I've done seems to work. The javascript picks up the values of the
..asp code on the initial load, but after that, I can't seem to make the
javascript functions requery the .asp function with the newly selected
picture #... The .asp values remain the same while the js values are
correctly changing...
Any advice would be greatly appreciated!