Hi,
You need to bind your onSuccess function to 'this', more here:
http://proto-scripty.wikidot.com/prototype:tip-using-an-instance-method-as-a-callback-or-event-handler
http://blog.niftysnippets.org/2008/04/you-must-remember-this.html
Is there a way to resolve this conflict within prototype? My portal
uses jQuery and I'm the only developer with a preference of
prototype.js. I've tried the jQuery.noConflict() with no luck. I
don't want to abandon my prototype.js skillset for jQuery but it's
looking like I'm the one that
Hello mail list user,
I hope you can help me one more time.
A part of the website www.gerrits-worlddecor.de/neu/handcraft.php# is
the table on the right side.
This table contains some images. One attribute of this images is
onmouseover=item ...
As default you will see images of the product line
On 6 Lut, 12:09, T.J. Crowder t...@crowdersoftware.com wrote:
You need to bind your onSuccess function to 'this', more here:
Thanks very much :)
i did it and works good
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
On Feb 6, 7:36 am, ColinFine colin.f...@pace.com wrote:
On Feb 5, 9:29 pm, Michael mich...@vermontsnows.com wrote: Thank you all -
Kangax's low profile technique works like a champ.
Walter Lee: Regular expressions hurt my head. I will get there one
day.
The actual thing I am working on
I tested and adapted (removed XHTML references, used paragraphs
instead of line breaks and inserted another div into the #closeme
element as suggested by the docs, see
http://wiki.github.com/madrobby/scriptaculous/effect-slidedown)
your script and it really seems that scriptaculous does not
It looks like your on your way to a solution. It's one thing to post
technical questions, your first post was great. You'll probably see
this again GIYF(Google is your friend) Try experimenting with events.
(Event.observe)
Before asking for code, Ask yourself, Am I a help vampire?
The code below generates a too much recursion message in Firebug.
What am I doing wrong?
html
head
titletest page/title
script type=text/javascript src=prototype-1.6.0.3.js/
script
script type=text/javascript
window.onload = function(){
I have Channel class with element field, but i don't know how in
Ajax.Updater get to this field. Is this possible without passing
another parameters to method updateById ?
var Channel = Class.create({
initialize: function(element) {
this.element = $(element);
},
updateById: function
I have got problem with droppables and draggables elements:
When I drag draggables object over droppables I display an alert and
if someone choose [ok] then the draggables is put correctly into
droppables object and this is fine, but when someone choose [close]
then draggables element stays in
Hi subhro,
you can try this kind of code. First file, the main HTML page:
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
html
head
title iframe loaded verification /title
script src=prototype.js
Hi Manfred,
do you have change some things ??
because it works in IE6 !!
btw, some remarks:
- first, all you image in the table have the same id, that's not a
good idea (and you create a specific imgId and does not use it !)
- idem for the td !!
- The menu should be move up because it overlay
Hi irek s,
I don't think this can work, because alert is very obtrusive and break
the code.
To click on the alert button, you should leave the droppable, and the
event is still send == alert only affect the portion of code that is
IN execution.
Another way to do this will be to move the
Hi dizzyjay,
the noConflict function works great, but the problem I think is that
you rename the jquery object, so all other developper will have to
change there scripts to no use anymore the $ function (by defaul
$==jquery).
some times ago, a protosafe library was developped, but it has
Hi Serpico,
If you add the box class to the closeme, it works better, but that's
not it.
If you would have a better effect, just remove the p tag !
--
david
On 6 fév, 16:15, almeidap almei...@gmail.com wrote:
I tested and adapted (removed XHTML references, used paragraphs
instead of line
This is completely theoretical, and probably even more ludicrous as I
think of it being plausible cross-browser...
But in theory if you did something like this
var A = function(){ alert(First definition);}
A();
var A = function(){ alert(Second definition); };
A();
Would behave as such, so
Not sure I quite understand the suggestion (please explain). If I end
up revisiting the jquery code, I'll probably just use the
jquery.noConflict() function and reassign the embedded jquery $()
refernces to something different. Too bad I can't do the same with
the prototype code; there's a lot
Thanks- this looks like what I'll need to do. Hopefully the portal
owner will be accepting of the change. Too bad prototype doesn't have
the same conflict workaround (it would be much easier for me to
change).
cheers,
\\dj
On Feb 6, 11:22 am, david david.brill...@gmail.com wrote:
Hi
Hi,
I'm a new member to this group, and would appreciate some help with
using Sortable in Rails.
How do I generate a sortable tree like this with RoR?
http://script.aculo.us/playground/test/functional/sortable_tree_test.html
Specifically, the ability to drag a section and its children to
http://www.tutorialspoint.com/cgi-bin/practice.cgi?file=scriptaculous_12
I can't figure out if I'm doing something wrong or this is the way
Draggable is coded.
If you look at the tutorial link and try to 'drag and drop' one item
from the left into the div on the right. You will see that the
On Feb 7, 12:21 am, kangax kan...@gmail.com wrote:
On Feb 6, 7:36 am, ColinFine colin.f...@pace.com wrote:
On Feb 5, 9:29 pm, Michael mich...@vermontsnows.com wrote: Thank you all
- Kangax's low profile technique works like a champ.
Walter Lee: Regular expressions hurt my head. I
I figured out what I was doing wrong. I had the li/li tag around
Section name. If I put the li/li tag around Section and its
children, the children move along with the parent.
On Feb 6, 12:06 pm, chienr chi...@gmail.com wrote:
Hi,
I'm a new member to this group, and would appreciate some
Thank you for your help crowder. When i said It's as if the
ajax.responders onComplete method isn't called. I meant that i really
thought that it wasn't - i.e. just a turn of phrase.
you're right the commented out loadPage request was only commented out
because it wasn't working.
I've changed
23 matches
Mail list logo