codewala

code it

Google HTML5 plug-in for Internet Explorer 6, 7 & 8

By installing the “Google Chrome Frame” plugin for IE, the browser would be able to render pages which have been developed in HTML5.

The plugin can be installed from following link for IE

http://www.google.com/chromeframe

For testing purpose:

Visit this HTML5 website in IE browser before and after installing the plugin. (or any other html5 website)

http://cinema-series.orange.fr/evenement/universeries/en/

Advertisements

November 28, 2012 Posted by | HTML, Uncategorized | , , , | Leave a comment

HTML5 compatibility charts for web and mobile development

http://caniuse.com/

http://www.findmebyip.com/litmus/

http://html5please.com/

http://html5readiness.com/

http://html5test.com/

http://mobilehtml5.org/

November 15, 2012 Posted by | HTML | Leave a comment

New Features of Adobe Flash 11.3 Player

Following are some of the new features provided by Adobe Flash 11.3 player

1. Keyboard input in fullscreen mode
as code

—————————————————————————————————-
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;

—————————————————————————————————–
parameter code which needs to into the HTML page

—————————————————————————————————
<param name=”allowFullScreenInteractive” value=”true” />

—————————————————————————————————

2. right click mouse event
now on clicking right click – the flash menu can be blocked by adding this mouse event.

—————————————————————————————————
stage.addEventListener(MouseEvent.RIGHT_CLICK, function(e:Event){});

—————————————————————————————————

August 10, 2012 Posted by | actionscript 3.0, Flash, HTML | Leave a comment

Making Fiddler Web Debugger work with localhost

When you want Fiddler to track your localhost say

http://localhost:8080/

just add a dot (.) after localhost

http://localhost.:8080

and Fiddler will start logging the communcation between the computer and localhost.

July 24, 2012 Posted by | HTML, Uncategorized | | Leave a comment

XML to JSON converter

I had few xml files which I needed to be converted into JSON format, while searching on the web if there is already a tool available which does this, i ended up finding some good ones.

online XML to JSON converter
http://www.thomasfrank.se/xml_to_json.html

jQuery plugin to convert a XML to JSON
http://www.fyneworks.com/jquery/xml-to-json/#tab-Overview

JSON validator + formatter
http://www.freeformatter.com/json-formatter.html#validateButton

November 18, 2011 Posted by | HTML, JavaScript, jQuery, JSON | Leave a comment

BlueGriffon HTML Editor

Found a nice HTML editor to create… click the link to learn more….

September 8, 2011 Posted by | CSS3, HTML | Leave a comment

PhoneGap

PhoneGap is an HTML5 app platform that allows you to author native applications with web technologies and get access to APIs and app stores. PhoneGap leverages web technologies developers already know best… HTML and JavaScript. Learn More

August 2, 2011 Posted by | CSS3, HTML, JavaScript, Mobile | Leave a comment

Disable Text Selection in Browsers Using CSS

To make the text as non-selectable in browsers (except for IE) paste the following style sheet in the HTML page

body
{
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
}

For IE 7 and above use on one the following body tag attribute
unselectable="on"
OR
onselectstart="return false;"

July 17, 2011 Posted by | CSS3, HTML | Leave a comment

Fullscreen Mode in AS2

To enable fullscreen mode using AS2 for a SWF file embedded within HTML page, add the parameter allowFullScreen in the object and embed tags in the HTML page and set its value to true.

param name="allowFullScreen" value="true"

Note:
1. This only works for SWF files published for Flash Player 9 and above
2. Full-screen mode does not work if wmode is set to opaque or transparent
3. When in full-screen mode, all keyboard input is disabled except for the keyboard shortcuts which exists the full-screen mode.

add a button with the following code which will toggle the browser window between Fullscreen and Normal mode when clicked

on(release)
{
if(Stage.displayState == "normal")
{
Stage.displayState = "fullscreen"
}
else
{
Stage.displayState = "normal"
}
}

June 26, 2011 Posted by | actionscript 2.0, Flash, HTML | 3 Comments

Detecting Devices Using JavaScript

var deviceIphone = “iphone”;
var deviceIpod = “ipod”;

//Initialize our user agent string to lower case.
var uagent = navigator.userAgent.toLowerCase();

//**************************
// Detects if the current device is an iPhone.
function DetectIphone()
{
if (uagent.search(deviceIphone) > -1)
return true;
else
return false;
}

//**************************
// Detects if the current device is an iPod Touch.
function DetectIpod()
{
if (uagent.search(deviceIpod) > -1)
return true;
else
return false;
}

//**************************
// Detects if the current device is an iPhone or iPod Touch.
function DetectIphoneOrIpod()
{
if (DetectIphone())
return true;
else if (DetectIpod())
return true;
else
return false;
}

June 24, 2011 Posted by | HTML, JavaScript, Mobile | Leave a comment