Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Try code in this question.   

55 minutes ago, tuanphan said:

Try code in this question. 

 

 

Hi Thanks for the reply, this seems to be the like the thing im trying to do. How do I put a video instead of a gif, its saved on my hard drive. does it need to be on the internet first?

 

Thanks

 

 

Link to post
1 hour ago, tuanphan said:

Try code in this question. 

 

If i put the same this like this.

But just reference my video, will that work?

 

 

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<div class="logoload"></div>
<style>
.logoload {
  /* SET BACKGROUND COLOR */
  background-color: #fff;
  /* SET BACKGROUND SIZE */
  background-size: 90px;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("file:///Users/henryoboyle/Desktop/intro/intro.html");
}
</style>
<script type="text/javascript">
$(window).load(function() {
    $(".logoload").delay(500).fadeOut("slow");
})
</script>

Link to post
  • 2 months later...

Hello @tuanphan 

I used the code above but I encountered 2 issues.

1) I'm unable to play my full gif before the website appears. 2) Sometimes it shows the last frame of my gif, instead of playing the full gif. 

Any help will be greatly appreciated!

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...