Where am I going wrong with this code guys?

sinthe

New Member
Messages
7
Reaction score
0
Points
0
Hey guys, I'm working on this page and I can't seem to figure out what is wrong with this block of code.

The idea is it is supposed to be a mouseover that will popup a couple of small icons and a few words, like a help button. I can get the help icon to appear, but nothing happens when you move the mouse over it. Any ideas on what is wrong?

Code:
<a onmouseover="popup('<font color=&quot;#FFA600&quot;>Name:</font> EVEOTS<br /><font color=&quot;#FFA600&quot;>Character:</font> All<br /><font color=&quot;#FFA600&quot;>Type:</font> Character<br /><img src=&quot;images/tick.png&quot; border=&quot;0&quot;> No Expiry<br />', '100');"><img src="[URL="http://ts3api.sev3rance.com/images/help.png"]images/help.png[/URL]" border="0"></a>
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Where is the "popup" function defined?
 

sinthe

New Member
Messages
7
Reaction score
0
Points
0
Ya know I'm not sure. I'm not good with mouse-overs and stuff. x.x
 

revcent

New Member
Messages
5
Reaction score
0
Points
0
I have never come across a "popup" function in javascript before. Are you trying to accomplish a functionality similar to "alert"?
 

sinthe

New Member
Messages
7
Reaction score
0
Points
0
I'm implementing a verification system on my site for my members. There is an updated version of the system but I can't find the link for it.

http://ts3api.sev3rance.com/

T
hat is the link to it. I tried adding the help text to the index page of the verify system but it is not working correctly.

If you look in the code that is what is there, what I posted previously in the code. If you hover over the question mark picture it works perfectly. But when I work it on my site all I get is the question mark to appear, but when you hover over it, it does not work.

It is basically an added feature that shows the user what is needed for the settings of the key they need to create.
 

revcent

New Member
Messages
5
Reaction score
0
Points
0
I see. Looking at the index source code of the site that you have provided, I saw a link to an external js file called help.js where the "popup" function was defined. You have to include it in your page so that the "popup" will work.
 

sinthe

New Member
Messages
7
Reaction score
0
Points
0
Ah okay. It should work now lol. I appreciate the help greatly!
 
Top