Reputation
2,343
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
6 23
Impact
~80k people reached

Jun
18
revised Truncating HTML content at specific content blocks
added 10 characters in body
May
25
comment Truncating HTML content at specific content blocks
@outis: I haven't explained myself too clearly, have I? :) Sorry. This should work like: closestToIndex is i.e. character index 500. Algorithm will then go back from 500 and forwards from it. If it finds an end of block content (tags should not count as they're invisible) within ie. 100 characters (back and forth) it will then truncate content to the closest index to 500. It will truncate at that point that has a smaller delta from index 500. If it can't find the end of blocked content within this range it will simply truncate to closest word space to index 500. I hope this clears it.
May
24
comment Truncating HTML content at specific content blocks
no no. closestIndexOf checks to find break point between two margins and selects the one closest to selected index. If none are found between margins, index equals provided one. So it would break in the middle of paragraph.
May
18
asked Truncating HTML content at specific content blocks
Mar
31
revised How to maintain different, customized versions of the same software for multiple clients
added 1353 characters in body
Mar
31
comment How to maintain different, customized versions of the same software for multiple clients
Ok let me edit my answer. I was referring to the accepted term feature branching here while it should practically be renamed for the sake of this answer.
Mar
24
comment Two HTML elements with same id attribute: How bad is it really?
I don't think it would because it would still be valid XML. And to my knowledge there's no XSD that could define values across several non-related elements. So if it can't be defined in XSD, it won't break XHTML. But that's just my thinking...
Feb
19
answered With only backend development experience, how do I go into frontend development (js, html, css)?
Oct
14
awarded  Popular Question
Sep
30
awarded  Explainer
Sep
15
awarded  Yearling
Jan
2
awarded  Popular Question
Dec
16
comment How to maintain different, customized versions of the same software for multiple clients
@PavelShved: Maybe I didn't name them correctly. I should likely just use term branching or client branching. The main idea is to keep a master brach where features are being committed and these are then committed to client branches as required.
Sep
15
awarded  Yearling
Oct
6
awarded  Revival
Sep
15
awarded  Yearling
Sep
4
comment Two HTML elements with same id attribute: How bad is it really?
@JoachimSauer: When you use data attributes you can have key-value pairs which is not true when you use CSS classes. In that case they're all like boolean properties. An element either has a CSS class or not. If you'd want values with CSS classes then you'd have to somehow combine them into CSS class name and parse that afterwards. I hope you can now see benefits of using data attributes. And they're also supported directly out of the box by jQuery when you simply refer to data-something="123" attribute with $(elem).data("something").
Aug
22
revised How to visually document interactive user interfaces for fast consumption
added 37 characters in body
Aug
22
comment How to visually document interactive user interfaces for fast consumption
@ThorbjørnRavnAndersen: That's a good idea but... Videos of what? Me explaining the whole interface? Anyway... It has to be printable.
Aug
22
asked How to visually document interactive user interfaces for fast consumption