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: 78

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

Latest Activity

soaringeagle replied to soaringeagle's discussion 'stop confusing everyone make your 3.0 icons more use friendly'
"link me to your site ill play with it see if i can figure out wny"
5 minutes ago
Yaron replied to Allison Leahy's discussion 'Changes to Ning 3.0 Based on Your Feedback'
"My experience on Ning 2.0 has been that videos posted by me (through the Network Creator profile or…"
59 minutes ago
Apostle Solael replied to Allison Leahy's discussion 'Changes to Ning 3.0 Based on Your Feedback'
"You know, I do not understand.  I have always been able to view youtube videos full…"
1 hour ago
Kos replied to soaringeagle's discussion 'stop confusing everyone make your 3.0 icons more use friendly'
"hahaha it's just not my day. hahahaha"
3 hours ago
soaringeagle replied to soaringeagle's discussion 'stop confusing everyone make your 3.0 icons more use friendly'
".button.button-iconic {  background-color: red !important;} i sweatr that should work "
4 hours ago
Kos replied to soaringeagle's discussion 'stop confusing everyone make your 3.0 icons more use friendly'
"It just hates me; pure and simple.  lol"
4 hours ago
Kos replied to Suzie Nielsen's discussion 'quick question'
"You need to have Excel.  Do you have another member you could grant access to it?   …"
4 hours ago
Suzie Nielsen replied to Suzie Nielsen's discussion 'quick question'
"Thanks, I guess I do not have a program to open this CSV thingy... tried but it looks complicated…"
4 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service