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

 

Views: 121

Reply to This

Replies to This Discussion

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?

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

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

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... !

RSS

What's Up With Ning 3.0?

Click here to share your thoughts on what features we should develop next!

Projects that the Ning 3.0 Team is currently working on: 

Articles - a new way of organizing longer content pieces.

Activity Feed Updates - options for more content in the activity feed.

Forum Notifications - ability for members to opt into receiving notifications of new discussions in forums.

APIsThe ability to create new members and content programatically.

For more information on what's next, visit the Product Roadmap

Latest Activity

Enrrico Torres replied to Enrrico Torres's discussion 'Please help to create a slider'
"George thank you very much for the slider..:) it is working fine on the computer and also on the…"
8 minutes ago
Elshara Silverheart replied to Julie's discussion 'How To Show Current Number on Users and Visitors Online?'
"Scripts 4 Ning had this years ago. The only site I know of that still uses it is…"
22 minutes ago
Fabienne GUILLOT replied to Forbes.'s discussion 'WHY IFRAME VIDEO EMBED CODE DOESN'T PLAY ON NING?'
"Thank you very much!"
1 hour ago
alias ningtest-nla@korn.ch replied to alias ningtest-nla@korn.ch's discussion 'Who is receiving notifications for replies to tickets and to the changed status of tickets?'
"Still I miss any answer to this issue .... and ticket 590934 still is open without any solution…"
1 hour ago
soaringeagle replied to Phil McCluskey's discussion 'Introducing Articles and the Author Bio Box'
"they do have 24 hour on call engineers so its not like we have to wait  till they are back in…"
5 hours ago
Anam replied to Phil McCluskey's discussion 'Introducing Articles and the Author Bio Box'
"Error now on my site.. Latest Activity only shows my activity and no one elses. Every day at the…"
5 hours ago
soaringeagle replied to Phil McCluskey's discussion 'Introducing Articles and the Author Bio Box'
"im seeing them more and more and the design studio only opens like 1 out of every 50 times wich is…"
6 hours ago
ceri shaw replied to Phil McCluskey's discussion 'Introducing Articles and the Author Bio Box'
"Cant speak for anyone else but I'm not seeing any 500 errors at the moment."
6 hours ago

© 2014   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service