1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need Programer - JS

Discussion in 'Hire a Freelancer' started by iamsgf, Aug 7, 2010.

  1. iamsgf

    iamsgf Regular Member

    Joined:
    Oct 6, 2008
    Messages:
    307
    Likes Received:
    268
    Looking for a programmer to help me out on a small JS script, cant seem to get it working right...

    So here is what is it meant to do.

    Button, that onclick opens a new window and loads new page in the current window.

    Problem: it seems that pop-up blockers are stopping the new window from opening.

    Here is a site where you can see if working fine (Just do a search):

    Code:
    http://www.2shared.com/search.jsp
    Here is mine where it is not working

    Code:
    http://www.nsp-code.com/testing/popup/
    if you can do this, please let me know your price....

    thanks
     
  2. hi.imandrew

    hi.imandrew Junior Member

    Joined:
    Nov 22, 2009
    Messages:
    159
    Likes Received:
    42
    Location:
    Arkansas, USA
    I'll offer my advice for free.

    HTML:
    <input onclick="go_popup('site','Popup'); return false;" type="image" src="images/button-find.gif" />
    That works. It may be that you are calling it from a function and not directly from the onclick.
     
  3. iamsgf

    iamsgf Regular Member

    Joined:
    Oct 6, 2008
    Messages:
    307
    Likes Received:
    268
    ok so I tried that:

    Code:
    <input onclick="go_popup('http://www.google.com','http://www.hotmail.com'); return false;" type="image" src="http://www.blackhatworld.com/blackhat-seo/images/button-find.gif" />
    The pop-up apprears (google), but the current window stays on same page.

    Would be more than happy to pay for your time! can send you the complete files so you can see how it works.

    Problem seems to be that the JS calls different links based on the IP of the user.
     
    Last edited: Aug 7, 2010
  4. hi.imandrew

    hi.imandrew Junior Member

    Joined:
    Nov 22, 2009
    Messages:
    159
    Likes Received:
    42
    Location:
    Arkansas, USA
    Sent you a pm
     
  5. risefromdeath

    risefromdeath Power Member

    Joined:
    Jul 1, 2009
    Messages:
    650
    Likes Received:
    107
    sent you a working copy of sample code
     
  6. iamsgf

    iamsgf Regular Member

    Joined:
    Oct 6, 2008
    Messages:
    307
    Likes Received:
    268
    Thanks risefromdeath, but job completed by another....

    Hi.amandrew.... Thank you very much for the script you did a great job. itrader left.