473,320 Members | 2,080 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

invoke browser 'back' function

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

Jul 24 '05 #1
5 14383
On Wed, 18 May 2005 18:08:03 -0700, "bbxrider" <bx******@comcast.net>
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/M...ck_button.html

--
Rex
Jul 24 '05 #2
In article <LY********************@comcast.com>, bx******@comcast.net
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

Jul 24 '05 #3
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
"Jan Roland Eriksson" <jr****@newsguy.com> wrote in message
news:ri********************************@4ax.com...
On Wed, 18 May 2005 18:08:03 -0700, "bbxrider" <bx******@comcast.net>
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 beingdirected 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/M...ck_button.html

--
Rex

Jul 24 '05 #4
thansk for the reply
"Jan Roland Eriksson" <jr****@newsguy.com> wrote in message
news:ri********************************@4ax.com...
On Wed, 18 May 2005 18:08:03 -0700, "bbxrider" <bx******@comcast.net>
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 beingdirected 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/M...ck_button.html

--
Rex

Jul 24 '05 #5
thanks for the reply
"bbxrider" <bx******@comcast.net> wrote in message
news:LY********************@comcast.com...
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

Jul 24 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Ralph Freshour | last post by:
Is it possible to inhibit the browser Back/Fwd buttons via PHP? Thanks...
3
by: Joe Abou Jaoude | last post by:
hi all I noticed that when i m using the browser back button or the javascript history.back() function, I get sometimes (and not always) the following error message: "Internet Explorer cannot...
10
by: DotNetGruven | last post by:
How are people handling the browser back button on database driven web apps built using ASP.NET?? We keep state in Session and the back button is causing us lots of head aches! Is this just a...
1
by: Denise | last post by:
In my application, I am setting cookies used for other pages based on the current row selected. But when the user presses the 'back' button, the pageload event does not get called and the record...
4
by: jwlum | last post by:
I have the following problem under Internet Explorer only: 1. User fills out form data (myform.php) and clicks a button that fires myFunction() 2. myFunction() spawns a "hello, world" popup page...
5
by: ns21 | last post by:
How can the browser back button be disabled If the form is submitting information to other pages or submitting to itself or using redirections. I tried the tweaks like history.forward(1) in each...
0
by: sahaja108 | last post by:
Hello. I was wondering if it possible to detect a Browser Back/Forward by PHP. I mean. I am in page A, I go to page B and then I click on the Back button and I return to A. Does it exist a php...
2
by: =?Utf-8?B?SmVmZiBEb25rZXJzZ29lZA==?= | last post by:
I have a registration form that updates a province/state droplist when a country is selected from another droplist. When the user clicks the back button though, the province list goes back to the...
20
by: bhappy | last post by:
Hi All, Is there any way to find the event is browser back button click? I need to show an alert when user clicks on browser back button? I tried using the following code but alert is showing...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.