Displaying 20 results from an estimated 37 matches for "spendlov".
Did you mean:
spendlove
2005 Oct 13
3
Tweaks of Array.prototype
Hi all,
I encountered a big problem when trying to use Scriptaculous and
Htmlarea in the same page.
The Htmlarea code uses a lot of "for (var i in array_variable)" to
iterate on array elements. Problem is that prototype.js augments
Array.prototype, which then show up in the iteration, severely breaking
htmlarea.
The easy workaround is for sure to use "for (var i = 0; i <
2006 Apr 26
3
DOM events not firing in IE6 with floated divs
...code. I am hoping some XHTML guru out there might be able
to shed some light.
If you load up the attached file in IE6, you''ll see the events only fire in
the middle section of the title bar when your over the border ! - FF1.5 is
fine..
Any thoughts / comments appreciated..
Cheers
Matt Spendlove
***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.
Authorized and regulated by the Financial Services Authority
This e-mail message is...
2006 Apr 28
3
Serialize / deserialize an associative array
Perhaps I missed something but I don''t see an easy way to do this ?
Basically just wanna hold some ui state in a cookie.
Did I miss something obvious ?
Best
Matt
***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.
Authorized and
2006 Jul 20
3
AOP in Prototype / JS
Hey folks
I am just investigating using Aspects for logging my main Javascript
"interfaces". I don''t believe Prototype has any built in capabilities
for this but I just thought I''d check and see how people had tackled
this before.
I am still getting to grips with core JS so apologies if this is easy
or obvious..
I am Googling as we speak also..
Cheers
Matt
2006 Jun 16
4
Prototype $$() on arbitary DOM element ?
I am bit confused with this function. Should I be able to pass in a DOM
element e.g. someAjaxRequest.responseXML and interrogate it ?
Seems not but perhaps I am missing something...
TIA
Matt
2005 Sep 22
5
Prototype lib : for-each loops and DontEnum
All
I realise that this isn''t strictly the correct place to discuss the
prototype lib but being as scriptaculous is dependent on it I thought people
might have some opinions.
Easier to explain with the example below, copy into a html file and ensure
the path to prototype.js is correct. You''ll see the first example prints an
extra element "extend" when iterating over
2006 Apr 26
0
RE: DOM events not firing in IE6 with floated di vs
...> bubble up.
> > In FF they do both!
> >
> > Thus the hover is for the top element and it doesn''t propagate down
> > the the div underneath in IE...
> >
> > Just a vague memory, Am I speaking total crap here? Anyone?
> >
> > On 26/04/06, SPENDLOVE, Matt, GBM <Matt.SPENDLOVE-ge51qsjLezM@public.gmane.org> wrote:
> > > Hi All
> > >
> > > Not strictly Scriptaculous but I came across this whilst
> trying to
> > > implement some Scriptaculous code. I am hoping some XHTML
> guru out
> > >...
2006 May 24
5
Ajax.RssReader object
Hi all,
I''m happy to announce that I''ve completed the first version of my
Ajax.RssReader object. It needs some extra''s, but the basic functionality is
now available. You can download it from
http://www.sayoutloud.com/javascripts/rssreader.js
Usage:
function myCallbackFunction( rss ) {
alert(rss.channel.title);
for(n=0; n<rss.items.length; n++) {
2006 Jun 22
4
ADVICE: Generating unique identifiers for later DB insertion
All,
I have an ActiveRecord object that I need to be able to uniquely
identify _before_ I actually save the object (I may not end up saving
the object based on conditions). This is because I want to use the ID
in another context (a file name in the filesystem).
Depending on conditions, I may or may not need to do a lot of stuff
between the time that I generate the object ID and actually
2006 Mar 13
3
Autocompleter that auto scrolls through results..
Hi All
Before I investigate further, has anyone implemented an Autocompleter that
will auto scroll down / up the results div as the user moves down through
the list (using arrow keys) ?
Any pointers / thoughts appreciated.
Best
Matt
***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered
2006 May 19
11
Prototype / Scriptaculous & Dojo
Are these libs compatible
? At the very least I''d like to be able to use Prototype & Dojo ?
Thoughts welcome..
Matt
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Jun 23
10
Don''t un-admin the last administrator
I have a User class with a field called admin which is a boolean that
determines if the user is or is not an administrator. I want to make it
impossible for the last administrator for an account to be removed from
the system.
I need to protect against this both when deleting a user and when
editing a user as you can revoke a user''s administrator privileges via a
form.
User
2006 Feb 16
3
Retrieve a property defined in a css
Hi all,
I have a property, defined in an external stylesheet:
.my_class {
background-color: #FF0000;
}
I want to retrieve the value of this background-color of the class my_class.
How can I do that with prototype/scriptaculous ?
Thanks in advance,
Nicolas Terray
2006 Apr 10
4
Element.getDimensions() support for IE?
Hey all,
I''m not sure if IE can support this, but I''m trying to get the dimensions of
an element that has percentages for height/width. In the example code
below, I''m trying to get the dimensions for the ''MyCell'' element. Firefox
supports Element.getDimensions(''MyCell''), but IE returns 0 for the height &
width returned by that
2005 Aug 31
4
Element.show - element.style.display=''''
...o the underlying
prototype.js code by changing :
element.style.display = '''' -> element.style.display = ''block'';
I think the problem was with the conflicting computed CSS values. If your
interested, the code is below.
Thanks for all your efforts folks.
Matt Spendlove
Prototype 1.3.1
Scriptaculous 1.0
Firefox 1.04
IE6
----------------------------------------------------------------------------
-------------------
Details :
[prototype.js]
hide: function() {
for (var i = 0; i < arguments.length; i++) {
var element = $(arguments[i]);
aler...
2006 May 25
5
rake migrate VERSION=0 doesn''t appear to execute
All,
I''ve decided to jump into Migrations before I get too far along on the
DB side of things.
I already have some tables built, and I went ahead and built the
migration that would have created them from scratch, and I made sure
that there was a self.down section to drop them. I wanted to verify
that I could roll back so I figured I would use rake to drop these
pre-existing tables
2006 Jun 11
47
Ruby on Rails and CakePHP Comparison
>From a development standpoint, what are the features that make Ruby on
Rails a better choice compared to CakePHP?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 26
12
RE: how to use Effect.BlindUp for resizing a div
var height = someElementReference.offsetHeight;
and to set it:
someElementReference.style.height = "100";
It is worth saying that offsetHeight and offsetWidth are non-standard compliance. They will give you the total rendering height and this will cause problems in IE since they use a different box model than FireFox. So you will have to do some height juggling in IE if you are using
2006 Jun 02
14
Which is better for production: MySQL5 or PostGres8.1?
I''m coming from an Oracle and SQL Server background. I''d like to use
OpenSource for my next RoR project. MySQL5.x and Postgres8.1 seem to be the
most popular. I''d like some comments on which would be the better choice for
a production environment and why. Here are my initial concerns in order of
priority:
1. Works well with RoR. ( migrations, etc)
2. Stable enough
2006 May 09
5
anyone used the new firefox leak monitor?
One of the Mozilla developer released a new extension to detect JS
memory leaks:
https://addons.mozilla.org/firefox/2490/
If it''s accurate, it might be bad news for Prototype. I have some code
using prototype 1.4 with no leaks, but other code with 1.5 leaks on
every single bindAsEventListener call, and a bunch of other places. Not
sure if it''s just me; I may just be