@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4



Comments:

<0> no reason really, i might have to add more to it later
<1> onload = disable_fields; <- onload what?
<0> ah the curly brace
<1> Don't make shortcuts like that.
<0> cant even see it on this screen haha
<1> Change to window.onload = disable_fields;
<0> oh ok thanks
<0> when do you use the () when calling a function?
<0> like disable_fields vs disable_fields()
<1> You use it when you are calling the function...
<2> () when calling a function
<0> gotcha, so its correct the way it is now?
<1> window.onload = disable_fields; <- ***igning a method.
<0> ok cool, thanks for the help and tips
<3> hi, is anyone here?
<1> Nope.



<3> i think i have a memory leak but i don't know how to fix it
<3> I simplified the code as much as possible to show this
<3> http://erxz.com/pb/2835
<3> the cursor is different on one of the divs
<3> in IE
<3> hello again
<3> are you there?
<3> I have a very simple piece of code...
<3> http://erxz.com/pb/2835
<4> hi all
<1> Hello.
<4> i need some help please for a js problem i have
<3> hi
<4> this is my http://rafb.net/paste/results/Hz9e2567.html
<4> very sort
<4> hi Agamemnus
<4> so the problem is :
<4> on line 15 no such element
<3> no
<3> that is not the problem
<3> errr
<3> oh, your problem.
<4> yes :)
<3> try get
<3> ..... and the correct link
<4> i want to use post method its more secure
<2> 'POST' or 'GET'
<4> i have to go
<4> but i'll be back soon
<4> tks
<3> easy question: "document.onmousemove=moveImage": how can I add parameters to this without breaking the code?
<2> onmousemove=function(e) { moveImage(e, blah);}
<5> hey ht311 how's your cold?
<3> that broke it
<2> it ok now. took a whole weekend to recover
<5> ****s to waste a weekend like that
<5> Agamemnus what's the prototype of the moveImage() function?
<2> that won't broke it. unless your moveImage is very bad
<3> see, here's the issue,
<3> IE, divs and images handle dragging very badly
<3> i am trying to modify http://www.w3schools.com/dhtml/tryit.asp?filename=trydhtml_move
<3> i have made a few modifications
<3> i want to make it "onmousedown=coordinates(this)" inside the img tag
<3> your code made the image drag not work
<2> crap. that code don't even work in FF, and you start with some bad code, what else you can do after?
<2> you don't need "this". read the properties in the event
<2> .srcElement or .target
<3> omfg man no one listens
<2> yeah you are the one
<3> ht311..
<3> do you remember the div and backgroundImage problems I had...
<3> I am trying to resolve it
<2> it is a different issue
<3> the div issue is a bug in IE: http://lists.rubyonrails.org/pipermail/rails-spinoffs/2006-April/003716.html
<3> it is the same issue
<3> using images instead of divs fixes everything
<3> except one thing
<2> it just confirm what I suspect
<3> the one thing is that when i try to drag a div over images, I get a no-drop cursor
<3> and the dragging does not work as it should
<3> but when i use divs, i have no idea how to fix the resize issue



<3> I fixed the movement issue but the resize issue... well I just don't know. I tried everything
<2> why it will have a drop cursor? your move still on top of the image, you have manage that yourself
<3> and the thing is, the actual divs with images don't even move
<3> "NO DROP" cursor
<3> http://tekweb.idi.ntnu.no/drdok/unix/cfengine/data/acl/solaris/acl62/doc/pages/variables/common-graphics/no-drop-cursor.htm
<3> look at this:
<2> man, you spend a week on this issue, while you don't even't know what the standard support, and what is not standard
<3> http://www.flyingsoft.phatcode.net/test9.htm
<3> That's irrelevant
<3> god man
<3> even that doesn't work properly.. it changes to a pointer every once in a while
<3> and you can't drag the images. You get a no-drop cursor
<2> that is the default browser's cursor, not css related
<3> the no-drop cursor is not a default cursor
<2> know your terms well. so that people don't have to guess what you mean
<3> what are you talking about?
<3> I didn't say it was css related
<2> if you say so, we don't help with browser's issue too
<3> "we"...
<3> browser's issue?
<3> it's a javascript issue
<2> it is not.
<3> getting rid of the no-drop effect is not a javascript issue?
<2> there is a javascript solution for this silly browser specific problem
<3> if you are so confident there is a solution, then what is the solution?
<2> it is not a no-drop effect, it is a no-drop curor appear when draging image in IE
<3> I don't know what it's called, ok?
<2> cancel the event
<3> i don't know....what the event is.
<2> just think
<3> on.document.drop?
<3> or.
<3> ondocumentdrop?
<3> ??????
<3> onmousedrop?
<3> i'm looking at http://www.w3schools.com/html/html_eventattributes.asp and i don't know what it is
<3> and you keep giving me half-answers that aren't really answers at all
<3> .... ?
<6> he gives you the blue pill and a red pill
<6> THINK NEO THINK
<7> when is the event sequence when you just "dragging" the image (there is no dragging events)
<7> s/just start
<3> Ok, i got it, but here is another one that you won't care to answer
<3> document.ondragstart= new Function (return false;")
<3>
<3> Except that the entire onmousedown thing kind of doesn't work anymore
<7> there is no ondragstart in the standard dom
<3> .........
<3> I know!
<1> Omg teh liek leet! new Function() pwns j00 lol!
<3> but that disables onmousedown as well
<3> so it is no good.
<7> since there is no ondragstart, there is no problem
<3> or, at least it disables my code
<3> perhaps the img never worked with onmousedown to begin with
<3> no
<3> that would be ridiculous.
<3> it's not even the image i am working with
<3> oi
<3> okay
<3> yeah it works now.
<3> :-)
<3> byp***ing the stinky div
<8> How do I check to see if a certain HTML entity is focused?
<9> hmm
<9> onfocus
<8> I want to see if it is focused, not do something when it is
<9> well, make a function for it that says if it is activated, set a variable to true
<5> well, wildly guessing i'd say you'd need an onfocus event like this : onfocus="MyFocusedElement = this;"
<9> javascript doesn't really work like that, see
<9> you need functions
<2> Agamemnus|af, what StaZ[work] put may not be pretty, but it work. know what your are reading


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #javascript
or
Go to some related logs:

lezbiana
#asm
#linux
#linux
#asm
grub-manager
/usr/lib/python2.4/site-packages/rpm is needed by yum
donwald java
#c
#linuxhelp



Home  |  disclaimer  |  contact  |  submit quotes