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

Mandy P. replied to Mandy P.'s discussion 'Remove unwanted space-Header'
"thanks a bunch..that helps!"
7 minutes ago
Aaron replied to Aaron's discussion 'Ning Spring Cleaning Begins This Week'
"Hi everyone, Just a quick note to let you know that this spam cleanup is complete. That said, you…"
1 hour ago

NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Check it out. I hovered both images, made 2 screen shots (just to capture the hover tip) and placed…"
2 hours ago

NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"I'm thinking it has something to do with caching. I just inspected the header, and I see 2…"
2 hours ago

NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Fire-Tech, You guys have given me major relief, just to know it's not something unique on my…"
2 hours ago
Fire-Tech replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Same thing here. All of the same issues...in FF and Chrome, but not as bad in Chrome."
3 hours ago
Kos replied to Kos's discussion '3.0 My Thoughts From A Non-Coder (edited 5/20/13)' in the group The Sandbox
"Edited to add a menu layer suggestion [used the Galaxy SIII]"
3 hours ago
Allison Leahy replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Sure does. Thanks for capturing this."
4 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service