Cody Dennison

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromCody Dennison
ToMe
Subjectquestion: generic dragable layer
Date7 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
FromMe
ToCody Dennison
SubjectRe: question: generic dragable layer
Date7 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/
FromCody Dennison
ToMe
SubjectRe: question: generic dragable layer
Date7 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.
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.