+ Reply to Thread
Results 1 to 9 of 9

Thread: Where am I going wrong with this code guys?

  1. #1
    sinthe is offline x10Hosting Member sinthe is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    7

    Question Where am I going wrong with this code guys?

    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="images/help.png" border="0"></a>

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Where am I going wrong with this code guys?

    Where is the "popup" function defined?
    Nothing is always absolutely so.

  3. #3
    sinthe is offline x10Hosting Member sinthe is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    7

    Re: Where am I going wrong with this code guys?

    Ya know I'm not sure. I'm not good with mouse-overs and stuff. x.x

  4. #4
    revcent is offline x10Hosting Member revcent is an unknown quantity at this point
    Join Date
    Dec 2011
    Posts
    5

    Re: Where am I going wrong with this code guys?

    I have never come across a "popup" function in javascript before. Are you trying to accomplish a functionality similar to "alert"?

  5. #5
    sinthe is offline x10Hosting Member sinthe is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    7

    Re: Where am I going wrong with this code guys?

    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.

  6. #6
    revcent is offline x10Hosting Member revcent is an unknown quantity at this point
    Join Date
    Dec 2011
    Posts
    5

    Re: Where am I going wrong with this code guys?

    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.

  7. #7
    sinthe is offline x10Hosting Member sinthe is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    7

    Re: Where am I going wrong with this code guys?

    Ah okay. It should work now lol. I appreciate the help greatly!

  8. #8
    revcent is offline x10Hosting Member revcent is an unknown quantity at this point
    Join Date
    Dec 2011
    Posts
    5

    Re: Where am I going wrong with this code guys?

    You are welcome.

  9. #9
    red9x10m is offline x10Hosting Member red9x10m is an unknown quantity at this point
    Join Date
    Dec 2011
    Posts
    2

    Re: Where am I going wrong with this code guys?

    you should do this with jquery pretty much ease to do

+ Reply to Thread

Similar Threads

  1. something wrong with the ads code
    By chongkolai in forum Free Hosting
    Replies: 5
    Last Post: 08-10-2007, 06:30 AM
  2. [PHP] What is wrong with this code?
    By XUnreal in forum Scripts & 3rd Party Apps
    Replies: 16
    Last Post: 01-11-2006, 02:50 PM
  3. [PHP] What is wrong with this code?~
    By XUnreal in forum Scripts & 3rd Party Apps
    Replies: 1
    Last Post: 01-03-2006, 10:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers