• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization embeded object on homepage only

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #130 (Hot or Cold), Memol..

The next Dgrin Challenge DSS #131 (Music) is open for entries through June 24th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Dec-26-2006, 06:37 AM
#1
yvoncanada is offline yvoncanada OP
Big grins
embeded object on homepage only
Hi
Merry Christmas and Happy New Year!

I have an embeded object on my homepage but i would like it to only work on the homepage. Its a short video (i linked it to a video in another gallery).

It works fine but it works on every other page too!!
I tried to apply the logic you used to see only a photo on homepage with the css formula (display block,etc) but it doesn't seem to work.

sanscartier.smugmug.com

embed object is div id="myvideo"
Thanks!
Yvon
__________________
www.sanscartier.smugmug.com
Old Dec-26-2006, 06:52 AM
#2
Andy is offline Andy
panasonikon
Andy's Avatar
make it a div like this

<div id="myebeddedobject"></div>

then in CSS:

#myebeddedobject {display: none;}
.homepage #myembeddedobject {display: block;}
__________________
Andy
Moon River PhotographyWorkshopsGoogle+FacebookTwitter
Old Dec-26-2006, 07:34 AM
#3
yvoncanada is offline yvoncanada OP
Big grins
Hi Andy
Thanks for the quick reply but unfortunately when i access another page the audio starts agaan although i don't see the video on other pages.

Yvon
__________________
www.sanscartier.smugmug.com
Old Dec-26-2006, 07:42 AM
#4
Andy is offline Andy
panasonikon
Andy's Avatar
Quote:
Originally Posted by yvoncanada
Hi Andy
Thanks for the quick reply but unfortunately when i access another page the audio starts agaan although i don't see the video on other pages.

Yvon
OK well then, you'll need a smarter person than me :) Stay tuned, and bump this once a day.
__________________
Andy
Moon River PhotographyWorkshopsGoogle+FacebookTwitter
Tell The World!  

Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump