Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Re: Refreshing a window


Message #1 by "Kudalkar Chetan Dinkar" <chetan_at_work@y...> on Thu, 4 Oct 2001 14:46:51
no, this is ancient stuff, long before DIVs...

-----Original Message-----
From: John Owen [mailto:JOWEN@f...]
Sent: 04 October 2001 14:58
To: javascript
Subject: [javascript] Re: Refreshing a window


Alex,

  Could this be applied to a table in a scrollable <div>?

John Owen
Federal TransTel
Senior Developer


-----Original Message-----
From: Alex Shiell, ITS, EC, SE [mailto:alex.shiell@s...]
Sent: Thursday, October 04, 2001 8:52 AM
To: javascript
Subject: [javascript] Re: Refreshing a window


use bookmarks

in each row have an anchor tag

<a name="R1"></a>
<a name="R2"></a>
etc

then change your button onClick to

window.navigate(document.location.href+"#"+sBookmark)
(or you can hardcode the filename instead)

then every time they focus on a row update sBookmark to the appropriate
bookmark

e.g.

<TD onclick="sBookmark='R1'"><a name="R1"></a>...</TD>


  Return to Index