
Originally Posted by
djr33
In the onclick event, the keyword "this" is used-- this refers to the current object, in this case the <a> tag.
Usually this is used as "this.href" referring to the URL given in the tag. If it were that, you could just replace it with text.
But since it's referring to the whole object, you may have to modify the function a bit to make this work.
If you want help:
1. Link to your page so we can actually see what's going on (there's a lot more code than what you've posted, and visiting the real page will give much more information than just a description).
2. Link to the script(s) you are using so we can see what their documentation is, if needed.
Bookmarks