Preserved Topic: new LOBBY for the asylum, testing some functions... |
|
---|---|
Author | Thread |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 09-04-2001 14:02
OK, check out http://www.ozoneasylum.com/lobby/ if you would. I got fed up with all of my slow and solid progress on the Znippets site, so I decided to just plunge in with this one, doing many [interesting?] hacks to the ozonicLabs code, making new, possibly clumsy (but better than before) changes to the movement code. Dragging is next, picture those menus waving in the breeze as you drag them around, and how they'll expand! |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 09-04-2001 14:08
Oh! I've checked this in everything from MSIE4.5 for the mac, through NS4.7x, to Mozilla/gecko, MSIE5.5 and MSIE6.x, it works on them all except for Opera! What is it about Opera, things just don't work, and I don't know how to get any error reports out of it so I can fix things! If anyone can help shed some light on this I'd appreciate it bunches, I like things to work. |
Maniac (V) Inmate From: under the bed |
posted 09-04-2001 14:19
Neat so far |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 09-04-2001 14:24
Yah, that function for moving the values of where they should be was just a quick hack, move right, move left. The first test func() just moved right, and I had to keep reloading the window to get 'em back! I'm going to add some logic to handle hitting the edge of the screen, I already have the bits that let me know where that is, even if you resize. |
Maniac (V) Mad Scientist From: Mi, USA |
posted 09-04-2001 14:32
works sweet here on NN4.72 on a Sun Solaris Workstation .. very nice work Doc |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-04-2001 14:44
And it seems that when they're on the *right*, they're farther down on the page than when they're on the left. |
Neurotic (0) Inmate Newly admitted |
posted 09-04-2001 16:08
Looks absolutely wonderful in IE5.5 |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-04-2001 16:21
Doc, it looks to me like Zprime.js isn't even made to support Opera! It looks like Opera will end up with both layerstart and layerstyle == "". It should use document.getElementById. |
Maniac (V) Mad Scientist From: New California |
posted 09-04-2001 19:07 |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 09-04-2001 22:06
Yah, I'm still having to do a lot of work with the table widths, I may just drop tables altogether and use <div>'s instead. I keep breaking and making it work, over and over, heh. I can get the movement to work in Opera, but as soon as I start any of the fancier stuff it simply stops working, and I cannot for the life of me figure why! I don't explicitly check for Opera in any of the functions, just for document.all, doucment.layer, or getElelmentById. I'll figure it out, hopefully. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-05-2001 00:27
Again, doc, is Zprime.js made to support Opera? I see browser detection for it, but no explicit definition of the layerstart and layerstyle variables. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 09-05-2001 01:30
No, I'm going to save the layerstart variable definition until the Zupdater.js script, I'm making some attempt to do as InI and Max and Slime all ask me, get rid of (or minimize the use of) the eval(...) function! I'm still using the layerstart, etc... variables in my demo, so that browsers that undertand gecko-style stuff use that, (which means NS6, MSIE 5.5 and 6, and Opera), IE that doesn't know getElement uses the document.all script, so it worked in my old copy of IE4.5, and netscape uses the document.layer flag. Seems the only reason that the Opera version is not working right now is the bit where I change the width and height of the divs on the fly, must have different format for that, or possibly no support for dynamically changing that attribute yet? I'll poke at it and figure it out, the moving of the buttons did work, but failed after I made all the panels into re-sizing <div>s. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-05-2001 01:56
A quick recomendation for eliminating many evals: |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 09-05-2001 03:50
Hah ha! Yah, major big-league silliness involved in all this stuff. I found by accident that IE now claims "3d" as a reserved word, wonder what they have planned? I like that little function, looks like something I'll use in there, although maybe with a shorter function name! I just got the dragging working in both MSIE6.0 and Mozilla 9.2, haven't checked it in any other, probably won't tonight, it's late and I'm tired, maybe? (Thinking about that one for a sec, yah, probably tired. =) I just axed that "left/right" function, I was getting too hung up on it, distracting me, it was! Since virtually every object on that screen is in the Zobject array, I expect I'll have some fun at launch time with some silly animations, just hide everything off screen and let it all scurry into place onLoad, should be fun I hope.
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-05-2001 04:49
Dragging works fine in IE 5.0! Except there's no vertical boundaries to the dragging. |
Maniac (V) Inmate From: |
posted 09-05-2001 05:18
Very cool. I agree with slime some vertical boundries would be good, I tossed all the menu's off the top of the screen the first time I started playing with it. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 09-05-2001 07:19
Yah, I only wrote the side-to-side trapping for that one, the top boundary will be easy, but the bottom has some issues, like what happens when you drag into it? Will the children get squashed, or will they hold tough and the main button slide back & forth? (I need to fix the right boundary, too, move it out maybe 20px or so.) We're still in "toy" mode yet, it doesn't really do anything usefl as yet, but it will, and soon! Slime, do it, do it! You'll love yourself afterward, I'm at the stage I can really start churning things out now that the grunt work is mostly done, I'm happy. I'm going to step through and strip out all of the hard variables, and all of the function codes that actually *do* something, and place them all in one file, the "Zcontrol.js" file. This is going to rock, only the fun bits will need to be done, and I can stop inventing this thing called "wheel", seeing as how my other invention called "fire" ended up in public domain, heh. On to the fun stuff! |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-05-2001 14:48
BTW, go here http://www.ozoneasylum.com/Forum8/HTML/000204.html |
Paranoid (IV) Inmate From: East Ward, Asylum |
posted 09-07-2001 10:02
They wont expand for me |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 09-07-2001 10:12 |
Paranoid (IV) Inmate From: Lebanon |
posted 09-07-2001 10:41
quick question.... |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 09-07-2001 11:38
The poster has demanded we remove all his contributions, less he takes legal action. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-07-2001 16:53
Plus it's ugly as heck. Compare: |
Paranoid (IV) Inmate From: East Ward, Asylum |
posted 09-10-2001 11:35
I gotta get into coding this is cool. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 09-10-2001 14:50
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Inmate From: Brisbane, Australia |
posted 09-10-2001 17:29
quote:
|
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 09-10-2001 17:38
The poster has demanded we remove all his contributions, less he takes legal action. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-10-2001 18:06
Bwa ha ha, I'll scare you even more when I'm typing at 200 words per minute! |
Bipolar (III) Inmate From: Europe |
posted 09-11-2001 15:28
slime: where the heck do you get a dvorak keyboard from??? |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 09-11-2001 22:11
looks great doc! but are you planning to use that as a new asylum interface? |
Neurotic (0) Inmate Newly admitted |
posted 09-12-2001 14:35
::Slime:: |
Paranoid (IV) Inmate From: Lebanon |
posted 09-12-2001 14:53 |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-12-2001 16:46
That's excelent!! Great!! Beautiful!! |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 09-12-2001 17:01
The poster has demanded we remove all his contributions, less he takes legal action. |
Neurotic (0) Inmate Newly admitted |
posted 09-12-2001 17:44
Thanks for the links Lallous |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-12-2001 18:04
Ouch!, any other recomendation besides atmosphere?? |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 09-12-2001 18:33
The poster has demanded we remove all his contributions, less he takes legal action. |