January 27th, 2003, 09:45 AM
This script should allow the entire DIV to be dragged about when the dragbar is dragged about.
Echoing values seems to be ok, but the div doesn't actually move. Ideas?
January 27th, 2003, 12:45 PM
January 27th, 2003, 01:09 PM
Ahh, sorry. I know better. I was in a hurry, and didn't read the heading close enough.
January 27th, 2003, 04:33 PM
January 28th, 2003, 02:38 PM
"Make an application that works for everyone".
From the site you posted:
January 28th, 2003, 07:44 PM
Ok, just to start, I wasn't *really* offended by what you said . I do think this is a point worth debating though, just so long as we keep this light and impersonal. So here goes:
Sun's jvm, IBM's jvm, gjc, Visual C++, gcc, Rhyno, Window's scripting host, they all seem similar to me. Some run on more platforms than others, but generally it's the compiler/interpreter that's important, not the platform.
I think this applies to a lot of languages. Java is actually one of the worst in this regard, especially when it comes to GUI programming.
Java has several packages for DOM manipulation and perl is quite good at working with html, but neither is specifically targeted at web design.
As for browser incomatibilities, all the one's I'm aware of have to do with the way the browser renders the html. DOM support is a version thing, and almost all of the complaints I've seen have to do with positioning.
January 29th, 2003, 01:07 AM
... i must have overseen your smilie ...
for interpreters maybe yes, for compilers no. i do c++ in three different environments. just because sometimes this one fits better, sometimes this one. (I got BC++ for free as well as Dev-Cpp, at work i have to use VisualC++ but i refuse to use it privately coz it wonīt ever compile on linux. but i recently installed Dev-Cpp there too.) But the resulting executable program does behave always the same. (if you find your workarounds for "has not been implemented in W9X", "needs SP1 applied", "is buggy on win95", ... but as i said - it IS possible without change of the target platform. JS is not.)
Iīm doing a lot of low-level and graphics stuff, this is where it sadly does become platform-dependent. I agree on the different JVMs. Java *is* platform dependent dependent on the "virtual" platform)
same goes for the implementation of the core objects... i just hate client-side browser scripting... Recently had to make JS-Regexps work for NN4, IE4+, IE4.5/Mac, IE5/Mac and NN4/Mac. Guess what? NN4 was the easiest one Still, NN4.05 on both OSs segfaulted. I wish i finally could drop support for all the older browsers. But my boss keeps bugging me...
Also another point: the whole Java family has some real interesting design / implementation problems. One e.g. is:
design: "any object should be manipulated the same way no matter which type the data iside consists of."
"1"+1 = "11" (this is imho not defined by the spec...)
"1"+"1" = "11" (this is nice - compared to C)
"1" - "1" = 0 (i would expect "" then, no?).
seems trivial, but as i am not doing Java / JS that often, i just fell into this pit-trap yesterday again.
"11" != 11 : should that really make a difference in a scripting language where you IMHO should have to deal with variable types as few as possible?
(i really like phpīs implementation of string functions!)
I had a quite big list of stuff like that, but sorry, i canīt find the link anymore.
Everybody probably has his/her favorite programming language(s). My problem is that for client-side browser stuff, there is nearly no way around JS...
Last edited by M.Hirsch; January 29th, 2003 at 01:11 AM.
January 29th, 2003, 06:13 AM
Saw that thread .
Every time the flash player starts, my computer reboots. I finally deleted the damn thing. Hopefully it's more stable now...