473,395 Members | 2,446 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,395 software developers and data experts.

how to get history in a WinObj I have made?

I have used WinObj=window.open ("http://www.some_page","Holder")

No I want to press a button in an other window and make the Holder windows
history.go(-1) is that possible?
(I'm not using a button... I'm using MS Agent with Voice Command but if the
button thing will work, so will this...)

Yours, Jonas
Jul 20 '05 #1
8 2799

There is probably another way ... but you could create a page that it
would go forward to with history.go(-2)

Brynn
www.coolpier.com
On Wed, 07 Jan 2004 18:43:46 GMT, "BadOmen" <ba*******@hotmail.com>
wrote:
I have used WinObj=window.open ("http://www.some_page","Holder")

No I want to press a button in an other window and make the Holder windows
history.go(-1) is that possible?
(I'm not using a button... I'm using MS Agent with Voice Command but if the
button thing will work, so will this...)

Yours, Jonas


Jul 20 '05 #2

"Brynn" <z@z.com> skrev i meddelandet
news:3f***************@news.comcast.giganews.com.. .

There is probably another way ... but you could create a page that it
would go forward to with history.go(-2)
I don't realy understand what you meen =(

This is what I have done:
step 1. window A opens window B
step 2. And then window A must make window B:s history go back one stap by
pressing a button on window A or in my case, using a voice command from
window A.

Step 1. is not a problem but step 2. is.


Brynn
www.coolpier.com
On Wed, 07 Jan 2004 18:43:46 GMT, "BadOmen" <ba*******@hotmail.com>
wrote:
I have used WinObj=window.open ("http://www.some_page","Holder")

No I want to press a button in an other window and make the Holder windowshistory.go(-1) is that possible?
(I'm not using a button... I'm using MS Agent with Voice Command but if thebutton thing will work, so will this...)

Yours, Jonas

Jul 20 '05 #3

What I mean is create a page called jumpBack.asp ... or html ... I
name all files of mine .asp .. anyway

-- jumpBack.asp --

<script language="javascript">
history.go(-2)
</script>

Then have your button make have your "Holder" window go to
/dir/jumpBack.asp

It would go forward to jumpBack.asp ... jumpBack.asp would make it go
back 2

Like I said, this may not be the best solution, but is probably the
easiest ... without having to have your parent page keep track of the
pages and junk.

Brynn
www.coolpier.com

On Wed, 07 Jan 2004 19:51:09 GMT, "BadOmen" <ba*******@hotmail.com>
wrote:

"Brynn" <z@z.com> skrev i meddelandet
news:3f***************@news.comcast.giganews.com. ..

There is probably another way ... but you could create a page that it
would go forward to with history.go(-2)


I don't realy understand what you meen =(

This is what I have done:
step 1. window A opens window B
step 2. And then window A must make window B:s history go back one stap by
pressing a button on window A or in my case, using a voice command from
window A.

Step 1. is not a problem but step 2. is.


Brynn
www.coolpier.com
On Wed, 07 Jan 2004 18:43:46 GMT, "BadOmen" <ba*******@hotmail.com>
wrote:
>I have used WinObj=window.open ("http://www.some_page","Holder")
>
>No I want to press a button in an other window and make the Holderwindows >history.go(-1) is that possible?
>(I'm not using a button... I'm using MS Agent with Voice Command but ifthe >button thing will work, so will this...)
>
>Yours, Jonas
>
>



Jul 20 '05 #4
Now I get it. Thanx, that was really smart of you :)

"Brynn" <z@z.com> skrev i meddelandet
news:3f***************@news.comcast.giganews.com.. .

What I mean is create a page called jumpBack.asp ... or html ... I
name all files of mine .asp .. anyway

-- jumpBack.asp --

<script language="javascript">
history.go(-2)
</script>

Then have your button make have your "Holder" window go to
/dir/jumpBack.asp

It would go forward to jumpBack.asp ... jumpBack.asp would make it go
back 2

Like I said, this may not be the best solution, but is probably the
easiest ... without having to have your parent page keep track of the
pages and junk.

Brynn
www.coolpier.com

On Wed, 07 Jan 2004 19:51:09 GMT, "BadOmen" <ba*******@hotmail.com>
wrote:

"Brynn" <z@z.com> skrev i meddelandet
news:3f***************@news.comcast.giganews.com. ..

There is probably another way ... but you could create a page that it
would go forward to with history.go(-2)


I don't realy understand what you meen =(

This is what I have done:
step 1. window A opens window B
step 2. And then window A must make window B:s history go back one stap bypressing a button on window A or in my case, using a voice command from
window A.

Step 1. is not a problem but step 2. is.


Brynn
www.coolpier.com
On Wed, 07 Jan 2004 18:43:46 GMT, "BadOmen" <ba*******@hotmail.com>
wrote:

>I have used WinObj=window.open ("http://www.some_page","Holder")
>
>No I want to press a button in an other window and make the Holder

windows
>history.go(-1) is that possible?
>(I'm not using a button... I'm using MS Agent with Voice Command but
ifthe
>button thing will work, so will this...)
>
>Yours, Jonas
>
>


Jul 20 '05 #5
On Wed, 07 Jan 2004 18:43:46 GMT, BadOmen <ba*******@hotmail.com> wrote:
I have used WinObj=window.open ("http://www.some_page","Holder")

No I want to press a button in an other window and make the Holder
windows history.go(-1) is that possible?
(I'm not using a button... I'm using MS Agent with Voice Command but if
the button thing will work, so will this...)


Does

WinObj = window.open( 'URL', 'Window_Name' );

...

WinObj.history.go(-1)

not work?

Mike

--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)
Jul 20 '05 #6
There is still a problem with forward...
It is possible that the forward is pointing to the jumpback.html page and
that page make me go even more back... :)

It wold be best if I could juste the winObj I created when making the window
B. But i don't think that's possible :(

I hope someone has a other way of doing this.
But Back works fine your way :)

Yours, Jonas
"Brynn" <z@z.com> skrev i meddelandet
news:3f***************@news.comcast.giganews.com.. .

What I mean is create a page called jumpBack.asp ... or html ... I
name all files of mine .asp .. anyway

-- jumpBack.asp --

<script language="javascript">
history.go(-2)
</script>

Then have your button make have your "Holder" window go to
/dir/jumpBack.asp

It would go forward to jumpBack.asp ... jumpBack.asp would make it go
back 2

Like I said, this may not be the best solution, but is probably the
easiest ... without having to have your parent page keep track of the
pages and junk.

Brynn
www.coolpier.com

On Wed, 07 Jan 2004 19:51:09 GMT, "BadOmen" <ba*******@hotmail.com>
wrote:

"Brynn" <z@z.com> skrev i meddelandet
news:3f***************@news.comcast.giganews.com. ..

There is probably another way ... but you could create a page that it
would go forward to with history.go(-2)


I don't realy understand what you meen =(

This is what I have done:
step 1. window A opens window B
step 2. And then window A must make window B:s history go back one stap bypressing a button on window A or in my case, using a voice command from
window A.

Step 1. is not a problem but step 2. is.


Brynn
www.coolpier.com
On Wed, 07 Jan 2004 18:43:46 GMT, "BadOmen" <ba*******@hotmail.com>
wrote:

>I have used WinObj=window.open ("http://www.some_page","Holder")
>
>No I want to press a button in an other window and make the Holder

windows
>history.go(-1) is that possible?
>(I'm not using a button... I'm using MS Agent with Voice Command but
ifthe
>button thing will work, so will this...)
>
>Yours, Jonas
>
>


Jul 20 '05 #7

"Michael Winter" <M.******@blueyonder.co.invalid> skrev i meddelandet
news:op**************@news-text.blueyonder.co.uk...
On Wed, 07 Jan 2004 18:43:46 GMT, BadOmen <ba*******@hotmail.com> wrote:
I have used WinObj=window.open ("http://www.some_page","Holder")

No I want to press a button in an other window and make the Holder
windows history.go(-1) is that possible?
(I'm not using a button... I'm using MS Agent with Voice Command but if
the button thing will work, so will this...)
Does

WinObj = window.open( 'URL', 'Window_Name' );

...

WinObj.history.go(-1)

not work?

Mike


No, that was the first thing i tried but it did not work :(

--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)

Jul 20 '05 #8
you could simply store each webpages name in an array, and keep track
of where in the array you are ... and have a function for the forward
and back button that takes you to the appropriate link in the array.

Brynn
www.coolpier.com

On Wed, 07 Jan 2004 20:34:47 GMT, "BadOmen" <ba*******@hotmail.com>
wrote:
There is still a problem with forward...
It is possible that the forward is pointing to the jumpback.html page and
that page make me go even more back... :)

It wold be best if I could juste the winObj I created when making the window
B. But i don't think that's possible :(

I hope someone has a other way of doing this.
But Back works fine your way :)

Yours, Jonas
"Brynn" <z@z.com> skrev i meddelandet
news:3f***************@news.comcast.giganews.com. ..

What I mean is create a page called jumpBack.asp ... or html ... I
name all files of mine .asp .. anyway

-- jumpBack.asp --

<script language="javascript">
history.go(-2)
</script>

Then have your button make have your "Holder" window go to
/dir/jumpBack.asp

It would go forward to jumpBack.asp ... jumpBack.asp would make it go
back 2

Like I said, this may not be the best solution, but is probably the
easiest ... without having to have your parent page keep track of the
pages and junk.

Brynn
www.coolpier.com

On Wed, 07 Jan 2004 19:51:09 GMT, "BadOmen" <ba*******@hotmail.com>
wrote:
>
>"Brynn" <z@z.com> skrev i meddelandet
>news:3f***************@news.comcast.giganews.com. ..
>>
>> There is probably another way ... but you could create a page that it
>> would go forward to with history.go(-2)
>
>I don't realy understand what you meen =(
>
>This is what I have done:
>step 1. window A opens window B
>step 2. And then window A must make window B:s history go back one stapby >pressing a button on window A or in my case, using a voice command from
>window A.
>
>Step 1. is not a problem but step 2. is.
>
>
>>
>> Brynn
>> www.coolpier.com
>>
>>
>> On Wed, 07 Jan 2004 18:43:46 GMT, "BadOmen" <ba*******@hotmail.com>
>> wrote:
>>
>> >I have used WinObj=window.open ("http://www.some_page","Holder")
>> >
>> >No I want to press a button in an other window and make the Holder
>windows
>> >history.go(-1) is that possible?
>> >(I'm not using a button... I'm using MS Agent with Voice Command butif >the
>> >button thing will work, so will this...)
>> >
>> >Yours, Jonas
>> >
>> >
>>
>
>



Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!
Jul 20 '05 #9

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

Similar topics

2
by: Nicki Pittman | last post by:
I have a web-based application that contains page with a form to allow a user to edit their account information (i.e. address, phone, email, etc.). This form is being pre-populated through XSLT...
2
by: Mike | last post by:
Greeting to all, How i can in my web page ignore the page history? Thanks Mike
2
by: Pums | last post by:
Hi, I am using one webservice from which I am pulling the information of a file like version, date, etc. now when i rename the file am using system.io.file.move to move the file and then i am...
3
by: Shimon Sim | last post by:
Hi Is it possible to make sure that the page doesn't show in browser history and won't effect Back button. The problem is that every postback shows as another entry for "Back" button and user...
3
by: Jay Brodie | last post by:
I am trying to find a way to have the webbroswer object in my VC app to NOT write the browsed sites to the normal history for the deaktop computer. I have looked all over and cant find anything...
9
by: Chris Spencer | last post by:
Why does code.InteractiveConsole support command history on Windows, but not in a Gnome terminal (all I get is ^[[A^[[B)? Or does it not support history at all, and the Windows console is...
3
by: Rafael Tejera | last post by:
I would like to create an history module to my application.. I need some advice to use a duplicate database with who, when and where fields added to that new duplicate table, or create a table...
6
by: divya | last post by:
I have a page name edit.asp which should expire immediately .The user cannot open this page directly he has to provide a password for entering this page.thus when the user enters edit.asp , it has...
0
by: PJ6 | last post by:
OK this is annoying... after I installed VS2008 to try it out, apparently an update was made to the behavior VS2005. Now when I close and reopen a document I'm working on, the Undo history is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.