Results 1 to 1 of 1
Nov 10, 2011, 02:46 #1
- Join Date
- Nov 2010
- 0 Post(s)
- 0 Thread(s)
Rollover effect and wordpress comments (dinamically change the var name)
Hello all, i'm totally new to JS so i've a problem:
I'm trying to develop a plugin for comments: when mouse is over the commenter's name it take a screenshot of his website with a rollover effect.
All works fine if there is just one comment, but none good when the comments are 2 or plus.
Basically i load this JS in the header
Then this is the code to turn the screenshot on:
I think the problem is that the name of var in MOver() is not unique, but i don't know how to dinamically change the var name.