Solved -- seems I was missing a .bind() earlier
in my call chain.
- Mike
On Jan 26, 3:52 pm, Mike wrote:
> This is some working code that makes a Draggable:
>
> this.draggable = new Draggable(ts.up("div.rsrcRow"), {
> revert: true,
> ghosting: true,
>
> onStart: function(dr
Nevermind. I figured it out. You have to set the "useMap" attribute of
the image separately. Prototype is apparently not setting it
correctly. Maybe its because I didn't do camelBack in the attribute
collection. Oh well, it works.
On Jan 27, 12:59 pm, momo3452 wrote:
> I created a sample scrip
I created a sample script to illustrate what I am doing and to use to
test with... This is actually part of a tabbed pop box I created, but
just easier to share this way. Obviously, the JSON call won't work,
but you can get an idea of what I am doing...
--
Event.obser
Hi
I am creating an imagemap and map area dom nodes using the prototype
Element class. I then create event listeners for mouse over and out
events to display some data for that area when the user rolls over.
This works fine in Firefox, but does not work in IE6 or 7. The code is
there, and when I
I use to following js function:
function moveMenuItem(item,ymove,appname){
if(item != elementDown){
new Effect.Opacity('main', { from: 1, to: 0 });
new Effect.Move(item,{x:0, y: ymove, mode : 'relative'});
new Ajax.Updater('main_menu','incl
I just tested in Firefox 3.0.5 on Mac 10.4.11 and seems to work OK.
The items are supposed to turn semi-transparent when you drag them.
You should be able to disable that or change to a different effect
with one of the draggable options (starteffect, endeffect). I didn't
notice any other "flickeri
Got it - an IE bug. http://support.microsoft.com/default.aspx/kb/927917
Basically, moving the block from Google Maps that initialises
the map to right before the