Welcome to the IMTalk - Internet Marketing & SEO Forum.
  • Login:
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    jgessentials's Avatar
    jgessentials is offline IM & SEO Mumbler jgessentials will become famous soon enough jgessentials will become famous soon enough
    Join Date
    Mar 2011
    Location
    USA
    Posts
    438
    Thanks Given
    237
    Thanked 110 Times in 84 Posts

    Help with jquery

    Hi
    I am looking to do the following with jquery:

    When user clicks on a link on my site it opens link1 in the same window and link2 in a new window

    Thank you for your help!
    SiteGround Hosting - Fast, Safe, Reliable with 24/7 live Guru support!

  2. #2
    stronywwwlublin's Avatar
    stronywwwlublin is offline IM & SEO Small Talker stronywwwlublin has a spectacular aura about stronywwwlublin has a spectacular aura about stronywwwlublin has a spectacular aura about
    Join Date
    Jun 2011
    Posts
    601
    Thanks Given
    77
    Thanked 192 Times in 106 Posts
    hey my little cloacker

    Try this snippet in simple js without fat jquery
    Code:
    <script>function a(link){ window.open(link); document.location.href='</your-in-new-tab-url.html';}</script>
    
    
    <a href="http://yournormallink.com" onClick="a(this.href);return false;" >link anhor</a>

  3. #3
    blackout17's Avatar
    blackout17 is offline IM & SEO Small Talker blackout17 will become famous soon enough
    Join Date
    Jan 2012
    Location
    Carlisle, UK
    Posts
    514
    Thanks Given
    18
    Thanked 73 Times in 59 Posts
    Google it am sure there will be some code makers out there normally is. Also Fiverr have people who are experts in the field that could help you out and do it all for you.
    Leave The Life Of Drugs And Addiction Today - Visit
    Bread & Butter Football - Visit


 

Similar Threads

  1. CSS & jQuery clickable map
    By stronywwwlublin in forum Website Planning, Design & Development
    Replies: 0
    Last Post: 02-01-2012, 01:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts