Email conversation
From | Cody Dennison |
To | Me |
Subject | question: generic dragable layer |
Date | 7 December 2003 07:03 |
Hello: I have been playing with your script and was wondering if you can
help me with an issue concerning setting the "top coordinate of dragable
layer". It seems that whenever I set a coordinate for the top of the
layer, like 100, the layer only moves left and right not up and down.
Have you noticed this as well, or have I somehow got it wrong?
Thanks, I would really like to use this script - it seems so much cleaner
than the one I am currently using at xxx.xxxxxxxxxxx.xxx.
Best Regards,
Cody Dennison
From | Me |
To | Cody Dennison |
Subject | Re: question: generic dragable layer |
Date | 7 December 2003 22:26 |
Cody,
Sorry, strict doctype bug in my script. I guess you were using Mozilla /
Netscape 6+ (or some clone of them) and had a strict doctype.
I thought I had made all of my scripts work with strict doctypes - guess I
must have uploaded an older version of this one (oops).
the new version is available for download:
http://www.howtocreate.co.uk/jslibs/
sorry if that caused you any problems.
Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
From | Cody Dennison |
To | Me |
Subject | Re: question: generic dragable layer |
Date | 7 December 2003 22:49 |
Thanks Mark... for getting back, I kept plowing through the web until I
found a script that worked so I could have multiple dragable layers...
If your interested you can preview a page at:
http://xxx.xxxxxxxxxx.xxx/xxxx/xxxxx.xxx
The site is under construction (links will take you to other places but they
are using different draggable scripts) but so far the page and draggable
script (from http://xxx.xxxxxxxxxx.xxx) seem to be working fine in IE5+,
NS6, Opera...
I appreciate your help though and I think your site is probably one of the
best sites out there for trying to work with scripts (esp. with very little
knowledge of script in the first place!).
Thanks again, keep up the brilliant work!
Cody
Ok, it's a pity, because I thought that a fix in less than a day was not too bad.
Still the script chosen instead of mine was compatible with approximately the same
browsers as mine; it relied heavily on sniffing, but in a good way (more
if(document.getElementById) etc. and less
if(navigator.userAgent)
etc. although there was a bit of the bad stuff), it was nearly ten times the size of my script
(even with my comments), but it could also resize the layers and it could also do the
same as my
slider creator script.