Association Matcher - Different behaviours in different browsers

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Association Matcher - Different behaviours in different browsers

Mart-Mari Breedt
Hi,

I am playing with a little scriptaculous component I called Accociation
Matcher for now.

The idea is to drag item from the left list onto items in the right list
and then the association should be displayed on the far-right list. You
can then drag associations onto the trach-can to remove them.

I initialize it as such:

matcher := DsAssociationMatcher new
        list1: (1 to: 5);
        list1Heading: 'Left';
        list2: ($A to: $D);
        list2Heading: 'Right';
        associationHeading: 'Left -> Right';
        yourself.

With styles (I hope it is all of them):

.holder {text-align:center;border:1px solid #999999}
.acceptor {text-align:center;width:100%;border:1px dashed
#999999;background-color:#F7F7EF}
.acceptorHover {width:100%;background-color:#999999}
.item {cursor:move}
.trashHover {padding:3px 0 0 3px}

This little component seems to give no problems in Firefox, but when I
use it in IE I get an "error on page" after the first drop into the
trash-can and then an attempt to drag from left to right again. In Opera
I get no errors, but when dragging from left to right I get a ghost
trial that remains after update.

Maybe someone gan give me a couple of pointers as to what I might be
doing wrong?

Thank you,

Mart-Mari



_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

DsAssociationMatcher.st (7K) Download Attachment
bin.gif (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Association Matcher - Different behaviours in different browsers

Lukas Renggli
> Maybe someone gan give me a couple of pointers as to what I might be
> doing wrong?

Hi Mart-Mari,

sorry I can help you with this. I don't see any Scriptaculous code and
the CSS is hardly relevant.

Try to come up with a minimal example that you can post to the list
and that shows the problem. Note that Opera is not officially
supported by script.aculo.us, check out their Web site:
<http://wiki.script.aculo.us/scriptaculous/show/SupportedBrowsers>.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Association Matcher - Different behaviours in different browsers

Lukas Renggli
> Try to come up with a minimal example that you can post to the list
> and that shows the problem. Note that Opera is not officially
> supported by script.aculo.us, check out their Web site:
> <http://wiki.script.aculo.us/scriptaculous/show/SupportedBrowsers>.

Ouch, sorry I didn't properly look at all your attachments. I'll have a look.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Association Matcher - Different behaviours in different browsers

Lukas Renggli
> > Try to come up with a minimal example that you can post to the list
> > and that shows the problem. Note that Opera is not officially
> > supported by script.aculo.us, check out their Web site:
> > <http://wiki.script.aculo.us/scriptaculous/show/SupportedBrowsers>.
>
> Ouch, sorry I didn't properly look at all your attachments. I'll have a look.

I had a look at your code and it seems to work for me on Safari and
FireFox. As I said, Opera is not supported by script.aculo.us and
Internet Explorer is known to have some problems with tables, so maybe
try a solution without tables.

Hope this helps,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Squeak for application development?

Griff-2
In reply to this post by Lukas Renggli
Besides Seaside, teaching, and the apps listed on the Squeak apps page,
what kind of programs are you folks using Squeak to develop?
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside