Redirecting with JavaScript
Nov 20, 2007 10:43:14 GMT -5
Post by turbov21 on Nov 20, 2007 10:43:14 GMT -5
Once Carl fixes the "Homepage" bug, so we can set a script as our default page and still run other scripts, I'm going to setup a frames page with a menu that links to all my various programs. Here's the code I'll be using to get my default/homepage program to redirect to my frames page:
' HOMEPAGE
' --------
cls
titlebar "Homepage"
html "<script type=""text/javascript"">"
html "location.href=""/homepage/frames.html"""
html "</script>"
end