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

Fire-Tech replied to Odino's discussion More space between modules
"Hard to say without seeing the site to check the code. If !important isn't working. Try to call it…"
3 hours ago
Kos replied to Odino's discussion More space between modules
"Did you try to increase the margin size in the code above?  Maybe someone else will chime in here b…"
6 hours ago
Odino replied to Odino's discussion More space between modules
"OMG I don't know why I wrote this, I'm sorry!!!!
I wanted to write: can I INCREASE the space betwee…"
9 hours ago
Kos replied to Poppili's discussion Have you heard of Mightybell ?
"Looks like posts, events and chat.  Very, very basic.  Nothing more are this point.  They're still…"
10 hours ago
Kos replied to Odino's discussion More space between modules
"You said you want a "little more" space.  Now you're saying you want to reduce.  I'm not sure which…"
13 hours ago
Odino replied to Odino's discussion More space between modules
"Thanks for the reply. 
Now my network is closed and private, so only members can log-in. 
So I atta…"
16 hours ago
Kos replied to Lady Shadow )0('s discussion Member issues HELP please
"Yes, Ning itself was down for a few hours yesterday.  Could've been your problem.  Hopefully that w…"
yesterday
Lady Shadow )0( replied to Lady Shadow )0('s discussion Member issues HELP please
"Ning still best platform I have gone spruz   its ok  but I personally dont like the platform as it…"
yesterday
Lady Shadow )0( replied to Lady Shadow )0('s discussion Member issues HELP please
"Yes I have and took out my curser  too and  floating  gadget.  Well hopeful ppl will ty what I sugg…"
yesterday
Kos replied to Lady Shadow )0('s discussion Member issues HELP please
"Apologies - just saw you tried that.  Again, not seeing anyone else with problems today, have you t…"
yesterday
Lady Shadow )0( replied to Lady Shadow )0('s discussion Member issues HELP please
"Thanks and it has gone 99 percent smooth today,  Iknow it was down yesterday morning . hmm wonder i…"
yesterday
Kos replied to Lady Shadow )0('s discussion Member issues HELP please
"Being a weekend, you won't hear until Monday afternoon, at the earliest.  The best you can do is re…"
yesterday
Kos replied to Odino's discussion More space between modules
"It's usually something like this but tough to be certain w/o looking at your site.  Give me your UR…"
yesterday
Garfield Archivist replied to Ning's discussion Introducing Activity Feed Improvements, Including Member Status Updates
"Just a little update about this whole "Ning hasn't provided an update in a year or over a year". It…"
Friday
SAMUEL QUELES replied to SAMUEL QUELES's discussion DIVULGAÇÃO DA REDE PARA ATRAIR MEMBROS in Criadores Brasileiros - Brazilian Creators
"Obrigado pessoal. Fiquei um bom tempo sem acessar a Creators, estou respondendo agora. Pensando bem…"
Friday
SAMUEL QUELES replied to SAMUEL QUELES's discussion Chat Spot: não consigo visualizar outro membro. in Criadores Brasileiros - Brazilian Creators
"Olá Keila!
Obrigado pela informação. Acabei adotando o skysa mesmo, o plano anual. É muito bom.
Qua…"
Friday
Ning via Facebook

Hi all! Early this morning (PDT) Ning Networks, http://ning.com/ and http://status.ning.com/

Lora replied to Garfield Archivist's discussion Network Creators Private Survey Results
"+1"
Friday
Eve replied to Garfield Archivist's discussion Network Creators Private Survey Results
"It was very distressing! I'd like to add that there is an alternate community of NING creators who…"
Friday
Garfield Archivist replied to Garfield Archivist's discussion Network Creators Private Survey Results
"Ning was down for several hours this morning with no access to even status.ning.com. This makes the…"
Friday
More…