> This may actually be best achieved with a JavaScript solution so
> I apologise
> if some regard it as OT.
>
> We're deploying one of our large manuals to the web (which is currently
> distributed as a Win 3.1 help file - those were the days) as HTML. One of
> its features (the win help version) is that it has a history function and
> users can back track. I want to try an emulate this for the last 5 or so
> pages the user was on.
>
> I know you can do this by using a href and using history - 1,
> history -2 etc
> but rather than have a simple image or bit of static text with a
> link I want
> to actually try to produce a small list with the name of the page
> they were
> on, linked to that page (the link can use history -1 etc but I want to
> actually get the name of the page if I can). After all users
> won't remember
> what the page was 5 clicks ago but it will help them if they can see the
> name of the page. The history function in JavaScript doesn't appear to
> provide this info.
Seeing as the history object in JavaScript is an array, you can refer to any
of the entries in it - BUT, it calls them all by URL, it's only the browser
that calls them by title
The only way I can think of getting the titles is to run an (ugly) loop that
briefly opens another window for that URL, grabs the title, then closes that
window - this would mean loads of windows flicking into existance, then
closing immediately.
This would work, but it wouldn't be quick if the server connection was slow,
oh, and did I mention it would be ugly?
Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.