Mystic Software Forums
Miscellaneous => General Off-Topic => Topic started by: DarkElite on May 05, 2004, 06:37:58 PM
-
does anyone know how to make a redirection in javascript or html?
-
You mean a page that instantly takes you to another page?
In your <head> section, put this:
<meta http-equiv="Refresh" content="0; url=http://redirect.com">
-
ok, and you can change content to the delay seconds time?
also, is there a way to put variables in order from greatest to least with just one command in JS?
-
by this i mean it can also just be the greatest of them all... (im trying to make a form of talleying Razz )
-
<script LANGUAGE="VBS">
'let's pretend the variables are all in the var() array
dim var(99999) 'lots of room
MsgBox CSTR(Greatest()) 'popup a box saying the greatest
Function Greatest()
dim a
dim biggest
for a = 1 to 99999
if var(a) > biggest then biggest = var(a)
Next a
Greatest = biggest
End Function
</SCRIPT>
-
.....
i have no idea what that means.....and, im trying JS, im uncomfortable with VBS....what im trying to do is make a type of servey thing, and when you have one of the radios clicked, it will add a point to a certain value, and then, at the end, that highest value would be found, and depending on which value that is, it will display a different image
-
I can't help you but id you go to a library you can get a couple of training books and do all sorts of stuff. Im learning XHTML and CSS right now. I'll keep you posted. Ther might be something in there that may help.
Gimme a week or two to mull it over ill figure it out...
-
OMG...Ill need to fish out some VB books later this week...jeesh
Sleep...bah!!