Αύγουστος 2014 - Δημοσιεύσεις

HowTo: Tell IE to use compatibility mode without editing your web pages
22 Αυγούστου 14 07:07 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
at http://www.mono-software.com/Mono/Pages/Discussion/dtopic/_YyUBIlx5kiqHaNqAQeltg/br-brake-bug-in-IE11-and-clipflair-text-editor/ one reads: We are using Telerik’s rich text editor (RadEditor), and it seems that RadEditor has specific behaviour regarding insertion of break tags. To circumvent this issue please try to add host header in ISS 7 (website level): Name = "X-UA-Compatible" Value = "IE=EmulateIE10" Or, you can insert Html Meta tag on a […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
Gotcha: JS replace on document.location fails, use document location.href
20 Αυγούστου 14 03:17 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
This is my contribution to: http://stackoverflow.com/questions/2652816/what-is-the-difference-between-document-location-href-and-document-location Here is an example of the practical significance of the difference and how it can bite you if you don’t realize it (document.location being an object and document.location.href being a string): We use MonoX Social CMS (http://mono-software.com) free version at http://social.ClipFlair.net and we wanted to add the language bar […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
HowTo: Quickly test a webpage in different Internet Explorer versions
19 Αυγούστου 14 02:27 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I just noticed that on Internet Explorer 11 developer tools console (appears when you press F12 key), there is a drop-down where you can select the rendering engine used. Edge means the very latest (IE11 one in this case) and you can select back to version 5. Interestingly, there is no version 6 in the […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Gotcha: don’t use ‘{$…}’ syntax or ‘$…’ syntax in XSL-XPath’s concat
15 Αυγούστου 14 11:57 μμ | Μπιρμπίλης Γεώργιος | 1 σχόλια   
<xsl:template match="cxml:Item" mode="col">   <xsl:variable name="FILENAME" select="…someXPathQuery…"/>   <xsl:variable name="IMAGE" select="concat(‘http://gallery.clipflair.net/activity/image/’, $FILENAME, ‘.png’)"/> … I got confused a bit today after a long day of fiddling with XSL and ClipFlair Activity Gallery’s CXML (Collection XML) data (as used in PivotViewer control), and didn’t understand why I couldn’t use an XSL variable’s (FILENAME in the sample […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Group output items using XSL transformation
15 Αυγούστου 14 09:30 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While trying to generate a single HTML page that will list all ClipFlair activities using XSL Transformations (XSLT), I had the need to group items in 2-column rows. This is my contribution to other solutions suggested at (if you like it you can vote it up there): http://stackoverflow.com/questions/9908488/xslt-for-each-wrapping-every-nth-item-in-a-div/ Faced by the same problem, that is […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
Gotcha: no prefix increment/decrement VB.net operators, but get parsed
09 Αυγούστου 14 03:39 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
In C/C++ and C# one has useful prefix (++index) and postfix (index++) increment operators and corresponding decrement ones. Although they have a single operant, they’re not working like functions as single + or – prefix would do, but instead they cause side-effects – they edit the variable passed to them. The prefix increment operator first […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,

Search

Go

Ιστορικό Δημοσιεύσεων

Συνδρομές