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

Forum

Help with Javascript

I want to replace the code 1 by the code 2

  1. <a data-url="http://networkname.ning.com/main/quickadd/event" data-js="xg.index.quickadd.event" data-value="event" href="#">Events</a>
  2. <a href="http://networkname.ning.com/events/event/new">Events</a>

How to do this with javascript?

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

Join Ning Creators Network

Email me when people reply –

Replies

  • Code 1 is the link "Events" in the picture below
This reply was deleted.

Search the Creators Network

Latest Activity

Kos replied to The Builder :)'s discussion Help! I need to file my ning network 3
"Legal avenues it is.  If they suddenly shut me down, I'll know why."
12 minutes ago
Strumelia replied to The Builder :)'s discussion Help! I need to file my ning network 3
"Ning apparently has their own creative definition of the term "in the near future".
Like remember 3…"
30 minutes ago
Kos replied to The Builder :)'s discussion Help! I need to file my ning network 3
"From Ning:

Thanks for writing us. At this time, we don't have an archiver tool in place that would…"
36 minutes ago
George H. Compton IV replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Scott she needed it for her whole network that's why the custom code box.I'm still working on your…"
1 hour ago
Fire-Tech replied to Fire-Tech's discussion 3.0 Tip: Message Notification Background
"Thanks guys... super simple.. but may find it handy ;)"
2 hours ago
Strumelia replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Thanks George.  I don't need this right now, but am bookmarking this thread for use if/when I leave…"
2 hours ago
George H. Compton IV replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Strumelia it sounds like you want members and nonmembers redirected to your new website. If that's…"
2 hours ago
SweetPotato replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"The group solution is relatively simple but pasting it in iPad seems to add a crucially unwanted se…"
2 hours ago
Scott Bishop replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Love your inputs SweetPotato"
2 hours ago
Scott Bishop replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"If you place it in the custom code box how does know which page you want to redirect? "
3 hours ago
SweetPotato replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Tried writing answer on iPad but impossible. Ruined code. Will do it another time"
3 hours ago
Anam replied to The Builder :)'s discussion Help! I need to file my ning network 3
"As a Ning 3 site grows larger the lack of Archive facility outweighs almost every other shortcoming…"
3 hours ago
Scott Bishop replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"I pasted it to the actual page I wanted forwarded, a custom page I created. 
While on your created…"
5 hours ago
George H. Compton IV replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Yes you can place it anywhere in your custom code box no need for a head code :)"
5 hours ago
Strumelia replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"I don't see a 'head' area in my custom code box- just a few scripts I added over time.  Do i put th…"
5 hours ago
George H. Compton IV replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"You're welcome Scott. :-) On a 2.0 network I don't believe there is a way to add this code for an i…"
6 hours ago
George H. Compton IV replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Hello Strumelia :) TY & Yes the code goes in your dashboard custom code box. I hope your havng a wo…"
6 hours ago
Strumelia replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Do you mean go to my main Dashboard, look at left column under Tools, and open Custom Code?   I don…"
6 hours ago
Scott Bishop replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"Thanks George! Worked like a charm. Another question if you don't mind; How about a redirect code f…"
7 hours ago
Scott Bishop replied to Scott Bishop's discussion 301 Redirect from N2 to Offsite
"I put George's script inside the <head>. 
Options on your page then paste to the Custom box. "
7 hours ago
More…