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

Thiago Santos de Moraes replied to Calico's discussion AJUDA COM ESTE NING 3,0 in Criadores Brasileiros - Brazilian Creators
"Um que use os mesmos membros de sua rede só o Cometchat mesmo, mas o Spot dá conta do recado se voc…"
58 minutes ago
Thiago Santos de Moraes replied to Calico's discussion AJUDA COM ESTE NING 3,0 in Criadores Brasileiros - Brazilian Creators
"Entre com outro navegador. Para mim é super normal com o Firefox, Chrome e IE."
1 hour ago
Calico replied to Calico's discussion AJUDA COM ESTE NING 3,0 in Criadores Brasileiros - Brazilian Creators
"Acho que ficou um pouco confuso pois sua resposta esta em outro post. Me refiro a sua resposta:
"Vo…"
3 hours ago
ANGE.L LUAR replied to Calico's discussion AJUDA COM ESTE NING 3,0 in Criadores Brasileiros - Brazilian Creators
"Thiago Santos de Moraes eu não lembro vc ter me indicado chate auternativos, uso xat. com mas outro…"
5 hours ago
Thiago Santos de Moraes replied to Calico's discussion AJUDA COM ESTE NING 3,0 in Criadores Brasileiros - Brazilian Creators
"Do que você está falando, Calico?"
5 hours ago
George H. Compton IV replied to George H. Compton IV's discussion ( TIP "N3.0, N2.0 ) Add Google translate to all pages. Update 2/25/15 v9
"I'm having a great day to, well so far. lol
That's great I'm glad you have your site set up the wa…"
5 hours ago
Jim Kinson replied to SweetPotato's discussion Ning 3.0 & 2.0 Update: Archiver & Migration
"I am so happy I did not go through the migration process. Yes it makes more work having to sites, b…"
5 hours ago
Calico replied to Calico's discussion AJUDA COM ESTE NING 3,0 in Criadores Brasileiros - Brazilian Creators
"Thiago tentei muito mas não consegui. Entro na peagian e quando peço para instalar nada acontece...…"
6 hours ago
Thiago Santos de Moraes replied to Calico's discussion AJUDA COM ESTE NING 3,0 in Criadores Brasileiros - Brazilian Creators
"Para o chat já indiquei alternativas em outro tópico, por que você não usa uma delas?"
6 hours ago
Calico replied to marshall blake's discussion Events For 3.0 Networks
"Very good idea !!! Im gonna try that in my network. I also notice that you are using a chat bar app…"
6 hours ago
Luke Jones replied to Luke Jones's discussion Help!!
"ah you awesome person!!I've just done it, My status text was just too big, it was over powering the…"
7 hours ago
Luke Jones replied to George H. Compton IV's discussion ( TIP "N3.0, N2.0 ) Add Google translate to all pages. Update 2/25/15 v9
":) Yep, I'm having a great day thank you, yourself ? :) I'm so excited about my website, I've final…"
7 hours ago
George H. Compton IV replied to Luke Jones's discussion Help!!
"Hello Luke. :-)  This should do the trick. The code goes in your design studio CSS section. Change…"
7 hours ago
George H. Compton IV replied to George H. Compton IV's discussion ( TIP "N3.0, N2.0 ) Add Google translate to all pages. Update 2/25/15 v9
"You're welcome Luke, hope you're having a wonderful day. :-)"
7 hours ago
Kos replied to SweetPotato's discussion Ning 3.0 & 2.0 Update: Archiver & Migration
"Traddie I pointed another member in your direction who is looking to purchase a 2.0.  He may reach…"
18 hours ago
TJ @ jQueryHelp replied to Luke Jones's discussion Just a quick question
"Hi Luke,
Glad to have you as a Member of my site!
I looked into Smileys years ago, and I believe th…"
18 hours ago
Fire-Tech replied to SweetPotato's discussion Ning 3.0 & 2.0 Update: Archiver & Migration
"+1 exactly"
20 hours ago
Fire-Tech replied to SweetPotato's discussion Ning 3.0 & 2.0 Update: Archiver & Migration
"Tempting, but I already moved my elearning site in a different direction and shut down my last 2.0…"
20 hours ago
Luke Jones replied to George H. Compton IV's discussion ( TIP "N3.0, N2.0 ) Add Google translate to all pages. Update 2/25/15 v9
"Oh my , I'm only now seeing this aha, thank you dude :) I have member's from different countries, s…"
20 hours ago
Fire-Tech left a comment for Eve Bellator
"Nice to meet you :)"
20 hours ago
More…