similar to: re: Good OOP and JS books / tutorials?

Displaying 20 results from an estimated 200 matches similar to: "re: Good OOP and JS books / tutorials?"

2006 Jan 08
2
Replacing an html chunk with a different html chunk
All, I''m a big fan of the Insertion.* classes in prototype (Insertion.Before, Insertion.After, Insertion.Top, Insertion.Bottom). These classes solve the problem of adding new html to existing html in the desired place. Very useful. But what about replacing one chunk of HTML with another? Or removing a specific chunk of HTML? These tasks come up just as often. 1)Am I correct that
2006 Jan 08
0
RE: Replacing an html chunk with a different htmlchunk
Actually, I see there are two other prototype calls: Element.remove(''foo''); Which does a parentNode.removeChild(), and Element.update(''foo'', ''some html''); Which does element.innerHTML = ''some html'', and executes any script that is in the string you pass in. -----Original Message----- From:
2011 Apr 14
3
Consecutive code blocks
Hi folks, I just wrote some Markdown which featured the following code snippets: <h1>TXJS 2011 Speakers</h1> <ul> <li><span>Brendan Eich</span></li> <li><span>Alex Russell</span></li> <li><span>Douglas Crockford</span></li> <li><span>Paul
2005 Aug 10
2
extend question
Is it possible to call the super class''s version of a function from a subclass? SuperClass = Class.create(); SuperClass.prototype = { initialize: function(){ this.varA = ''''; this.varB = ''''; } } SubClass = Class.create(); SubClass.prototype = (new SuperClass()).extend({ initialize: function(somevar) { this.somevar = somevar; }
2006 Jan 12
0
RE: re: Good OOP and JS books / tutorials?
You could also check out the following tutorials. I found these pretty helpful. SitePoint Articles: http://www.sitepoint.com/print/oriented-programming-1 http://www.sitepoint.com/print/oriented-programming-2 Thank you, Mandy.
2006 Jan 11
2
Good OOP and JS books / tutorials? Looking to teach my team
Can anyone recommend good books, online tutorials, or any other learning materials for Javascript - specifically Object Oriented Programming using JS? I want the rest of my dev team to be able to help me code in JS, specifically using prototype and scriptaculous. I''ve been using JS for so long, and I kinda "grew up" on OOP programming but my whole team is Coldfusion
2005 Sep 30
5
Converting text into a javascript array
Hey Guys, I know this isn''t specific to scriptaculous libraries but it''s something that I''m exploring as I use the ajax functions in prototype. My application server is not rails but java and I was thinking of returning a javascript array in the ajax response. When I get back my response is it, of course, text and I''m not sure how best to convert it into
2006 Mar 18
1
Prototype event models and Internet Explorer
Hi, I was just reading an article that talked about the problems with Microsoft''s event registration and handling. >From http://www.quirksmode.org/js/events_advanced.html 1. Events always bubble, no capturing possibility. 2. The event handling function is referenced, not copied, so the this keyword always refers to the window and is completely useless. I was wondering if the
2017 Oct 01
0
MP4/H.264 codec for Firefox?
Roman Kennke <roman at kennke.org> writes: > Hello, > > I am trying to get MP4/H.264 playback in Firefox to work on my CentOS > laptop (for vimeo). > > I installed the gstreamer plugins as described here: > > https://wiki.centos.org/TipsAndTricks/MultimediaOnCentOS7 > > (No, I did not install Flash, VLC and all the other stuff. I only want > HTML5 MP4
2017 Oct 02
0
MP4/H.264 codec for Firefox?
On 10/01/17 12:13, Roman Kennke wrote: > Am 01.10.2017 um 12:28 schrieb hw: >> Roman Kennke <roman at kennke.org> writes: >> >>> Hello, >>> >>> I am trying to get MP4/H.264 playback in Firefox to work on my CentOS >>> laptop (for vimeo). >>> >>> I installed the gstreamer plugins as described here: >>> >>>
2006 Apr 24
1
JSON Validator
Maybe I am missing something very obvious, but guys does anyone know of any JSON Validators around? The reason is when you do an eval(json_response), if the JSON format is not proper, you''ll only get an error like "Can''t eval..". But, this doesn''t help identify where the actual problem lies. Is there some kind of a schema or something we can write to check
2017 Sep 26
0
MP4/H.264 codec for Firefox?
On 26/09/17 20:26, Roman Kennke wrote: > Hello, > > I am trying to get MP4/H.264 playback in Firefox to work on my CentOS > laptop (for vimeo). > > I installed the gstreamer plugins as described here: > > https://wiki.centos.org/TipsAndTricks/MultimediaOnCentOS7 > > (No, I did not install Flash, VLC and all the other stuff. I only want > HTML5 MP4 playback..)
2017 Oct 01
2
MP4/H.264 codec for Firefox?
Am 01.10.2017 um 12:28 schrieb hw: > Roman Kennke <roman at kennke.org> writes: > >> Hello, >> >> I am trying to get MP4/H.264 playback in Firefox to work on my CentOS >> laptop (for vimeo). >> >> I installed the gstreamer plugins as described here: >> >> https://wiki.centos.org/TipsAndTricks/MultimediaOnCentOS7 >> >> (No, I
2008 May 13
8
static private and multi-inherit
/*author:csf178-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org*/ function Class(Initalizer,SuperClasses) { if(!SuperClasses)SuperClasses=[]; var ret=function(){ for(var i=0;i<SuperClasses.length;i++) { SuperClasses[i].call(this); } var $private={}; var $public=this; var $static=ret; with($static){ with($private){ with($public){
2005 Oct 18
0
RE: Error: "onclick() is not a function"
I see what he is saying now. When you assign a click event with the Event.observe it does not allow you to call it with the $(''xxx'').onclick(); command as it''s looking for the onclick tag in the a tag. I''m stumped on a way to get this to work. Jon Whitcraft Web Application Developer Online Services - Indianapolis Motor Speedway (317) 492-8623
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
2008 Feb 18
6
inheriting static/class methods with new prototype.js class creation
Hey all. I want something like this to work: var Foo = Class.create(); Foo.myStaticMethod = function(){alert("I''m a static method!")}; Foo.myStaticMethod(); // works var f = new Foo(); f.myStaticMethod(); // doesn''t work, but that''s good--I don''t want it to var Bar = Class.create(Foo); Bar.myStaticMethod(); // doesn''t work, undefined :(
2007 Mar 01
9
Virtualisation
I'm building a new server at home to handle most of my internal requirements (mail, news, dns, dhcp, backups being the biggies). I also want it to host a couple of virtual servers which are allowed incoming connections from the internet (mail gateway, web server, ssh server); these are virtual so if a hacker _can_ break in then they're limited as to what they can see. At present the
2006 May 16
18
Ruby''s purpose?
Before I get flamed, I just want to start off by saying that I am new to Ruby and I really enjoy this language and want to see it succeed. But, what niche does this language fill? These are serious question, not a put down of the language. Does it has something to offer for Web 2.0? Is it just another scripting language? Does it suppose to replace something else? Does it suppose to work with
2006 Mar 09
1
OOP basics
I''ve got: def new @schoolclass = Schoolclass.new(:day=>1, :start_time=>"2006:01:01 00:00:00, :description=>"enter description here") breakpoint() end after the breakpoint, I can @schoolclass.inspect and see the @schoolclass attributes, however @schoolclass.day, @schoolclass[:day] and @schoolclass["day"] all return NIL. what am I doing wrong?