View Full Version : Stop Code

09-06-2010, 05:21 AM
Help! I'm not very good with html/css or any web stuff, my friend wants a blogger for his videos that I'm currently working on.

Ive managed to create a splash page that features one video and an enter button. The only problem I am having is, one you click on 'wood + wires' it should go into the blog part of the page, which it does, but the sound of the video keeps playing.

Is there any way to make it stop? This is the blog http://brennygee.blogspot.com and this is the code I'm using for the splash page...

Please help!

<!-- Welcome page Start by http://bloggersentral.blogspot.com/ -->
<!-- HTML part -->
<div style="padding-top:0px;">
<a id="EPEntryButton" onclick="document.getElementById(&quot;HTML88&quot;).style.display=&quot;none&quot;;document.getElementById(&quot;Text88&quot;).style.displ ay=&quot;none&quot;"><iframe src="http://player.vimeo.com/video/14285815?byline=0&amp;portrait=0&amp;color=ffffff" width="649" height="365" frameborder="0"></iframe></a>
<a id="EPEntryButton" onclick="document.getElementById(&quot;HTML88&quot;).style.display=&quot;none&quot;;document.getElementById(&quot;Text88&quot;).style.displ ay=&quot;none&quot;"><img src="http://i640.photobucket.com/albums/uu121/brennygee/WWENTER3.gif" /></a>
<!-- CSS part -->
#welcome-wrapper{width:650px;margin:0 auto;height:0px;text-align:center;}
/* welcome message widget */
#Text88, #EPEntryButton, #EPGrab {position:relative;z-index:100;top:-55px;}
#Text88 {background-color:#fff;border:solid 0px orange;color:#222;display:none;padding:15px;}
#HTML88 {z-index:350;display:none;}
/* DarkLayer div */
#EPDarkLayer {background-color:#000;opacity:100%;filter:alpha(opacity=100);top:0px;left:0px;z-index:500;position:fixed;}
/* Entry button */
#EPEntryButton {background-color:none;border:outset 3px none;color:#333;cursor:pointer;font: arial;font-size:25px;padding:10px;text-decoration:none;}
#EPGrab {color:white;padding-top:10px;}
<!--[if IE 6]>
#EPDarkLayer {position:absolute;}
<!-- Javascript part -->
<script type="text/javascript">
YourBlogUrl="http://brennygee.blogspot.com/"; //enter your blog url here
fromInternal=document.referrer.search(YourBlogUrl); //check come from where
if (fromInternal == -1)
{ //if visitor comes from external page
getDarkLayer.width=screen.availWidth+"px"; //set DarkLayer width
getDarkLayer.height=screen.availHeight*2+"px"; //set DarkLayer height
getHTML88.display="block"; //show DarkLayer
getText88.display="block"; //show message
{ //if visitor comes from internal page
getHTML88.display="none"; //hide HTML gadget
getText88.display="none"; //hide message
<!-- Welcome page End -->

09-06-2010, 05:30 AM
remove the player when the user clicks on the link.
modify the tag IDed EPEntryButton to

<a id="EPEntryButton" onclick="document.getElementById(&quot;HTML88&quot;).style.display=&quot;none&quot;;document.getElementById(&quot;Text88&quot;).style.displ ay=&quot;none&quot;foo=document.getElementById('EPDarkLayer');foo.parentNode.removeChild(foo)">

09-06-2010, 05:59 AM
Um... where or what do I replace?

Thank you soooooo much for your help!

09-06-2010, 06:31 AM
So I've tried placing and replacing this code. Either the player disappears or "wood + wires" disappears... and I kind of need both. What am I doing wrong???

Please help. I may throw my computer out the window soon.