similar to: Prototabs

Displaying 20 results from an estimated 3000 matches similar to: "Prototabs"

2008 Apr 18
5
show sum of textboxes
Hi all, I have multiple textboxes containing numbers. I want to add up all the numbers and show the sum. Can I select the textboxes by class and sum the content? This also has to happen realtime: when a number is changed ina textbox the sum should also change. can this be done? regards, Stijn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2008 Feb 16
5
ie-specific error in prototype try-catch block?
Hi, I was wondering if anyone has any suggestions for debugging ie- specific errors? I have been working on a porting a prototype application that works fine in firefox to ie, and have run into several problems. For the latest one, the error message is not very informative. When trying to load the application, ie complains "Object doesn''t support this property or method." When
2007 Jul 31
6
Using Effect.Move() while maintaining the elements DOM order
Hi there, is it possible to maintain the elements order in DOM when using Effect.Move()? Currently the Move effect will change the element position (using top and left style attrs), this works quite well too, but what I''d like is to change the elements position as well. Consider the following example: html: ... <div id="a">First</div> <div
2007 Dec 20
3
What is $super
Greetings, I had a question about the $super argument that I wasn''t able to find in documentation, searching etc. What exactly is the $super argument. Is it a reference to the super class''s prototype function? Or is it an instantiated object of the super class that is passed to the subclass''s method? I am completely confuzzled on this one, my typical
2007 Jul 02
2
Object Property Sorting - Hash?
I''m trying to sort an object by its property names. As I understand it, iterating over an object using for...in or using Hash.each() (or Hash.sortBy()) does not guarantee the order of the properties. Is there an easy and low-overhead way to guarantee order? Or would I need to have some type of collection object that uses arrays instead of the property-value configuration that Hash
2008 Mar 10
5
Passing extra parameters to functions called from Observers
Hi again, When you have an ''obeserver'' setup as follows: $(''myForm'').observe(''submit'', validateForm); If a user submits the form the ''validateForm'' function is called and is automagically passed the ''event'' to work with. This is fantastic! But is there a way to pass another argument to the function?
2007 Feb 26
5
Panel Slider (like on maps.google.com)
Hi, I want to create a panel slider like shown on maps.google.com (click the little triangle on the left side of the map (in the vertical- middle)). I tried several scriptaculous treasure chest thingies .. but they didn''t work. Does anyone know of a way to do this? Thanks, Joost --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed
2008 Jun 03
7
Iframe shenanigans
Here''s my problem. Unfortunately I have the need to load up fully qualified html documents into my page. (think tens of thousands of mini sites). I also have the need to be as handicap accessible as possible. (So ajax is essentially out, screen readers aren''t up to snuff yet). Thus I''m using an iframe. The unfortunate part is that I have navigation menus that appear over
2009 Feb 13
3
Strange performance loss
I''m moving some data off an old machine to something reasonably new. Normally, the new machine performs better, but I have one case just now where the new system is terribly slow. Old machine - V880 (Solaris 8) with SVM raid-5: # ptime du -kds foo 15043722 foo real 6.955 user 0.964 sys 5.492 And now the new machine - T5140 (latest Solaris 10) with ZFS
2007 May 11
15
Simulating onmouseleave and onmouseenter with Prototype
Hello. I spent an hour or three chasing down a desired effect that mootools implements, namely the simulation of onmouseleave and onmouseenter events. Why? Lets say you have a Menu. A ul element that contains many li elements. If you want to have a function (maybe an effect) fire when the mouse moves outside of the ul, you are out of luck. Observe the mouseout function like so:
2007 Jul 16
4
Problem with keypress event handling
Hi all, we are writing a cross browser Javascript control that enhances the HTML text input element in order to accept only digits (more or less). Supposing that ''domText'' is the DOM element corresponding to the HTML text input, we wrote the following: Event.observe(domText, "keypress", this.onKeyPress.bindAsEventListener(this)); where this.onKeyPress =
2006 Oct 16
4
booting FreeBSD DomU
Hi! May anyone assist me with booting FreeBSD DomU (under Debian Dom0). Now I''m using the kernel-current, downloaded from Kip Macy site at http://www.fsmware.com/xenofreebsd/7.0/download/ The problem is that I can''t specify _any_ root, the kernel can recognize: Mount point / had 1 dangling refs Manual root filesystem specification: <fstype>:<device> Mount
2007 Oct 19
2
string.prototype.isNumeric
Hey all, Just had a need for this, wondering if it is a candidate for inclusion as it is only a single line and I can''t seem to spot any other way of acheiving the same functionality in less code. String.prototype.isNumeric = function() { return (this.match(/^\d+$/) != null); } I used it in the context of: Event.observe(el,''keypress'',function (e) { if
2008 Jan 17
4
JSON query problems
I am constructing a JSON object that is an array of products. Using a select box, I want to find the object in the array that has an ID that matches the value from the selectedIndex of the select box and return the price. Here is the JSON script: var products = [{''ID'': 16378, ''Cost'': 100.00},{''ID'': 16377,''Cost'':
2007 Dec 03
3
DOMContentLoaded error on IE6
Hi, I am loading prototype dynamically using the following js: var scr=document.createElement(''script''); scr.setAttribute("type","text/javascript"); scr.setAttribute("src","./static/js/lib/prototype.js"); document.getElementsByTagName("head") [0].appendChild(scr); on IE6
2008 May 24
3
prototype causing value undefined error
I have a project for which I used a Wicket template as a starting point. The original example uses prototype.js. I''m using an SVG image as a background and have included a javascript that causes the image to always fill the background, regardless of the client window dimensions. This works fine in Safari 3 (Firefox doesn''t display the background image, but I''ll deal
2007 Apr 06
5
Getting a dynamically generated elements dimensions
Ive posted this before, but unfortunately I still have yet to resolve it after numerous attempts... Here is the overview: populate a container element with some new html using Element.update and then retrieve the new dimensions of the containig element. Here is a bit of code snippet that I would think should work.. but doesn''t: ==== start snippet ==== <style> .bigBox {
2006 Nov 24
6
Need clarifications: Xen and winXP HVM: pci direct access, USB, desktop resolution
Hi list, I''m totally new at xen and apologize for my ignorance. What I''m trying to do is the following: I''ve got a laptop with core 2 duo cpu. Dom0: Fedora Core 6. Dom1: WinXP HVM I want to give the Dom1 full access to the wifi card, and the possibility to use USB pen drive. So I''ve hidden the pci address (according to lspci output) in the kernel''s
2008 Feb 05
2
Catching Ajax Failures (not 500s)
I am trying to catch failed Ajax requests, but I''m talking about requests that receive no response from the server (server is down), not responses that result in a 500. The latter can be handled with the onException or onFailure callback, but I am not able to handle the former. To reproduce/test: 1) Start your server 2) Create a page that does this:
2006 Jun 23
5
OT: Debugging iBook --- help
This is way OT, but here goes... I''ve had an iBook for 2 days now and am debugging a web built with prototype/script aculo / windows / etc... I have no real experience on a Mac. Occasionally, there''s no better way to debug JavaScript than an alert in a loop... Once I have the information information I want from the alert, the loop may want to execute another 300 times. I