Current status of the Ning Platform is always available on the Ning Status Blog.

NC for Hire

Wanna know how to make all external links on your Ning open in a new window, everytime?  We'll here's how you do just that.

 

Add this to your custom Code box (if you're Ning Plus or Ning Pro)

 

<script type="text/javascript">
 jQuery(document).ready(function(){
jQuery("a[href*='http://']:not([href*='http://yourdomain.com'])").attr("target","_blank");
jQuery("a[href*='https://']:not([href*='https://yourdomain.com'])").attr("target","_blank");
});

</script>

 

 

Don't forget to change yourdomain.com  with YOURDOMAIN.COM

 

 

 

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • NC for Hire
    Thanks a lot, JFarrow this just may come in handy for something I have in mind.
  • that's a great tip. I use as similar code and works a treat. However, do you think there is a way to "exclude" specific external links? for example, can you force a specific external link to open in the same widow?

     

    thank you!

  • NC for Hire

    @spyro  hmmm   i'll have to think on that one a minute

     

    @Garfield...no problemo homey

    • Thank you ... the _self command is not working.. please let me know if you come up with something.
  • Thank you. This is awesome!
  • Oh my God!  This is cool!  Just installed it on my site and I like it very much!  Ben
  • Great man, thanks a bunch.  Works perfect.

     

    Seth

    www.moviesamongfriends.ning.com

  • AWESOME!  I have been looking for this solution forever....
  • Hey - you know what I just found out that may be an issue for everyone? Every link will pop open a new window, meaning if a user clicks on a Blog post, or Forum post it opens it in a new window. May not be the best user experience though.

    Any possible fix for this maybe? I dunno!
  • thanks so much!!!!!!!!!!
This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Pam Givens replied to Pam Givens's discussion
Landing Page
"What I meant to say, if I could spell:
I've attempted to create a landing page and have't had much…"
Dec 12
Pam Givens posted a discussion
I've attempted to crate a landing page and have't had much success.  I'd rather have one on my…
Dec 12
Luxury Residences updated their profile
Dec 6
Asumi Carol updated their profile
Dec 2
Shada Hotel updated their profile
Nov 29
Howard Sands replied to Mark Thorpe's discussion
NING is broken?
"I am not a techie, I don't understand the first thing about it, but have a HUGE problem with Ning…"
Nov 27
Howard Sands replied to Donna MacShoe's discussion
Ning Support phone number for my 20 yr old site
"I hope this helps
Ning  https://www.ning.com/contact-us/
1-855-233-6436 (USA/Canada Toll Free)…"
Nov 27
Donna MacShoe posted a discussion
I am completely locked out of my NING site that I have had for 20 years.  ladiesofthehat.org.  When…
Nov 27
Joven left a comment on Ning Networks en español
"Zzz..."
Nov 26
Ron updated their profile
Nov 25
Ron updated their profile photo
Nov 24
Mark Thorpe posted a discussion
I've run networks based on this platform in the past and never have I seen it in such dissarray as…
Nov 20
More…

Meanwhile, you can check our social media channels