Also, if I have a node which I have got using event object, can I store it in some form (like offset from root etc...) so that I can retrieve it at a later stage (e.g. when I revisit the page, I will use perl to place the arrow over there but for that i need to know the node which I had clicked earlier). Is there anyway to store the node information so that I can retrieve it later? Thank you for your time and effort.Do you mean you wish to record which piece of text (eg: a single word) was "pointed to" on one page view, then at a subsequent page view, restore the pointer to point to the previous position?
If so, you might try sending the text to be matched to the server-side for storage (eg: in a database). When you next reload the page your server-side perl can generate a javascript statement to be executed on the client-side which tells the client-side "pointer" javascript which node to point to. An AJAX-style approach would probably work best.
-David
In reply to Re^8: Position on Web Page
by erroneousBollock
in thread Position on Web Page
by user2000
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |