Click here to get back home

invoke browser 'back' function

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
invoke browser 'back' function bbxrider 05-18-2005
Get Chitika Premium
Posted by bbxrider on May 18, 2005, 7:08 pm
Please log in for more thread options


is it possible to mimic/invoke a browsers 'back' function,
so the user could click a link/button/etc right on the page instead of being
directed to 'use the browsers back button'
if not html then perhaps java script?
the problem i'm having is that i have a page that links out of cms page,
can't really get the linked site content/page in my cms
display area, so i link out to framed page where the top frame has the look
and feel of my site and the bottom frame
has the linked page, the only way i currently know to get fully back to
original invoking page on the cms site is with the browser back
function and would rather not have to do it that way
hope this makes sense why i want to do this, but the basic question is the
main thing




Posted by kaeli on May 19, 2005, 8:59 am
Please log in for more thread options


enlightened us with...
> is it possible to mimic/invoke a browsers 'back' function,
> so the user could click a link/button/etc right on the page instead of being
> directed to 'use the browsers back button'
> if not html then perhaps java script?

<input type="button" value="Back" onClick="history.go(-1);">
<a href="#" onClick="history.go(-1);">Back</a>

The usual caveats about javascript apply.
history.back() may be used instead of history.go(-1)

--
--
~kaeli~
Those who get too big for their britches will be exposed in
the end.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace


Posted by Jan Roland Eriksson on May 19, 2005, 9:15 am
Please log in for more thread options


wrote:

>is it possible to mimic/invoke a browsers 'back' function,
>so the user could click a link/button/etc right on the page instead of being
>directed to 'use the browsers back button'

Not that I can see why you would have to "direct" any one at all on
how to use his/her browser, but any way, this question in itself is as
old as the www

http://ucan.foad.org/~abigail/HTML/Misc/back_button.html

--
Rex



Posted by bbxrider on May 19, 2005, 9:03 am
Please log in for more thread options


thanks for the reply, if i can access the list on the visited stack, so much
the better, its not a question of helping/telling folks how to use
their browser but more the company's owners wanting it to appear that linked
content comes from the company, just trying to get my job
done
> wrote:
>
> >is it possible to mimic/invoke a browsers 'back' function,
> >so the user could click a link/button/etc right on the page instead of
being
> >directed to 'use the browsers back button'
>
> Not that I can see why you would have to "direct" any one at all on
> how to use his/her browser, but any way, this question in itself is as
> old as the www
>
> http://ucan.foad.org/~abigail/HTML/Misc/back_button.html
>
> --
> Rex
>
>



Posted by bbxrider on May 19, 2005, 9:15 am
Please log in for more thread options


thansk for the reply
> wrote:
>
> >is it possible to mimic/invoke a browsers 'back' function,
> >so the user could click a link/button/etc right on the page instead of
being
> >directed to 'use the browsers back button'
>
> Not that I can see why you would have to "direct" any one at all on
> how to use his/her browser, but any way, this question in itself is as
> old as the www
>
> http://ucan.foad.org/~abigail/HTML/Misc/back_button.html
>
> --
> Rex
>
>



Similar ThreadsPosted
Loss of Form field contents when the browser BACK button is pressed November 25, 2004, 4:57 pm
'sorry this function has been disabled' February 5, 2008, 10:09 am
Function Keys as shortcuts? February 12, 2007, 2:47 pm
Deactivate browser's print function July 28, 2007, 9:16 am
onClick="CallMultipleFns" only invokes first function October 8, 2007, 9:48 am
is it possible to submit to a specific function inside another file March 16, 2005, 4:17 am
Valid XHTML but Javascript function failing? August 8, 2005, 5:38 am
HTML Tables vs. CSS Layers - when function and form coincide January 30, 2007, 3:25 am
non-ssl to SSL and back again how to? July 22, 2006, 9:29 am
iCapture is back October 26, 2004, 11:24 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap