Google Groups Home Help | Sign in
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 53  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: Low Pro is a set of extensions to the Prototype library that make it easier to implement unobtrusive DOM scripting.
 

Subclassing Remote.Form 
  I have a few questions about subclassing Remote.Form. I want to override onsubmit to do some validation and then call super's onsubmit. So I derived from Remote.Form. Now the question: * when I overrode onsubmit it wasn't getting called - only super's onsubmit was called. Can I override onXX methods and expect them to... more »
By Bill Burcham  - 14 May - 1 new of 1 message    

Problem binding to Dynamic elements in Greasemonkey 
  Hey there, I'm writing a script in Greasemonkey that uses jQuery + Livequery + Lowpro. The script is an audioscrobbler script for muxtape.com, and provides a link to allow a user to scrobble a song. So far I've managed to get it as far as creating the link on the page, and passing another attach to the link once created. It seems to... more »
By Tane Piper  - 11 May - 1 new of 1 message    

A jquery low pro walkthrough 
  I wrote a short article demonstrating how/why I use low pro with jquery. [link] Also, the example used depends on my fork, which adds automagic ajax callback binding. I'm sure someone else could write a better... more »
By Sudara  - 23 Apr - 3 new of 3 messages    

Behaviour classes and LiveQuery 
  Should I be able to attach behaviour classes using LiveQuery? Given Hover = $.klass({ initialize: function(hoverClass) { this.hoverClass = hoverClass; }, onmouseover: function() { this.element.addClass(this.hov erClass); }, onmouseout: function() { this.element.removeClass(this. hoverClass);... more »
By Alan  - 21 Apr - 3 new of 3 messages    

ReassignafterAjax in jq lowpro 
  Hi there, im using the JQuery Lowpro, im trying to make an ajax will_paginate links in a rails proyect, i have the following code in application.js : jQuery(function($) { $('div.pagination a').attach(Remote.Link, { type: 'GET', dataType: 'script' }); }); and in my controller: @artists = Role.artists.users.top_artists (50).paginate :page =>... more »
By michelson  - 21 Apr - 6 new of 6 messages    

Windows Update KB947864 Seems to Foil Some Behaviors 
  On a Win XP VM (Parallels) running IE7 some of my behaviors stopped being triggered (but others are still working) after installing Windows Update KB947864 (released a few days ago). Symptom: QueryObserver (behavior) has an onclick. I register that behavior on an anchor via Event.addBehavior "a.queryButton": QueryObserver. But... more »
By Bill Burcham  - 17 Apr - 4 new of 4 messages    

jQuery version and .attached 
  Hi, Dan, Thanks so much for porting this to jQuery! It cleared the way for me to defect ;-) Question on how to use the .attached method. Is this how I would get a list of elements currently bound to the behavior? Here's what I would like to do. I'm finding myself duplicating some code in two or three places that naturally would fit in a method on... more »
By Wynn Netherland  - 10 Apr - 1 new of 1 message    

Selenium not generating event on click of anchor 
  I've got a behavior bound to an anchor onclick. Works fine. I click it, the onclick runs. However when I "click" that anchor via my Selenium RC test (via the "click" method), the behavior does not seem to run. Makes me wonder if Selenium is really generating the click event or whether instead, it's looking at the href and just setting... more »
By Bill Burcham  - 3 Apr - 3 new of 3 messages    

Patch for Remote.Form 
  I finally worked out why my forms weren't submitting when the user hits the ENTER key. lowpro serializes the button that was clicked along with any other parmeters when submitting a form via AJAX. However, when the user hits enter under FireFox, there is no button and the consequently the browser barfs. Safari on the other hand tries... more »
By Haruki Zaemon  - 2 Apr - 1 new of 1 message    

moving from Event.addBehavior to delegate? 
  I've been using Event.addBehavior and recently moved to 0.5. I found this note by Dan "Event.addBehavior.reassignAft erAjax is now false by default: Normally, if you are relying on this behavior it's much more efficient to move to a solution using event delegation. However, if you do want your behaviors reassigned to new content after Ajax calls then go... more »
By rubynuby  - 31 Mar - 1 new of 1 message    

1 - 10 of 53   « Newer | Older »

XML       Send an email to this group: low-pro@googlegroups.com
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google