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

FORUM

NC for Hire

If you have been running your community for some time you probably have a lot of resources to share.  You may be looking for a compact way to showcase many tools in the same place, such as a getting started page or a resources page.  I am going to quickly show you how to build a simple way to switch between several iframes without leaving the page.  You can see it live inside a text box on this group inside a Ning 2.0 (but it will certainly work inside 3.0)...and alternatively I have it hosted standalone in my github here (so i can iframe in my iframe switcher).

 

Let's begin.

HTML (You can shorten the URLs if you like)

<select class="switcher">
<option value="https://somelink.com/">Something</option>
<option value="https://goo.gl/BPVk7m">Else</option>
<option value="https://goo.gl/fnvCqW">Workflows</option>
<option value="https://goo.gl/0A86G1">Another Resource</option>
<option value="https://goo.gl/mYLons">Another</option>
<option value="https://goo.gl/EjW6fI">Yep, another</option>
<option value="https://goo.gl/DFTv72">And this one</option>
<option value="https://goo.gl/MK5rOa">yes and again</option>
<option value="https://goo.gl/YXdIWs">next to last resource</option>
<option value="https://www.justinfarrow.com/ning">JFarrow helps with Ning sites</option>
</select>


<iframe class="switch-target" width="100%" height="600" src=""></iframe>

 

 

CSS  (style the select box however you like)

<style>    select { display: block; }         </style>

 

JS (must add small x in front of all jquery $ signs inside Ning)

<script>

var switcher$ = x$('.switcher'), // select element
switchTarget$ = x$('.switch-target'); // iframe

switcher$.on('change', switchIframeSrc); // event binding

// our functiono to switch the iframe src
function switchIframeSrc() {
// set the 'src' attribute of the iframe
// to the value of the selected option
switchTarget$.attr('src', switcher$.val());
}

// call the method on load
switchIframeSrc();

 

</script>

 

Here is all the HTML, CSS and JS inside my codepen for you to fork and try with your own links and resources...  your links inside the iframe MUST be https:// to work.

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

  • WOW where does code go ? in DS or i the Custome code

  • I have  done my links https but no work may I message you  what I did and you can give me better instruction as I missed not doing somethings

     

    Also where does JS go and the CSS? In DS or   other  thanks

    • NC for Hire

      HTML goes in page module... CSS goes in Design studio and JS goes in Custom Code bottom of page

      • Thanks

      • Did that links you click right links and do not go anyplace

      • I think I messaged you file of my codes?? or links  wiht in the code

  • 50398424?profile=original

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

⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
TRICK: Host Your External CSS and JS Files using Dropbox
"I no longer use Dropbox for this...   I use Github....  ask me how if it is too complicated for you…"
3 hours ago
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
Create a More Exciting "Featured" Email With Language Editor

still one of the most powerful tools and one of the first things I change when I start a new comm…"
22 hours ago
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
How to Give Your Ning a Really Fake Voice
"These days I use Speakpage and it provides a great on the fly service, but it is limited to a singl…"
23 hours ago
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
How to Create Search Feeds in Bing with a Simple Hack
"thank you brother"
23 hours ago
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
How-to Control Number of Member Profiles on Member Page Using CSS
"Wow... just look how active Creators used to be!"
23 hours ago
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
You May Not Know This About Facebook
"this tip worked well for me today again"
23 hours ago
⚡JFarrow⌁ replied to ⚡JFarrow⌁'s discussion
Linkedin Tip: Export Your Contacts For Import Into Ning
"yes it most definitely does work on both"
23 hours ago
⚡JFarrow⌁ updated their profile
yesterday
⚡JFarrow⌁ replied to Fabricio Giugni's discussion
How can I add video from Youtube on landing page?
"Simply right click on the video and open HTML/CSS then find the line where the youtube video URL is…"
yesterday
J.Ayvar replied to Anastasia_Ning_Support's discussion
Join our webinar on SEO
"Thank you!  i am wating for the webinar. Just 5 minutes :)"
yesterday
Anastasia_Ning_Support replied to Ceddy J's discussion
Disk Usage Enforcement
"Hello Ceddy! 
Thank you for addressing this issue here. 
We need some time to check the content of…"
yesterday
Jelena replied to Fabricio Giugni's discussion
About Ning 4.0
"Hello 
after you try the new ning 4 can you go back to ning 3 if you aren’t satisfied?"
yesterday
More…

Meanwhile, you can check our social media channels