From: Dossy Date: 2002-07-12T03:15:16+09:00 Subject: Re: opengl On 2002.07.12, Tom Sawyer wrote: > but the thing that really gets me is the lack of dynamic behavior. for > example right now i'm working on getting a page to stay in the same > position from one refresh to the next. i have a form with a long list of > input rows. when the user hits the "Add Item" button, the form is > submitted, the item is added to the bottom of the list, but the page > goes all the way back to the top. that'll drive my users nuts! i'm > forced to use javascript for this stuff, which i'm not happy about. Look at using named anchors and anchor links. Say, right where you want the user to go to when they submit the page, add the named anchor "current": Then, change your form submit action to include "#current" at the end. I think IE 5.5 broke named anchors slightly requiring full URIs or some nonsense, but as long as your form action is done correctly, you should be fine. > one time i actually had javascript dynamically adding item rows (talk > about your jerry-rigs) but i finally ditched it because the smallest > changes in my app would cause it to break. too much maintenance --not to > mention it didn't work cross-browser. what a pain. > > anyway that's the scoop. i would be happy to shell out a little green > for a capable helping hand in these areas. You're free to express your generocity towards my PayPal account. ;-) -- Dossy -- Dossy Shiobara mail: dossy@panoptic.com Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)