Blue Line
Blue Line

Reputation: 81

Google site, html box, 0+0 error message

I am trying to run following HTML & JavaScript Code in HTML box in google sites, but running into this error, "0+0: folding element body into parent" and no success. Any ideas? Thanks

<html>
<head>
<meta http-equiv="refresh" content="3;url=http://www.somewhere.com/" />
</head>
<body>
<h1>Redirecting in 3 seconds...</h1>
</body>
</html>

Source: Redirect website after certain amount of time

Upvotes: 2

Views: 295

Answers (2)

MikeM
MikeM

Reputation: 27405

Use the "URL Redirector" gadget as instructed here: redirect - K8OMS Help Site

Add URL Redirector Gadget to your page.

  1. Edit page
  2. Insert
  3. More Gadgets
  4. Search for URL Redirector
  5. Select it
  6. Configure it with the URL to redirect to and the number of seconds (be sure to include the whole URL including the http://)

also, after 3. More Gadgets be sure to click Public then search

Upvotes: 1

Simon Carlson
Simon Carlson

Reputation: 1989

Try doing a javascript function that runs when the body loads. Use the setTimeout() function. This'll probably give you more control over your redirection as well, so you can play around with it :)

Upvotes: 0

Related Questions