1) Populate the page with the entire result set, placing each thread in
a <div> with display set to 'none'. Then use the arrows and a
javascript onclick event handler to toggle display to 'block' .
2) Code your PHP to place each thread in an iframe and have the arrow
target the iframe.
if you choose #2, don't forget to nest ilayer tags so that Netscape4.x
won't choke.
Norm
/* Sure, go ahead and code in your fancy IDE. Just remember: it's all
fun and games until someone puts an $i out. */
On Tuesday, October 14, 2003, at 05:10 PM, Walter Lee Davis wrote:
Try using a named anchor on the arrow image, and include it in the URL
you pass to the page to make it refresh. That should make it jump back
down to the image. It won't be perfect, there will be some amount of
fidget, but it should get you close.
Walter
On Tuesday, October 14, 2003, at 08:00 PM, David Holt wrote:
Hi everyone,
I have a php page that I am using to list threaded messages. I have
expansion arrows to expand and collapse the threads. My problem is
that
hitting the arrow reloads the page and it always goes to the top after
it reloads. Is there a way to get it to expand at the point where the
cursor is and take you right back to that spot when the page reloads?
Thanks for any help,
David
--
Just because everything is different doesn't mean anything has
changed.
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.