hi i can't seem to find a list of supported JavaScript Events, i have tried using onclick (wich work on buttons but not on input text) and onfocus (didn't work on input text donno about buttons) onmouseover (didn't work at all) and onselect (didn't work on input text donno about buttons) so could anyone help me?
js wiki
This would make for a great page on the HWiki - if anyone has a list, even if it's incomplete, it would be great if you could post it.
keep hackin'
mc
I can get a list
Started to post this in the wiki but I'm going to be off my pc soon
Wiki Page: http://www.hackwars.net/wiki/index.php/Javascript
Site: http://www.w3schools.com/jsref/default.asp
Either use the site itself or continue coping
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." Albert Einstein
thanks
but maxis i have been looking at w3schools, and not all what works there works here...
Theory is when you know something, but it doesn't work Practice is when something works, but you don't know why Programmers combine theory and practice: Nothing works and they don't know why
Programming MegaGames.DK
events
why don't any (or almost any) javascript events work in HW browser?? there is a nice list here, and all of the ones i have tried doesn't work Link HERE
some HTML dosen't work eighter (yes i know some is blocked) for example i have tried to use tabindex on my site, but it won't work
Theory is when you know something, but it doesn't work Practice is when something works, but you don't know why Programmers combine theory and practice: Nothing works and they don't know why
Programming MegaGames.DK
The HW browser is based on
The HW browser is based on the code of the lobobrowser (can be proven if you try to get some browser infos). AFAIK the support of HTML and Javascript is based on that code rather than on "our" devs.
look at other peoples webpages if they have something what you want to have too and ask them how they did it.
about onmouseover: I think Drac used the css style option hover. sry I cannot tell you more about it. Maybe I find the backup I made - maybe I deleted it.
been googleing a bit
and i found this update post for lobo http://www.archivum.info/fm.announce/2007-11/msg00608.html where it says
"The Javascript events onmouseover, onmouseout, and oncontextmenu have been
implemented." but they still don't work in HW..!
Theory is when you know something, but it doesn't work Practice is when something works, but you don't know why Programmers combine theory and practice: Nothing works and they don't know why
Programming MegaGames.DK
JS Functions
onmouseover does work in lobo / HackWars browser, I think onmouseout does as well but it is not quite what is is intended to be (from what I found). I don't know about oncontextmenu. I will try to put together a list on the wiki for this purpose, but it may take a few days.
-TTJ
(Im in ur compilerz lolin' ur codez !)