Viewing Delay loading of a page within a site
Delay loading of a page within a site
|
User: James G. 10 years ago
|
|
|
I am working on something and wish to delay the loading of a page for X amount of seconds. If I could delay it for a variable amount of time, that would be better. I have found a code, but it seems to work for a single page site. Is this possible in EW? If so, how can I achieve this? This is the code I found- <META HTTP-EQUIV="REFRESH" CONTENT="X;URL=MyWebPage.html"> X equals seconds. |
|
|
User: Jumbo T. 10 years ago
|
|
| Paste the code in the Header Code Box of the page you want to redirect. | |
|
User: Roddy 10 years ago
|
|
|
The meta refresh is used to forward visitors from an existing web page to another one - instantly or after a time delay. Javascript is often used to delay loading of certain elements like a div. You could apply it to the html or perhaps - more appropriately - to the <body>. I had one user ask how to apply a fade in to the page content. This can be done using CSS animation. Paste this into the page Head Code box and adjust the fadein time to suit... <style> body { -webkit-animation: fadein 20s; -moz-animation: fadein 20s; -ms-animation: fadein 20s; -o-animation: fadein 20s; animation: fadein 20s;} @keyframes fadein {from{opacity:0} to {opacity: 1; }} @-moz-keyframes fadein{from {opacity: 0} to { opacity: 1; }} @-webkit-keyframes fadein{from {opacity:0} to { opacity: 1; }} @-ms-keyframes fadein{from {opacity:0} to { opacity: 1; }} @-o-keyframes fadein {from {opacity:0} to { opacity: 1; }} </style> ------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
| Post Reply |
| You must login or signup to post. |
