milt95033
10-19-2005, 02:16 PM
I have a perl script that makes web photo galleries. You give a set of pictures
to a run of the script and it makes a directory with a set of html pages and
pictures. These html pages are densely interlinked, i.e. there are several ways
a user can move around as he browses thru the photo gallery. The user gets
out of the gallery by clicking on a "HOME PAGE" link found on every page.
Currently the URL for this home page link is fixed text given to the script when
it runs, so it is baked into each of the gallery pages. This fact means that it
is not really possible to link to a single picture gallery from more than one web
page.
I would like to be able to have the user go back to the page from which he
first entered the photo gallery if he clicks on the "HOME PAGE" link. I would
think Javascript should be able to do this, but I don't know enough yet to
know how. It would seem to depend on whether it is possible to store a
value that stays active as the user browses across multiple pages thru the
gallery, but I haven't yet seen a discussion that makes this clear.
Anybody have any ideas or thoughts?
Many thanks.
--Milt--
to a run of the script and it makes a directory with a set of html pages and
pictures. These html pages are densely interlinked, i.e. there are several ways
a user can move around as he browses thru the photo gallery. The user gets
out of the gallery by clicking on a "HOME PAGE" link found on every page.
Currently the URL for this home page link is fixed text given to the script when
it runs, so it is baked into each of the gallery pages. This fact means that it
is not really possible to link to a single picture gallery from more than one web
page.
I would like to be able to have the user go back to the page from which he
first entered the photo gallery if he clicks on the "HOME PAGE" link. I would
think Javascript should be able to do this, but I don't know enough yet to
know how. It would seem to depend on whether it is possible to store a
value that stays active as the user browses across multiple pages thru the
gallery, but I haven't yet seen a discussion that makes this clear.
Anybody have any ideas or thoughts?
Many thanks.
--Milt--