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

Forum

Flash and Javascript on Ning

I have a Flash thingy that I'd like to use on one of my networks, but I can't figure out how to install it. Is it possible to do this with Ning? I have this thing - it's a visual display - running on my regular website, and this entailed uploading a Flash component to a directory then adding a snippet of script to the page where the image is to appear. It works perfectly - but where would I upload the Flash component to if I wanted to use it on my Ning network?I did a search for "Flash" in the Ning help center search engine and there is no information on how to use Flash.Similarly, I found a very nice slideshow effect at:http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htmwhich only requires a Javascript snippet to be added to a page. I've tried it on a normal page and it works perfectly - and looks great. It would be a very handy piece of script for anyone who wanted to display a series of linkable images - eg items for sale - on their website. I know there are hundreds of versions of this, but this one is probably the simplest I've found. But how would you implement it on a Ning network? Where would you put the Javascript?The only drawback I found with this script (in terms of using it on a normal html page) is that the width is in pixels, which means that it would be a different width relative to the rest of the page on computers with different resolutions. I wanted the slide to run right across the top of a page, and the only way I know to do this would be to set the width in percentages (ie, 100%). Does any bright spark here know how to do this?In any event it's a useful piece of javascript.

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

Join Ning Creators Network

Replies are closed for this discussion.

Replies

  • Hi Kate,

    First of all let me thank you for giving me info about the slideshow script..I enjoyed putting it up on my Network at http://vimannagar.ning.com
    This is a neighborhood Online Network that I am buidling for our residents in our neighborhood to join and work togehter for our common issues..It would be a good idea for everyone everywhere in the world to use this lovely ning platform for doing this in their own neighborhoods..
    I shall work closely with you and share all my ideas as well as learn some great tricks from you..
    Please do signup at my inteeresting All sorts Network at http://simplycity.ning.com and we shall work out ideas on How to grow and get people to Join and particpate on our ning networks..I live in Pune, India and on facebook I am at http://facebook.com/simplycity
    Love and Light
    Pankaj NetGuru
    Pune,India
  • Ooh, that image scroller code is a bit yuck. You can do that without javascript.

    Try this: (In a normal textbox)

    <MARQUEE>
    <div style="float:left;padding:2px"><a href="http://yoursite.com/whateverlink.html"><img src="http://yoursite.com/image.png" alt="mouseoverdescription"></a></div>
    <div style="float:left;padding:2px"><a href="http://yoursite.com/whateverlink.html"><img src="http://yoursite.com/image.png" alt="mouseoverdescription"></a></div>
    </MARQUEE>

    Add more divs, change the values.

    Go here to learn more settings (like how to slow it down) to smooth it.

    http://www.htmlcodetutorial.com/_MARQUEE.html
    • NC for Hire
      Agree.
    • The one I posted uses Javascript, which is pretty universally "recognized" by browsers, whereas this one uses the MARQUEE attribute which, I think - and you can correct me if I am wrong - is not recognized by some browsers. But in any event it presents the same problem: it only allows you to set the width in pixels, which means it displays differently in PCs with different resolutions. I want it to run right across the top of a page, but if I set the width in px this is not possible (I can get it to work perfectly on my PC, but on another screen it would not extend all the way across the page). So the question is still: Is there any way to centre this in percentages (ie %100) or otherwise get it to display across the entire width of the page (regardless of browser type and/or screen resolution)?
      • Kate-- you are 100% correct. In fact, the marquee tag is generally regarded as an "evil" tag and its use is strongly discouraged (the W3C has deprecated it and future browsers may not support it).

        I looked at your js file, above, and to be honest it would take quite a bit of changes to support percentages. I'm pretty sure I've seen another version elsewhere that supports that "out of the box", so I'll try to find it for you.
      • Depends what kind of solution you wanted. Marquee is good enough for most. I wouldnt use that javascript its too messy. Flash or some tidier javascript if you want something better.

        RE: percentage
        Just put the code in a< div>tag with 100% as the width. Float left will stack into it.
    • Why wouldn't you be able to access WebDav?
This reply was deleted.

Search the Creators Network

Latest Activity

soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"site builder will be perfected by then if u read my tip on how i built the front page forum display…"
51 minutes ago
Kos replied to Rob Nanya's discussion Any simple way to put the site offline?
"Ning had that in 2.0 but hasn't implemented it in 3.0.  At the rate things are going, I'll be in a…"
1 hour ago
Kos replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"Guess I'll have to make more time to re-visit JR.  Maybe after the holidays.  Just too crazy right…"
1 hour ago
Zachary Moonshine replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"im gonna sign up in there site so i can start talking to them and see what they can do for me as we…"
1 hour ago
soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"yes exactly  its very good choice  the music is an add in n but they were orifginakly gesared towar…"
2 hours ago
Zachary Moonshine replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"jamroom may be a good spot to stick my radio in the future if ning does not work out after checking…"
2 hours ago
Strumelia replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"Each of the 3 has its strengths and non-strengths.  No one choice fits all."
2 hours ago
Zachary Moonshine replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"i want music as a plugin to the site but not its main focus i am more interested in having somethin…"
2 hours ago
soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"bad pr
look at how frackings  screwing up the environment   like crazy but then exxon puts out an a…"
2 hours ago
soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"why those when jamrooms built for music at its core"
2 hours ago
Strumelia replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"FWIW-  I hear from someone who has tried both that the learning curve is much easier on SEphp than…"
2 hours ago
Zachary Moonshine replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"i know i wonder about that too"
2 hours ago
Strumelia replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"Well who knows whether they are going to shut down or not- but just the non communication screws us…"
2 hours ago
Zachary Moonshine replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"ning 3 works fine for my radio station if i just leave it at that ..it would be awesome to have eve…"
2 hours ago
soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"i find it incredibly unnerving that everyday someone says ningsplanning on shutting down and screwi…"
3 hours ago
Zachary Moonshine replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"i never got to experience what you guys did with ning 2, since i started here at ning 3 earlier thi…"
3 hours ago
Strumelia replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"True that!
I am definitely NOT a fan of how this whole Glam 3.0 disaster has been handled over the…"
3 hours ago
Strumelia replied to John Bizley's discussion My Completed Video List Page and Main Viewing Page
"ah well that's all good, John.   :)"
3 hours ago
soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"and optimistic..for everyone whos read your posts here for the last 2 years that 1 word from you ab…"
3 hours ago
soaringeagle replied to soaringeagle's discussion ning to jamroom just got eassier and more powerful
"site builder for nings still in beta butthe new ning skins setup for it
and it makes it fairly easy…"
3 hours ago
More…