PDA

View Full Version : Need Help with own window script


simu
27.06.2001, 12:37
Hi all

I'm making my own window script witch contains a drag/drop, maximize/minimize and a Hide-function.

[url="http://www21.brinkster.com/simushome/drag.html"]Link[/url:qhp9vmq9pg]

I have some problems with it!

-It works perfectly in IE! but not in NS4+ or NS6
-In NS6 the drag-function does not work don't know why!
-In NS4 the images on the Header of the windows got strange spaces between them

can somebody help?
hope it :)

greets

<font size=1>|| simu ||
|| [url="mailto:simuk@freesurf.ch"]simuk@freesurf.ch[/url:qhp9vmq9pg] ||
|| [url="http://www.simu.cjb.net"]www.simu.cjb.net[/url:qhp9vmq9pg] || [url="http://www.retedesign.ch.vu"]www.retedesign.ch.vu[/url:qhp9vmq9pg] ||</font id=size1>

Xanth
27.06.2001, 15:19
Link seems to be broken... ?

<font color=teal>xanth = document.createElement("person");
xanth.setAttribute("name", "Mike");
xanth.setAttribute("mail", "[url:l65jclu9zi]belgedin@earthlink.net[/url:l65jclu9zi]");
xanth.setAttribute("age", 16)
document.forum.appendChild(xanth);
</font id=teal>

Versatil
27.06.2001, 18:56
link not working
feel free to look at my window scroll thingy (compare/contrast helps a lot... doesnt it?)
http://www.eversatil.com/beginning_test.html
<--bored out of his mind right now
sigh lol

jc
27.06.2001, 21:01
link is working for me ...

maybee you can acces from here:
http://www21.brinkster.com/simushome/drag.html

Xanth
27.06.2001, 22:43
Hey Simu I have to go in a few minutes but I threw this together really quick.. I changed the table a little bit and it sort of looks better might give you some ideas though..

I also changed some of the drag stuff in the function and it seems to be working in NS6 now..

http://www.dhtmlnirvana.com/mike/help/simu_drag.htm

Hopefulyl that helps a little I'll stop in later if I can and see what you're up to <img src=icon_smile_big.gif border=0 align=middle>

<font color=teal>xanth = document.createElement("person");
xanth.setAttribute("name", "Mike");
xanth.setAttribute("mail", "[url:4bw8v0tphs]belgedin@earthlink.net[/url:4bw8v0tphs]");
xanth.setAttribute("age", 16)
document.forum.appendChild(xanth);
</font id=teal>

Rod
28.06.2001, 02:54
hi simu! =)

sorry. off-topic:

loved ur analog clock. clean coded a little bit. I think i saved about 70 - 100 lines.

With ur permission i would like to post it on my site.

www.e-syed.net/viewsrc/dhtml/analogclock.html

Rad
[url="http://www.e-syed.net/viewsrc/"]viewsrc[/url:9mb8bo49b1]

simu
28.06.2001, 11:39
Thanks all

Xanth: Thanks for fixing the drag-function It work now

Rad: I made the clock in about 1 hour so it isn't that clean. Thanks for cleaning it up If you want to add it to your library you can Thanks

greets

<font size=1>|| simu ||
|| [url="mailto:simuk@freesurf.ch"]simuk@freesurf.ch[/url:d1oyejgf77] ||
|| [url="http://www.simu.cjb.net"]www.simu.cjb.net[/url:d1oyejgf77] || [url="http://www.retedesign.ch.vu"]www.retedesign.ch.vu[/url:d1oyejgf77] ||</font id=size1>