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

Forum

Add youtube video only in first page

Hi,

I would like to know how to add video only in first page or main page.

I have one code for put video but this appear in all pages. How to add video in main page?

 

See my web, is the video in up....

http://ucraniaonline.com/

 

 

Thanks, gracias in advance

 

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

Join Ning Creators Network

Email me when people reply –

Replies

  • textbox... ?

    • No cause text box add video in this part of the web but i need video in one special position of the web!

      Now i have video with scrypt, you can see in my web www.ucraniaonline.com in the head of page. But i need that only its seeing in the main page and no in all pages of them.

      How to do?

  • NC for Hire

    Hi Igoravance,

    Add this class to display on main page only.

    .xg_widget_main

    • Hi Bernard and thanks for answer...

      I have this two codes

      css code:

      #video {
      position: absolute;
      width: 210px;
      height: 35px;
      margin-left: 395px;
      margin-top: -95px;
      }

       

      and scrypt code

      <script type="text/javascript"> x$(document).ready(function() { x$("div#xg_masthead").append('<div id="video"><iframe width="210" height="120" src="http://www.youtube.com/embed/uF373Iynpsc" frameborder="0" allowfullscreen></iframe></div>');

      });   </script>

      Where i need put the code? thanks in advance

      • NC for Hire

        Then use this code in custom code 

        <script type="text/javascript">
        if(x$('.xg_widget_main ').length > 0){
        x$("#xg_masthead").append('<div id="video"><iframe width="210" height="120" src="http://www.youtube.com/embed/uF373Iynpsc" frameborder="0" allowfullscreen></iframe></div>');
        }
        </script>

        <style>
        #video {
        position: absolute;
        width: 210px;
        height: 35px;
        margin-left: 395px;
        margin-top: -95px;
        }
        </style>

        • OHHHHH YESSSSSSSSSSSSSSS I LOVE YOU MAN, REALLY IM YOUR FAN, SO MUCH THANKSSSSSSSSSSSSSSSS

          • NC for Hire

            Thanks igoravance. Glad it worked for you.

            Have a great time.

  • dang i just used it to put slideshow on the Main that boy Bernard knows his cup of Java... !

This reply was deleted.

Search the Creators Network

Latest Activity

Alessandro replied to Adulcinio Rodrigues's discussion Problemas ao adicionar foto de perfil na rede ning 2.0 in Criadores Brasileiros - Brazilian Creators
"Voltou a funcionar agora."
1 hour ago
Alessandro replied to Adulcinio Rodrigues's discussion Problemas ao adicionar foto de perfil na rede ning 2.0 in Criadores Brasileiros - Brazilian Creators
"Estou com esse problema desde ontem. Na página do Facebook do Ning outros também estão reclamando d…"
1 hour ago
Adulcinio Rodrigues replied to Aurora's discussion Ning 2.0 in Criadores Brasileiros - Brazilian Creators
"Ola voce pretende comprar uma rede ning em funcionamento?"
2 hours ago
José Luis Cuendia replied to José Luis Cuendia's discussion Un problema. in Ning Networks en español
"Llevamos dos días sin poder acceder a nuestra red www.Moldeandolaluz.con.
Nos sale al intentarlo el…"
19 hours ago
John Bizley replied to John Bizley's discussion New Windows Style Nav Menu On My Site
"Added another little update to this, now if you click on the Tips & Tricks link a small menu will s…"
Friday
⚡JFarrow⌁ replied to Erika Hoff Holmgren's discussion How to center my groups and make it look more tidy?
"you guys are great!"
May 18
Steve C replied to Steve C's discussion Decreasing space between headings
"Thanks, George. You, too."
May 18
George H. Compton IV replied to Steve C's discussion Decreasing space between headings
"You're welcome Steve. You have a wonderful day. :-)"
May 18
heroning is now a member of NING NETWORKS EUROPE
May 18
George H. Compton IV replied to Erika Hoff Holmgren's discussion How to center my groups and make it look more tidy?
"Hello Erika  :) 
I added a media query wrap so it will look better on cell phones and smaller devic…"
May 18
Steve C replied to Steve C's discussion Decreasing space between headings
"Nevermind...got it. CSS. Thank you...it works perfectly!"
May 18
Steve C replied to Steve C's discussion Decreasing space between headings
"Thank you so much, George! Does that go in the custom code box or CSS?
Steve"
May 18
George H. Compton IV replied to Steve C's discussion Decreasing space between headings
"Good morning Steve, this will do the trick.. :-)
BODY .xg_theme .xg_widget_main.xg_widget_main_inde…"
May 18
Just Asking replied to Just Asking's discussion Here's a fun new glitch... random IP addresses seem to be blocked. Your network, too?
"I didn't hear back from Ning until yesterday. They told me they wanted the IP addresses of those lo…"
May 18
Kristin replied to Just Asking's discussion Here's a fun new glitch... random IP addresses seem to be blocked. Your network, too?
"We are experiencing the same issue. Externally, we can see it via Comcast/Cox/CIO'S but internally…"
May 18
Anam replied to Anam's discussion Integrating Facebook?
"In essence I am absolutely clueless on this issue re facebook. I have not really used facebook as a…"
May 18
Kos replied to Just Asking's discussion Here's a fun new glitch... random IP addresses seem to be blocked. Your network, too?
"Well I hope you gave Ning all of your information although I doubt it'll do us any good at this poi…"
May 17
Jonas replied to Just Asking's discussion Here's a fun new glitch... random IP addresses seem to be blocked. Your network, too?
"I also experience this: "ping creators.ning.com" does not work from one location (a pc) and works f…"
May 17
John Bizley replied to John Bizley's discussion New Windows Style Nav Menu On My Site
"Added one more expanding pane to the menu, this shows the news section from my blogs but anything c…"
May 17
John Bizley replied to John Bizley's discussion New Windows Style Nav Menu On My Site
"Thanks George :-)"
May 17
More…