Closed Thread Icon

Topic awaiting preservation: DHTML Windows - Need Browser Test (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8467" title="Pages that link to Topic awaiting preservation: DHTML Windows - Need Browser Test (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: DHTML Windows - Need Browser Test <span class="small">(Page 1 of 1)</span>\

 
Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 01-17-2003 01:54

Ok, it's still kinda raw but hopefully it'll be ok. Might have issues with pre IE5.5 browsers. NN4 has no hope getting this one right. Opera 7 should be happy. Haven't tested it on a Mac yet. Linux Mozilla 1.3 alpha had a few issues... then again it was an alpha version...
http://www.whatever.net.au/~cameron/files/scripts/dragwin/dragwin.html

The only images used are the images in the Content. The rest is simply CSS. Let me know if it works and how well. Poke around, click this and that, double click the menu bar... Any issues?

Platform and Browser + version(s) would be helpfull. I'm also looking to see how well it performs on other peoples PC's. I'm running an Athlon 2100+ so yah, works fine for me but I'm concerned about the people still running P2 400's or even P1 200's and the like. So um yah, slow computers, Mac's, Netscape 6 users and whatever else you can throw at it.

Suggestions for improvment are also more than welcome. It's far from finished yet.

Many thankyou's in advance. Cookies afterwards.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 01-17-2003 02:18

Very nice. Works smoothly on P3 700 (i think), win XP IE 6. Only a few little tiny things:

1. double clicking on the title bar *text* doesn't have any effect.
2. it would be nice if, when you're resizing, it stopped you at the lower right corner of the browser window as cleanly as it does when you're dragging it to the corner of the browser window.
3. it would be nice to resize from the upper left or upper right.

Otherwise, it's excellent! Good job!

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 01-17-2003 02:30

Great job!!! You've been doing some great work in this area lately and it's pure pleasure to witness.

It worked very smoothly here too. This is a 1Ghz P4 Win2k machine.

Double clicking the title bar caused the text to be highlighted but that was a very minor thing.
In NN6 the resizing would sometimes lock up but I could recover by releasing the mouse button picking up where it left off.
Other than that, I didn't see any problems.

You're making me want to go back and revisit the whole dhtml windowed thingy I worked on it seems ages ago now

. . : slicePuzzle

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 01-17-2003 04:33

Problems on Mac IE 5.2.1 OSX.

Doesn't drag for one thing. I get the special cursor, but no drag. Same with resize. cursor changes but no functionality. Links load pages fine. Double click title bar collapses the window, but the scroll area remains - very odd.

Sorry.

(Safari beta was hopeless. Didn't even show up. I'll send it as a bug report!)

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 01-17-2003 04:47

Arr thanks Steve.

I was guessing that there would be issues with Mac's... I?ll have to sort that out later on when the University's Mac labs re-open.

Bugs, Slime, I'm glad you like it and thanks for the encouraging words. I'll get onto that title bar issue ASAP. As for Mozilla having issues with the resize... Not sure about that one. The resize shouldn't trip out until the mouse button is released. I'll see what I can do though...

Topleft/TopRight resize?... Good Idea.

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 01-17-2003 05:23

Drac, I suspect the NN6 resize thing will be out of your control. But it never hurts to dig deeper just in case.

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 01-17-2003 05:27

Well, I'm using Mozilla 1.2 and I haven't had any issues with it... Maybe it's a bug they fixed later on...


Can I install more than one version of Mozilla?... Like Netscape 6 and Moailla 1.2... They won't try and kill each other will they?

Hugh
Paranoid (IV) Inmate

From: Dublin, Ireland
Insane since: Jul 2000

posted posted 01-17-2003 12:08

IE6 Win2kpro 400mhz 512SD and its as smooth as can be. nice job, but the borders are too thick IMHO.

Hugh
Paranoid (IV) Inmate

From: Dublin, Ireland
Insane since: Jul 2000

posted posted 01-17-2003 12:19

Dracusis: I think its just IE that does that. I know I've had installed at one time: IE4,NS4, NS6 and Mozilla 1.0 without problems.

Veneficuz
Paranoid (IV) Inmate

From: A graveyard of dreams
Insane since: Mar 2001

posted posted 01-17-2003 15:32

Great work!

Works perfectly with WinXP + Mozilla 1.2.1, IE6.0 and Opera 7.0beta. A little slow to react when using Opera, but that might be my computer messing with it.

_________________________
"There are 10 kinds of people; those who know binary, those who don't and those who start counting at zero"

JKMabry
Maniac (V) Inmate

From: out of a sleepy funk
Insane since: Aug 2000

posted posted 01-17-2003 17:45

awesome work

worked as intended
WinXP IE6
Win2K Mozilla 1.0, Opera 7b, NS7

worked with glitch
Win2K IE 5.50.4522.1800 - everything worked as intended save 2 things:
1. the gui was a little messed up but still acceptable in my opinion
2. dragging the dragbar made the window disappear, it would not relaunch, you'd have to refresh the page to get it back

didn't work at all
Win2K NN4.7, Opera 6.04

Jason

[This message has been edited by JKMabry (edited 01-17-2003).]

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 01-17-2003 17:55

Wow... I didn't expect it to break in IE 5.5... Damn.

I have IE 4.0 on a Win98 machine upstairs that I've yet to test it on but IE5.5... I didn't think there were any major differences between 5.5 and 6.0... Darn it, I wish I could Install multiple copies of IE!

Anyway, thanks for that Jason. I appreciate it.

JKMabry
Maniac (V) Inmate

From: out of a sleepy funk
Insane since: Aug 2000

posted posted 01-17-2003 18:00

If I recall there was a flurry of releases on IE5.5 so it may just be that versionversion? Suprised me too, when I saw the CSS looking a little goofy I thought the browser 5.0.

Jason

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 01-18-2003 16:31

I've tried it in 5.0 and I got the exact same results as you did for 5.5

You sure it wasn't 5.0?.. GUI along the bottom of the window was strangly offset. The resizing worked fine but draging the wndows position would cause it to dissapear completly. Collapsing the expanding it still worked fine though.

Anyways, I'll be sorting out those issues tonight and if it was 5.5 then fixing it for 5.0 should do the trick.

Edit: I also downlaoded Netscape 6.2.3 to see if I could replicate the issues Bugimus was having but it seemed to work fine. Maybe that one's an OS/Client issue, or maybe he's using a really early version of Netscape 6.... 6.0 or 6.1 perhaps?

[This message has been edited by Dracusis (edited 01-18-2003).]

dk01
Bipolar (III) Inmate

From: dk's house of love
Insane since: Oct 2001

posted posted 01-21-2003 19:23

IE 5 and 5.5 have problems with the css box model (where it places borders, padding, and margin). This is probably why it does not look as intended on that browser. There are ways to work around this but it would take some fooling around on a machine with 5 or 5.5 installed. Not something you could fix in a few minutes probably.
-dk

- can't decide? have another drink.

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 01-22-2003 04:08

dk01, I remembered those IE5 issues the other night. If I didn't have borders it'd be fine as I don't use padding or margin's in it. But I was always under the impression that IE5 and 5.5 got the borders on the right side of the box... me was wrong. This is putting some stops on a CSS styled only version for now as trying to figure out a work-around that can be coded to compesate for different border-thicknesses and 'window-frame' widths is a ripe paint in the ass.

I also solved the "vanish on move" problem too. In IE6 you get the window's dimensions through document.documentElement.clientWidth and so forth. In IE 5, 5.5 and IE 6 in 'quirks mode', you use document.body.clientWidth.

I set up my pointers so that browsers (mozilla excluded) would look for (document.documentElement)? and then use that as the pointer to said property as I intended this valiadte as XHTML. IE6 in 'quirks mode' still had all of the document.documentElement.clientWidth etc... Properties but they returned null and writing to them did noth'n. What I didn't bank on was that IE 5 and 5.5 would be exactly the same which meant they were also caught by the (document.documentElement)? check and were checking to see if the DHTML-Window was being dragged beyone the bounds of the actual browse window with null values. This ended up setting the drag positions to a fixed -200~ish by -500~ish which is way off the screen - thus the vanishing act.

It's fixed now but I haven't uploaded a new version yet. I've also been re-writing the code so that you can spawn up to 10 windows (even at 10 in IE, which is a stooopidly large number of windows to have floating round inside one browser, my Athlon XP 2000 starts to chug like the-little-ol-engine-that-just-quite-couldn't) each with different colour/style settings. Although I think I'm going to forgo the CSS style based one in favour of a skinned-with-images approach.

Oh and I also found that using onmousemove() to update all the values make this just as fast on Win9x systems as it does for Win2k/XP. Yay! - I wish I?d?ve know that about a year back! Hah. Although mozilla had huge issues with re-positioning an element with a scroll bar onmousemove() though so I've had to set an interval() just for him. There?s always one?

Anyways, I still haven't gotten around to testing it on a Mac yet but I'll be calling in some favours over the next week and getting an old PowerPC that should at least run OS8 (got mah fingers crossed for OS9 though) with IE5.1 and other assorted browsers which I can use for testing. It's a pity old Mac hardware is still kinda expensive (much like new Mac hardware) or I would've bought one a while ago. arrr.. free computer stuffs... always good. *nod*

I also upgraded mah old Celery 600 to Win98 with IE 5.0... IE4 can officially suck mah booty! It had more issues than a crack junkie in kings cross. Which means I now have NN4, NN6.2, Mozilla1.0 (NS7), Mozilla1.2, IE5.0, IE6.0, Opera 5, 6 and 7 *beta* and soon to be on mah Mac: IE5.1, NN4, NN6.2 and Mozilla. All I need now is another Hard Drive (and an IDE expansion card!) to put Linux or FreeBSD on and I'll have all da bases! Woo+!

God damn... I talk too much.

[This message has been edited by Dracusis (edited 01-22-2003).]

« BackwardsOnwards »

Show Forum Drop Down Menu