Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Light weight library

Reply
Thread Tools

Light weight library

 
 
Evertjan.
Guest
Posts: n/a
 
      02-18-2007
-Lost wrote on 18 feb 2007 in comp.lang.javascript:

> "Evertjan." <> wrote in message
> news:Xns98DB63ABDCD4eejj99@194.109.133.242...
>> Diilb wrote on 18 feb 2007 in comp.lang.javascript:
>>
>>> I am not sure if this is the place to post this. But I am looking
>>> for a light weight drag and drop (sortable) library. I have looked
>>> around and there are a few good libraries (Script.aculo.us & Dojo),
>>> but they are a little heavy and involved considering I am just
>>> looking for drag and drop (sortable) functionality.

>>
>> I don't understand what could be sortable about drag and drop, but
>> look here:

>
> Perhaps the original poster was referring to its ability to reference
> the z-index by placing the currently selected object on top of other
> objects?


Could well be.

Usually I increment the z-index over all the others
and don't bother with a theoretical overflow.

Is there a maximum z-index value btw?


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
 
Reply With Quote
 
 
 
 
Peter Michaux
Guest
Posts: n/a
 
      02-18-2007
On Feb 18, 10:28 am, "Evertjan." <exjxw.hannivo...@interxnl.net>
wrote:
> -Lost wrote on 18 feb 2007 in comp.lang.javascript:
>
>
>
> > "Evertjan." <exjxw.hannivo...@interxnl.net> wrote in message
> >news:Xns98DB63ABDCD4eejj99@194.109.133.242...
> >> Diilb wrote on 18 feb 2007 in comp.lang.javascript:

>
> >>> I am not sure if this is the place to post this. But I am looking
> >>> for a light weight drag and drop (sortable) library. I have looked
> >>> around and there are a few good libraries (Script.aculo.us & Dojo),
> >>> but they are a little heavy and involved considering I am just
> >>> looking for drag and drop (sortable) functionality.

>
> >> I don't understand what could be sortable about drag and drop, but
> >> look here:

>
> > Perhaps the original poster was referring to its ability to reference
> > the z-index by placing the currently selected object on top of other
> > objects?

>
> Could well be.
>
> Usually I increment the z-index over all the others
> and don't bother with a theoretical overflow.
>
> Is there a maximum z-index value btw?


I asked the same one time somewhere. I didn't get an answer based on
standards. The answer I did get was ridiculously high. Google maps
uses something like up to a trillion for those little bubbles that
show where things are located.

Peter


 
Reply With Quote
 
 
 
 
Diilb
Guest
Posts: n/a
 
      02-18-2007
On Feb 18, 2:37 pm, "Peter Michaux" <petermich...@gmail.com> wrote:
> On Feb 18, 10:28 am, "Evertjan." <exjxw.hannivo...@interxnl.net>
> wrote:
>
>
>
> > -Lost wrote on 18 feb 2007 in comp.lang.javascript:

>
> > > "Evertjan." <exjxw.hannivo...@interxnl.net> wrote in message
> > >news:Xns98DB63ABDCD4eejj99@194.109.133.242...
> > >> Diilb wrote on 18 feb 2007 in comp.lang.javascript:

>
> > >>> I am not sure if this is the place to post this. But I am looking
> > >>> for a light weight drag and drop (sortable) library. I have looked
> > >>> around and there are a few good libraries (Script.aculo.us & Dojo),
> > >>> but they are a little heavy and involved considering I am just
> > >>> looking for drag and drop (sortable) functionality.

>
> > >> I don't understand what could be sortable about drag and drop, but
> > >> look here:

>
> > > Perhaps the original poster was referring to its ability to reference
> > > the z-index by placing the currently selected object on top of other
> > > objects?

>
> > Could well be.

>
> > Usually I increment the z-index over all the others
> > and don't bother with a theoretical overflow.

>
> > Is there a maximum z-index value btw?

>
> I asked the same one time somewhere. I didn't get an answer based on
> standards. The answer I did get was ridiculously high. Google maps
> uses something like up to a trillion for those little bubbles that
> show where things are located.
>
> Peter


Does anyone else have ideas on this one ? (a light weight drag and
drop lib? )

Thanks again for all the responses

Diilbert

 
Reply With Quote
 
VK
Guest
Posts: n/a
 
      02-18-2007
> > Is there a maximum z-index value btw?
>
> I asked the same one time somewhere. I didn't get an answer based on
> standards. The answer I did get was ridiculously high. Google maps
> uses something like up to a trillion for those little bubbles that
> show where things are located.


For ECMAScript version of ActionScript the limit is 10487575 - after
that DOM methods are getting dizzy.

For JScript the display doesn't react on z-index difference for values
above the standard uint precision border of 0xFFFFFFFF (4294967295)
but it neither works for lower values like 4294967290
At the same time it still reacts on values above sint (2147483647)
That suggests that like in ActionScript the limit is not based on some
physical borders but was just off-head chosen by the particular UA
team.

 
Reply With Quote
 
Evertjan.
Guest
Posts: n/a
 
      02-18-2007
VK wrote on 18 feb 2007 in comp.lang.javascript:

>> > Is there a maximum z-index value btw?

>>
>> I asked the same one time somewhere. I didn't get an answer based on
>> standards. The answer I did get was ridiculously high. Google maps
>> uses something like up to a trillion for those little bubbles that
>> show where things are located.

>
> For ECMAScript version of ActionScript the limit is 10487575 - after
> that DOM methods are getting dizzy.
>
> For JScript the display doesn't react on z-index difference for values
> above the standard uint precision border of 0xFFFFFFFF (4294967295)
> but it neither works for lower values like 4294967290
> At the same time it still reacts on values above sint (2147483647)
> That suggests that like in ActionScript the limit is not based on some
> physical borders but was just off-head chosen by the particular UA
> team.


Why would it act on scripts?

This is DOM and CSS, not scripting, methinks, so IE and FF.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
 
Reply With Quote
 
Randy Webb
Guest
Posts: n/a
 
      02-18-2007
Evertjan. said the following on 2/18/2007 5:41 PM:

<snip>

>
> Why would it act on scripts?
>
> This is DOM and CSS, not scripting, methinks,


True.

> so IE and FF.


And not Opera, Mozilla, Netscape, Safari or any other browser?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
 
Reply With Quote
 
Evertjan.
Guest
Posts: n/a
 
      02-18-2007
Randy Webb wrote on 18 feb 2007 in comp.lang.javascript:

> Evertjan. said the following on 2/18/2007 5:41 PM:
>
> <snip>
>
>>
>> Why would it act on scripts?
>>
>> This is DOM and CSS, not scripting, methinks,

>
> True.
>
>> so IE and FF.

>
> And not Opera, Mozilla, Netscape, Safari or any other browser?
>


True, but not scripting, I think.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
 
Reply With Quote
 
the DtTvB
Guest
Posts: n/a
 
      02-21-2007
On Feb 18, 6:20 am, "Diilb" <diilbert.atlan...@gmail.com> wrote:
> Hi All,
>
> I am not sure if this is the place to post this. But I am looking for
> a light weight drag and drop (sortable) library. I have looked around
> and there are a few good libraries (Script.aculo.us & Dojo), but they
> are a little heavy and involved considering I am just looking for drag
> and drop (sortable) functionality.
>
> I am open to all suggestions. And thanks for any input.
>
> Diilbert


I made a simple one here, if this is what you want and in case you
want to use it:
http://dttvb.yi.org/draggablelist/

the DtTvB
..

 
Reply With Quote
 
-Lost
Guest
Posts: n/a
 
      02-22-2007
"the DtTvB" <> wrote in message
news: ups.com...
> On Feb 18, 6:20 am, "Diilb" <diilbert.atlan...@gmail.com> wrote:
>> Hi All,
>>
>> I am not sure if this is the place to post this. But I am looking for
>> a light weight drag and drop (sortable) library. I have looked around
>> and there are a few good libraries (Script.aculo.us & Dojo), but they
>> are a little heavy and involved considering I am just looking for drag
>> and drop (sortable) functionality.
>>
>> I am open to all suggestions. And thanks for any input.


> I made a simple one here, if this is what you want and in case you
> want to use it:
> http://dttvb.yi.org/draggablelist/


Your JavaScript fails miserably when the LIs have a display type of "inline." Better yet,
it is unreliable.

As it also retains the single-click moves an LI's position. Was that intentional?

-Lost


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for very light weight template library (not framework) Malcolm Greene Python 7 03-07-2008 10:21 AM
Show light weight thumbnail of large images moondaddy ASP .Net 4 06-29-2004 03:39 PM
light weight messaging without mdb j Java 2 11-26-2003 07:41 PM
How to create multiple light-weight process in Java Song Ching Koh Java 2 10-31-2003 02:51 PM
Light weight Mono Pod Gary J Bevans Digital Photography 2 10-01-2003 03:22 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57