HTML archive help...

edited March 2012 in General Discussion
Hello,

I'm trying to make, within a HTML archive activity, a page that will automatically redirect to another page after X number of seconds.

This is the code I'm using on that page:



<head> <meta name="viewport" content="width=device-width, user-scalable=no target-densitydpi=device-dpi"/></head><body bgcolor="#000000" text="#FFFFFF">

<META HTTP-EQUIV="REFRESH" CONTENT="3 URL=blahblah.html">



This should redirect to "blahblah.html" after 3 seconds.  And does so in the plain html file when previewed on my computer.  However once it's been built in the app, the page just stays where it is.  It never redirects.

Can anyone help me out?  Have I done something wrong/is there a workaround?

Cheers.

Comments

  • ....Orrr, faling an answer to that... is there a way to force either horozontal or vertical view on individual pages within a html archive?
  • Bump... No help?
  • That may not be supported right now. We'll look into it and let you know for sure.
  • That would be excellent!

    Thank you!
  • I did some looking into this, and it appears that the following line worked in my test regarding the meta refresh in an HTML Archive where the redirected file is in the same source directory:

    <META HTTP-EQUIV="REFRESH" CONTENT="3; URL=blahblah.html">


    The key item was the ";" character after the '3'.

    Sorry it took so long to figure that out, but I hope it helps anyone else encountering this issue.

    Darryl
  • I just use this for my site, idk if it'll help or not but it may?
    <script src="http://static.dudamobile.com/DM_redirect.js" type="text/javascript"></script>
    <script type="text/javascript">DM_redirect("http://mobile.dudamobile.com/site/kdbprodo_webs");</script>

Sign In or Register to comment.