Closed Thread Icon

Preserved Topic: Window script (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18048" title="Pages that link to Preserved Topic: Window script (Page 1 of 1)" rel="nofollow" >Preserved Topic: Window script <span class="small">(Page 1 of 1)</span>\

 
lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 09-07-2001 10:49

Hello,

I'm looking for a simple and good window script that meets the following criteria:

1)Works on old browsers (NS 4+, IE4+)
2)Is sort of small and compact (filesize wise)
3)Have method like movewindow(), hidewindow(), showwindow(), resizewindow()
4)Dragable and resizable (verticale, horizontal if possible)
5)Customisable (where I can spit in my output)
6)Multiple windows on same page (and all can be accessed)

I hope someone can help me with this one!

I tried DHTMLCentral's window, but it failed on criteria (3) and (4)part2.

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 09-07-2001 11:36

Yeah, that's simple. It's called Windows, or MAC OS, actualy, most GUI OS's for that matter. It does all those things and more! The best thing is it's completly browser compatabul (unless the browser doesn't install) !


Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 09-07-2001 14:06

lallous: I think you may be looking for something like:
http://webfx.eae.net/dhtml/wincontrols/wincontrols.html

It would take quite a bit of work getting the 2 to work together (if its possible - I've not really looked into it too deeply). This is pretty cutting edge DHTML stuff (as far as I'm aware) and its possible no-one has yet worked out the effect quite as you want it (try asking on the WebFX WebBoard as it is a great resource for things like this) although it will be interesting if you can pull it off.

Emps

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 09-07-2001 18:41

lallous,

I know of scripts that only have some of the criteria you mention. I wrote my own scripts that do many of the things you mention except for the resizing. Also, my stuff is just not written for mass use because I tend to code things more complicated than they really need to be.

I think you may have a hard time finding one for NN4 that is going to resize the window. NN4 doesn't render the page on the fly like IE and NN6 do.

The bottom line is that I don't think there is a script that meets all your criteria. So the next question would be, what criteria can you do without? Then maybe we can find the next best thing.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 09-07-2001 19:39

http://www.dhtmlcentral.com/script/script16.asp

Enjoy!



[This message has been edited by mr.maX (edited 09-07-2001).]

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 09-07-2001 19:45

Heh, seems to me that I'm busy building one of these right now, it's where all of my current projects have led to. http://ozonicLabs.com/windowTest/ is intended to do this (Once I figure it out to my liking), and I'm using the new Znippets family of code to build the http://ozoneasylum/lobby/ pages, this should do the same thing, hopefully. Seems like you must be STEALING MY THOUGHTS!!! Argh, off to the kitchen to fabricate a more elaborate tin-foil hat, the last one doesn't work too well, grumble...

PS: I'll share my bits as best I can, as I finish them. It's intended to do just what you're asking about, but this is some of the most difficult code I've worked on, AND I expect that in order to do it properly, I may have to abandon support for Netscape 4.x and IE4.x, that's asking just a bit much from some old browsers. Good luck with what you find out there, I'm trying really hard not to look at any other completed script that does anything like this!

Your pal, -doc-

Bugimus
Maniac (V) Mad Scientist

From: New California
Insane since: Mar 2000

posted posted 09-07-2001 23:26

Doc, I'm looking forward to your completed work on that one. It is always good to see what people come up with indepent of other creations.

lallous, it looks like the dhtmlcentral link from mr.maX handles your points 3 and 4 just fine for NN4. Thomas did a great job on that script. Were you looking at different one when you said his didn't meet all your criteria? Just curious.

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 09-07-2001 23:47

Ah yes, Tomas Brattli writes some good code, although it is usually *not* designed for a novice to go in and start making adaptations, he uses a lot of very advanced functions that most people have never even heard of! Still, if you follow instructions, it should work as promised, he really is a sharp guy, no doubt.

Your pal, -doc-

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 09-09-2001 04:47

Doc, it seems like you're doing all these cool little things, that window script, the znippets, the lobby, other stuff too, and yet it's so frustrating when I go to ozoniclabs.com and you don't link to any of it! For heaven's sake, finish something up and get linking, will you? hah =) no, no, take your time and all, but I really am excited to see some of the stuff you're working on finished.

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 09-09-2001 14:16

Yah, I haven't been linking to *anything* new, at least from any of my sites. I mention them all the time in here, but have been kinda dragging my feet with live linkage until I finish something, heh heh. I'll make a point of creating my "Works-in-Progress" link list, and call it into a few of my sites, as temporary "new" content, heh. Thanks for pointing this out, I get caught up in the creation, and forget to let people know what's going on! I'm thinking of going through all of my sites and "co-branding" them with the ozonicLabs logo, and then linking to the whole network from that page, at least that's the goal.

Your pal, -doc-

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 09-10-2001 11:07

Doc: I'm also looking forward to see your completed work on that.

Bugimus: I saw that dhtmlcentral's script doesn't implicitly give a hide, show, hide methods (point 3),
instead you have to call the object's internal methods...like oWin[win_num].methodName...
His script doesn't allow me to name my window in order to access it freely..instead I have to track it's number (which increment everything I create a window) in order to manipulate it.

mr.Max: Yeah, Already saw it...Thanks anyway.

Emp: Nice url!


Point 7) It must have a horizontal scroll bar (not only vertical)


Meanwhile I solved it with popup windows

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 09-10-2001 13:08

I've got a small hack function where I quick flip through the different ID's of my created objects and look for the name, which I can then return to my first call, like this...

function getZnum(ID) {
for (m=0;m<Zobject.length;m++){ if (Zobject[m].ID==ID){ return m;} }
return false;}

This is a simple loop, and allows me to grab the number of the Zobject quickly, and I can then use that in all of my calls. (Sometimes, when looping though all objects, using the numbers is best! When calling from the page however, I like to use the name, easier for me.) My code is finally (mostly) working, I haven't bothered with the opening menu bit yet, but that's really minor, first I want to strip my code into nice neat sections that I can have a hope in hell of understanding if I look away from it for a week! It's getting there, I just stepped through and shuffled things around, combined a few functions, and now I just need to neaten up my prototype functions, nearly ready for posting at the Znippets site.

I do need to develop one function that I haven't had any time to look into yet, which is dynamically creating my windows "on the fly", by a function instead of as a hard coded <div>. Does anyone have or know of a really simple example of this I can peek at? Once I have that, I'm ready for prime-time, practically.

Your pal, -doc-

« BackwardsOnwards »

Show Forum Drop Down Menu