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" <badomen02@hotmail.com>
wrote:
[color=blue]
>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:3ffc6472.13560038@news.comcast.giganews.com. ..[color=green]
>>
>> 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" <badomen02@hotmail.com>
>> wrote:
>>[color=darkred]
>> >
>> >"Brynn" <z@z.com> skrev i meddelandet
>> >news:3ffc5f40.12229995@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[/color][/color]
>by[color=green][color=darkred]
>> >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" <badomen02@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[/color][/color]
>if[color=green][color=darkred]
>> >the
>> >> >button thing will work, so will this...)
>> >> >
>> >> >Yours, Jonas
>> >> >
>> >> >
>> >>
>> >
>> >[/color]
>>[/color]
>
>[/color]
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!