Displaying 20 results from an estimated 1300 matches similar to: "RE: extending an existing DOM object in aprototypeway"
2006 Mar 09
0
RE: extending an existing DOM object in a prototypeway
Gosh darn Outlook seems to have stripped some newlines from my
response... last few lines should read...
var myActiveSpanBase = new ActiveSpan({"red"});
Object.extend($(''someSpan''), myActiveSpanBase);
$(''someSpan'').setup();
Or, more concisely...
Object.extend($(''someSpan''), new ActiveSpan({"blue"});
2006 Mar 09
2
extending an existing DOM object in a prototype way
I want to take an existing DOM object and extend it with some
functionality. I know there''s a way to do this with prototype.
Unfortunately, I''m not entirely sure how to do this.
Basically, I want to take an existing DOM object and turn it into a
''widget'' by adding some functionality.
say we have a span:
<span id="blah">some text
2009 Mar 24
0
Patch: clickHandlers in VirtualEarth
Hi,
my mapstraction onclick event handlers always yielded javascript
errors in Virtual Earth maps ("e.view is undefined").
I''m using version 6 of mapcontrol.ashx. After consulting Virtual Earth
documentation, I came up with a solution.
Here is my patch (based on rev 212)
> var that = this;
360c361,368
< me.clickHandler(e.view.LatLong.Latitude,
2008 Mar 12
0
Execute custom code when clicking marker
Hello there! :)
I''m new to this list and new to Mapstraction. I''m working at ?stfold
University College in Norway as part of the Mobile Applications Group
(MAG - http://mobapp.hiof.no/) and I''m developing a tool ("Storix") for
viewing digital stories with references to time and place. Take a look
at http://asia.hiof.no/storix if this sounds interesting
2009 Nov 04
0
r53 committed - applied patch from John McKerrell
Revision: 53
Author: freyfogle
Date: Wed Nov 4 08:34:55 2009
Log: applied patch from John McKerrell
http://code.google.com/p/mapstraction/source/detail?r=53
Modified:
/trunk/source/mxn.cloudmade.core.js
=======================================
--- /trunk/source/mxn.cloudmade.core.js Sun Sep 20 06:30:15 2009
+++ /trunk/source/mxn.cloudmade.core.js Wed Nov 4 08:34:55 2009
@@ -7,6 +7,21 @@
2008 May 27
6
IE7 Problems
I''ve recently been looking at Mapstraction as a way to make it easier
for me to support more than one mapping service, mainly Google Maps and
Microsoft''s Virtual Earth. However, I seem to be running into a lot of
errors when trying to use Mapstraction with IE7 and Virtual Earth.
As an example, I get a "Not Implemented" error when I load the many of
the demos. This
2006 Feb 27
0
RE: FW: Calendar widget
Perfect, thanks Marco, great help! Now, why didn''t I think of that? Lol!
-----Original Message-----
From: Marco M. Jaeger [mailto:mail-yVS5avHIROZWk0Htik3J/w@public.gmane.org]
Sent: Monday, February 27, 2006 2:02 PM
To: ''www.dhtmlgoodies.com''
Subject: RE: FW: [Rails-spinoffs] Calendar widget
Thank you Alf - I appreciate your fast response
Marco M. Jaeger | Url:
2006 Apr 26
0
RE: DOM events not firing in IE6 with floated di vs
Yea that''s what I am seeing also.
Think I got round this before by turning the structure into a table :(
Andrew - Thanks for your input..
> -----Original Message-----
> From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On
> Behalf Of Andrew Tetlaw
> Sent:
2006 Mar 03
6
[PATCH] Effect.Accordion (not from the wiki)
Hello boys and girls
In the ever-loving spirit of OSS, here''s another feature for s.a.u.
In particular it''s called Effect.Accordion, and is a scriptaculified
version of openrico''s Accordion.
Work in progress, I''ll submit further modifications as the come in, but
this is 90% of what needs to be done. I anticipate some bugs when I
start using it more.
Tested
2006 Feb 28
0
Question abour Draggables & Droppables - my code example
hi i think my example is very simple and straightforward so i''m not sure if
it meets your needs (change revert:true to revert:false from a draggable
after I drop it on a droppable so it doesn''t return to its original place.)
i did this
# 2 divs created here
<script language="javascript">
new Draggable(''drag'', {revert: false});
2008 May 07
2
prototype PeriodicalExecuter pause/restart patch
I''ve come up with a patch to PeriodicalExecuter which allows for
pausing and restarting without losing the time remaining. I''ve
searched for something like this, but the only one I found linked to a
dead blog. I wondered if anyone would look over the code, maybe it
will make its way into the official release.
var PeriodicalExecuter = Class.create({
initialize:
2006 Jan 27
0
Scriptaculous DOM Helper functions
I would like to propose a series of DOM helper functions:
Essentially, I''m proposing to map H1(attributes) to Builder.node(''H1'',
attributes) a la Mochikit.
It could easily be done with:
H1(attributes) = Builder.node(''H1'', attributes)
DIV(attributes) = Builder.node(''H1'', attributes)
P(attributes) =
2006 Jan 12
0
New scrolling question (BlindDown)
I have several BlindDown elements, that when clicked, depending on their
position, may blind down past the bottom of the page. I would like the
page to auto-scroll with the Blind-down effect so that these elements
always stay on-screen. Does anyone know how to do such a thing?
Sincerely,
Ryan Gahl
Design Engineer
Camtronics Medical Systems (an Emageon Company)
2006 Jan 13
1
Draggables causing text to be selected... solution?
Hi, it''s me again. Ok, so I''m using the Draggable class, and it''s great.
However, dragging something often causes undesirable selecting of text
on the page while performing the drag operation. Is there a way to
prevent this?
Sincerely,
Ryan Gahl
Design Engineer
Camtronics Medical Systems (an Emageon Company)
Ryan.gahl-nlycWCgr5/vuufBYgWm87A@public.gmane.org
2006 Jan 17
0
Draggables notifier
I have a request for the keeper of the scripts (Thomas?)...
In the Draggables var, I think the onStart and onEnd notify events
should be named more descriptively. For instance onDragStart and
onDragEnd.
This would alleviate a possible place for namespace collisions where
other custom classes might use a similar notify schema (although I would
adamantly recommend all such classes also use
2006 Jan 30
0
Draggable with auto-scroll
Thomas, I''m mostly writing this to you. A couple weeks ago I grabbed the
latest SVN version of dragdrop.js because I needed the auto-scroll
functionality. I just fixed something in that script that wasn''t working
correctly and thought you might want to hear about it. You may have
already caught it since I grabbed the script but here it is anyway.
In the updateDrag() function
2006 Jan 11
0
RE: RE: Event.observer - unordered list problems
I just realized I made a mistake... in the first numbered solution, the
!= should be ==
________________________________
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Ryan
Gahl
Sent: Wednesday, January 11, 2006 2:28 PM
To:
2006 Feb 14
0
Another draggable/droppable performance booster
This one is as much for Thomas as for the rest of the list (might be a
good one for the official build)... I made a change to the dragdrop.js
file that significantly improves overall performance of dragging when
there are more than one (or many more) droppables on the page.
I modified the Draggables.updateDrag method, and added another method
below it, and then in Draggable.updateDrag I
2006 Jan 11
4
Wiki Gripe
I know this isn''t productive, but I must say that I absolutely hate the
wiki. I''ve never been able to use it for more than a couple minutes
before it completely farts out. Please fix the wiki!
Sincerely,
Ryan Gahl
Design Engineer
Camtronics Medical Systems (an Emageon Company)
Ryan.gahl-nlycWCgr5/vuufBYgWm87A@public.gmane.org
262-369-3251
The information transmitted
2006 Mar 17
0
RE: Re: RE: Exception in Javascript console in Firefox1.0.7
Ahh... ok. I guess some things ARE better in M$ land.
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Todd
Ross
Sent: Friday, March 17, 2006 10:17 AM
To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: [Rails-spinoffs]