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....
Thanks, gracias in advance
Tags:
Permalink Reply by igoravance on November 22, 2012 at 11:23pm 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
Permalink Reply by igoravance on November 23, 2012 at 12:20am 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>
Permalink Reply by igoravance on November 23, 2012 at 9:10am OHHHHH YESSSSSSSSSSSSSSS I LOVE YOU MAN, REALLY IM YOUR FAN, SO MUCH THANKSSSSSSSSSSSSSSSS

Thanks igoravance. Glad it worked for you.
Have a great time.

soaringeagle replied to soaringeagle's discussion 'stop confusing everyone make your 3.0 icons more use friendly'
Yaron replied to Allison Leahy's discussion 'Changes to Ning 3.0 Based on Your Feedback'
Apostle Solael replied to Allison Leahy's discussion 'Changes to Ning 3.0 Based on Your Feedback'
Kos replied to soaringeagle's discussion 'stop confusing everyone make your 3.0 icons more use friendly'
soaringeagle replied to soaringeagle's discussion 'stop confusing everyone make your 3.0 icons more use friendly'
Kos replied to soaringeagle's discussion 'stop confusing everyone make your 3.0 icons more use friendly'
Kos replied to Suzie Nielsen's discussion 'quick question'© 2013 Created by Ning.
