| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<_zack_> I think my problem is that Im creating a div (position:absolute) for every pixel inside my POV. Maybe using drawing lines with x1-x2, y1-y2 will be better. <_zack_> for example the JavaScript VectorGraphics library. (http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm) <ht311> that is using a pixel to simulate the line too <_zack_> yes <ht311> i was talking about this http://www.slimeland.com/raytrace/ <_zack_> but I dont know how to give any form to a div, like big at the begining and small at the end <_zack_> well, this is RayTracing <_zack_> I prefer RayCasting for what Im doing <_zack_> cause it runs fast anywhere <ht311> guess you need to remodel the line into something call stroke <_zack_> ok <NeoFu7ure> how stoppid <NeoFu7ure> ray tracing in JS <_zack_> Ray Casting <_zack_> http://www.wolf5k.com/wolf5k.html -> this has been done with RayCasting <NeoFu7ure> broekn image <_zack_> I've also done so with div's <ht311> damn, the ctp didn't come with my network driver <_zack_> and it works very well <NeoFu7ure> _zack_ dont work <_zack_> you mean, my version doesnt work? :] <NeoFu7ure> http://www.wolf5k.com/wolf5k.html <NeoFu7ure> broken image <ht311> NeoFu7ure: i just installed the new 5308 to my htpc <_zack_> its working for me <ht311> it installed in around 1:30 <_zack_> J = left ; K = Forward; L = Right; M = Back <_zack_> Space == shoot <_zack_> and I saw someone who made it with div's also, but he's engine is crappy. <_zack_> http://www.elephantsneverforget.co.uk/hroberts/editor/gme.asp <_zack_> that's the one <_zack_> he made it with divs also <exacube> does it work with mozilla? <_zack_> yup <exacube> okay, how do you move <exacube> the keys aren't working <_zack_> I tried it on firefox and it worked <_zack_> keys == W,A,S,D <Izabella> hi <Izabella> I have this login form.. I wanna replace the login button with an image.. <_zack_> <input type="image" src="yourImage.jpg"> <Izabella> how would I post uwing an image link <_zack_> this will work as a normal submit button <Izabella> that's just a regular form image object <Izabella> not a submit button <_zack_> no, this works as a submit button <_zack_> you dont need to add: onClick="document.form.submit()" to it. <furtive> correct <Pilum> o_0 <Pilum> A tad bit presumptuous that code <HuSoft> I like to help people (I think thats the best way to learn), how can I be an official channel helper? <Pilum> Just hang around if you wish. <HuSoft> ok <HuSoft> brb, let me change my ident <mr_New> hello where can i paste a small script? <exacube> pastebin.com <HuSoft> http://html-channel.com/pastebin.php <mr_New> tx guys can u check it for a sec? it is a few lines <HuSoft> paste the url... <mr_New> http://html-channel.com/pastebin.php?id=5 <HuSoft> what you want to do? <mr_New> oh this bin corrects for me <mr_New> i can t figure out why this script is not working it is from a book called javascript bible <mr_New> but i m not sure if it is outdated <mr_New> it is not working in my browsers <HuSoft> ok, what you want to do? <RoBorg> try document.forms['converter'].elements['output'] <RoBorg> also your double quotes look weird... <mr_New> this script should make the text area input in uppercase <RoBorg> they don't look like "... did you copy-paste from Word or something? <HuSoft> <INPUT TYPE=text NAME=input VALUE=sampleonChange="upperMe()"><BR> <HuSoft> I think this will never work <sk8ing> lol <RoBorg> there's a newline in there so it should be OK <HuSoft> you can do: onBlur="upperMe(this)" <Pilum> Won't the engine ***ume a ; after document.converter.output.value =? <mr_New> http://html-channel.com/pastebin.php?id=6 <mr_New> ok this is exactly how i copied from the book <HuSoft> onChange? <Pilum> Must be an old book though. <mr_New> HuSoft ok i ll try it <RoBorg> mr_New I think the problem is the quote characters <RoBorg> ignore everyone else :p <HuSoft> remember you are inside a input type text <mr_New> i better find a new version of that book... <HuSoft> mr_New: http://html-channel.com/pastebin.php?id=2 <HuSoft> onChange wont work on an input type text. <RoBorg> err yes it will <HuSoft> well, not on IE I guess <RoBorg> it works fine <HuSoft> weird, it doesnt work for me <RoBorg> odd <HuSoft> ahh, it works only when it luses focus <Pilum> http://html-channel.com/pastebin.php?id=3 <Pilum> Replace onchange with onkeyup then <HuSoft> Pilum: check: http://html-channel.com/pastebin.php?id=2 <RoBorg> you left the crazy quotes in, Pilum :p <HuSoft> thats on the version I pasted ;) <mr_New> oh wow it works for me this one : > <HuSoft> mr_New: http://html-channel.com/pastebin.php?id=2 <Pilum> What crazy quotes? :-) <HuSoft> the ones mr_New added before <RoBorg> they're not proper " characters <mr_New> RoBorg what quotes are u talking about? <RoBorg> ” <RoBorg> those ones <mr_New> oh ok yeah but dreamweaver read them as quotes and still didn t work <Pilum> They look like normal ones to me... *puzzled* <HuSoft> :] <RoBorg> http://html-channel.com/pastebin.php?id=4 <HuSoft> I think ms-word adds those weird quotes. <RoBorg> did't your mum warn you you'd go blind? <HuSoft> bbl <Pilum> Now that you mention it they _are_ different. <Pilum> First time I've seen the "crazy" kind though... <RoBorg> ms-word likes putting them in <HuSoft> yup <HuSoft> mr_New: use notepad for coding JS... <mr_New> oh damn something wrong i copied the text from a pdf file on a notepad then to that text bin still i got the bad quotes...why is that ? :S <HuSoft> dunno, we only answer JavaScript questions here :P <HuSoft> bbl <mr_New> oh nevermind i found out why ... : notepad is reading the quotes like this : ” <- instead of " <mr_New> nvm.. <mr_New> ty guys <HuSoft> np <mr_New> RoBorg i fixed the quotes and like u said it worked. so probably the book is not outdated lol <RoBorg> nah the book is still outdated :p <Pilum> It is. :-) <mr_New> how do u know lol <mr_New> any big changes? <Pilum> Look at the url I pasted. <mr_New> ok Pilum got ur point it looks like a different language <h3> ht311 ? <ht311> ? <h3> i'm playing with the listgrid.. <h3> http://domapi.com/build/tests/HTML_4.01_Transitional/listgrid_(edit).htm?theme=system&skin=false&lang=eng <h3> this one <ht311> you ask the right person <h3> and I'm trying to figure out how to "snap" the ctBrowser controll to the "..." button <h3> and, is it possible that the ctSelect is broken under ff 1.5 ? <ht311> you need to include the function ref in the dataset col <ht311> hmm not sure about that later one, let me find the property first <h3> {value : "Test", ref:ctBrowseButton}, ? <ht311> controlType:ctBrowseButton, onbeginedit:myhandler <ht311> function myhandler(r,c) { ...} <ht311> for the ff 1.5, yup could be a problem there <ht311> damn <h3> :S <h3> using onbeginedit works, as listgrid.data.cols[2].onbeginedit = myHandler used to works .. <ht311> yup, that should work
Return to
#javascript or Go to some related
logs:
#windows Is a directory. Stop. blaspheny #gentoo cesula #AllNiteCafe lan-side syn flood #mirc javac tig #javascript
|
|