Archive for the ‘HTML’ Category

Zen Coding

I use a lot of snippets when I program, those little shortcut that transform several lines of code. Zen coding goes further by proposing to use snippets the same way as the CSS selection.
For example the following line of code:
div#header
is tranformed into:
<div id=”header”></div>
And this:
div # header> p> lorem
is transform into :

<div id=”header”>
<p>Lorem ipsum dolor [...]

Flex : Using a JSP proxy page to bypass crossdomaine file

This example shows how to create a JSP proxy for XML request Server-Side Scripting. When you write a Flex application, and when you are accessing remote hosts for services you have no control of (ex: RSS Feed), then you find out there is no cross domain file ( crossdomain.xml) and Flex app will complain. [...]

How to get the document’s innerHTML

If you want to access your document innerHTML, you can use the following
document.all[0].innerHTML
or
document.documentElement.innerHTML if you want to skip the tags <HMTL> tags