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

FORUM

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

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.

Announcements

 

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

Anam replied to Steve C's discussion
Comparing Speeds of Ning 2 and Ning 3 Sites
"Hi Anastasia, I sent you a PM. I think your response perhaps indicates that some others are having…"
1 hour ago
Anastasia_Ning_Support replied to Steve C's discussion
Comparing Speeds of Ning 2 and Ning 3 Sites
"Hello Anam! 
I apologize for the inconveniences!
We are currently looking into loading speed compla…"
2 hours ago
chienella peter, Tracy McLaughlin, Sherry Blatchley and 14 more joined Ning Creators Social Network
2 hours ago
Hugh replied to Hugh's discussion
Support So Bad - Even the Support System Now Broken
"By the way - I'm glad to be able to report that at least the support system has now been mended.
An…"
5 hours ago
Hugh replied to Hugh's discussion
Support So Bad - Even the Support System Now Broken
"Thanks Anastasia. If it would makes things zip along any quicker, I can happily live without insigh…"
5 hours ago
Helela replied to Hugh's discussion
Support So Bad - Even the Support System Now Broken
"They are nice.. But for four years I've been off or things going wrong since I've opened my site a…"
10 hours ago
Helela and Ron are now friends
NC for Hire
10 hours ago
Steve C replied to Hugh's discussion
Support So Bad - Even the Support System Now Broken
"Even though only email support comes with my $60 plan, I call support if I need to and I've never b…"
12 hours ago
Helela replied to Hugh's discussion
Support So Bad - Even the Support System Now Broken
"And, while I'm at it, my facebook sharing button only shows a great big blurry star on facebook. It…"
13 hours ago
Helela replied to Hugh's discussion
Support So Bad - Even the Support System Now Broken
"This is what it's been like for me paying sixty dollars a month since I've had my site. I just get…"
13 hours ago
Anam replied to Steve C's discussion
Comparing Speeds of Ning 2 and Ning 3 Sites
"Funny enough I am recently finding loading times on my site and this one (both Ning 3) to be much s…"
yesterday
Anastasia_Ning_Support replied to Anastasia_Ning_Support's discussion
Welcome Landing Page Builder
"Hello!
Unfortunately, our LPB does not have an inbuilt functionality that would allow you to easily…"
Wednesday
More…

Meanwhile, you can check our social media channels