« first day (315 days earlier)      last day (4651 days later) » 

12:40 AM
omg , i think i managed to set up a grid/guides for that brochure at last
 
Also done for the most part
Need to tweak performance tomorrow
but test coverage was needed first
@PeterCooper Hey there, finally ended up here, heh? ;)
 
 
3 hours later…
3:15 AM
0
Q: New to Javascript. What are the stable/respected libraries and hottest stuff in Javascript?

Tom JonesNot looking for hype; just a combination of cool, but established and no-nonsense foundational APIs. I probably need a little of everything; AJAX, push, a wide selection of widgets, fast, etc..

 
 
1 hour later…
4:43 AM
0
Q: Get first element of selected text in Internet Explorer

Steven OxleyI want to retrieve the first element that contains the text that a user selects in Internet Explorer. I'm pretty sure that I want to use something related to document.selection and probably the createRange method of the object returned, but I don't know the specifics. I found this documentation...

i'm trying to get the first node that contains the text that a user selects in IE.
Anyone have an idea of how to do that?
 
 
2 hours later…
6:53 AM
RT @ryah: #nodejs v0.5.5 released http://t.co/C9JFxsF with typed arrays and UDP on windows
 
7:08 AM
0
Q: Display a consistent Google Plus icon on ALL pages of my site

AymanMy website is http://tablified.com and I have managed to setup the Google Plus script. The issue is that every page of the site displays a different Google Plus count. For example, if you go on my site you will see that I have about 180 Google Pluses. Now, if you click on something like "Tablifie...

 
 
7 hours later…
1:55 PM
RT @stevefaulkner: HTML5 无障碍 http://t.co/ZsHW6Fi Chinese translation of http://t.co/FkUjCf0 #HTML5 #accessibility
 
2:22 PM
0
Q: HTML5 canvas with associated javascript in post or page

キキジキWhat I tried to do is add a canvas tag inside the post and then including the code. What happens is that after about half a second the page has loaded (and the canvas was displaying correctly), the script stops working. The call to getElementById("canvas_id") keeps on failing (I tried to call i...

 
 
4 hours later…
6:27 PM
Anyone have any idea what's going on here?
There are obviously events bound to the element in question, but running data('events') on the element is returning nothing.
 
7:27 PM
0
Q: Study guide for learning programming from scratch

Nikos BaxevanisRecently my girlfriend decided to switch career and invest on programming. (Wow, I must admit I was a good influence to her). I suggested her to learn JavaScript as this language evolves a lot and also appears on server-side now (using Node.js) and also HTML5 and CSS3. Right now, I found this b...

 
7:39 PM
0
Q: What are some Javascript libraries to ease development?

L. De LeoI'm about to undertake a major Javascript effort; what are some good Javascript utility libraries that ease development by either extending the basic objects or adding syntactic sugar by wrapping some functions, etc...?

 
8:04 PM
0
A: Study guide for learning programming from scratch

Ivo WetzelFirst of all I'd say that Python is a better way to start programming. Don't get me wrong, I'm doing hard core JS as my day Job it's fun. That is, if you're really pain resistent. As she presumably never did any real programming before, she will get frustated really fast with JS and for sure with...

 
@GeorgeEdison well .. what you see there is a good example of why jquery is harmful
 
8:58 PM
it's sad to see people still writing code like this : stackoverflow.com/questions/7217253/php-within-javascript
 
9:18 PM
0
Q: How is this code? Can it be more compact?

ZachIn this project I've taken my first shot at OO JavaScript, and I'm not sure how it turned out. The script dynamically makes a tooltip with different text if you so choose. As of now it takes a lot to create the tooltip and show it, is there a way to make this smaller? Here is the code at JSFiddl...

 
10:17 PM
@IvoWetzel Starting off with PHP and JavaScript doesn't seem to have made me turn out too bad :P
 
@gsnedders your word against ours , because there isn't a lot of js/php code made by you .. at least none that we could review
 
@teresko There's a fair bit of PHP out there by me — of course, the older and really quite badly written stuff (i.e., SimplePie 1) is what's prevalent. Far more Python out there by me, which as most of it is more recent would be a better judge of how my background has led me to turn out as a programmer.
 
10:38 PM
0
Q: Not storing in the array

KaremOn my page I have: function grabProfiles(searchstring) { $.post('newsletter.php?mode=grab', { search: searchstring }, function(data) { $('#newsletter_receivers').html(data); }); } $('#newsletter_searchprofiles').bind('keyup', functi...

Why is each() not live? and alternatives?
example:
$('div.newsletter_receiver_highlight').each(function(){
    arr.push(this.id);
});
alert(arr);
this stores value for all the CURRENT elements with the class newsletter_receiver_highlight
If i append a div element with class newsletter_receiver_highlight later from an request response, it wont store to the array
 
11:40 PM
0
A: Not storing in the array

ZlatevIf something doesn't work in first place always try a different approach. I would use map to get the array of ids. var arr = $('div.newsletter_receiver_highlight').map( function() { return this.id; } ).get(); This comes instead of .each()

 

« first day (315 days earlier)      last day (4651 days later) »