Posts

Showing posts from 2010

Create Facebook application and into Fan page

1.        Go to : http://developers.facebook.com/setup/ 2.        Enter following details : a.        Site Name : ( e.g :  eitpotli) b.       Site Url: ( e.g :   http://www.itpotli.com/ ) 3.        Click on “ Create App ” button 4.        Insert Captch Code then click on “ Submit ” button. 5.        It will show you “ Create an App ” page. 6.        Now click on “ Developer Dashboard ” link in this page in first paragraph. 7.        You will see your application development dashboard page. 8.        Click on “ Edit Settings ” link in right side of this page. 9.         Now click on “ Web site ” link on left side of this page. 10.    Enter th...

Interoperable HTML Parsing in IE9

Informative article about IE9 based web sites: http://blogs.msdn.com/b/ie/archive/2010/09/13/interoperable-html-parsing-in-ie9.aspx

Check Javascript version supported by your Mobile Device?

All modern browsers support JavaScript 1.5 at the least, most supporting 1.6 to 1.8. That's not quite helpful enough though. To get the exact version, you could test for a single new feature in each version. How can you do this? Create a test page to test the JavaScript version, and run it on the Android browser. JavaScript 1.6 has a bunch of new Array functions. 1.7 introduces Iterator objects. JavaScript 1.8 introduces the reduce Array function. So we can test for these: var jsVersion = 1.5; if (([]).forEach) jsVersion = 1.6; if (window.Iterator) jsVersion = 1.7; if (([]).reduce) jsVersion = 1.8; http://efreedom.com/Question/1-3510767/Javascript-Version-Android

Beyound Compare : Ignore File Extension option

Image
Beyond Compare 3 doesn't have the "ignore file extension" setting. It was replaced by the "Alignment Overrides" setting in BC3 Pro. As an example, here's how to align .bmp files on the left with .jpg files on the right using BC3 Pro: Select Session > Session Settings. Go to the Misc tab. Click New. For "Align left file (or folder)" enter "*.bmp". For "with right file (or folder)" enter "*.jpg". Click OK until you're back to the main window.

BlackBerry simulator for mlearning development

Image
If your entire audience is using the same model of BlackBerry, you’re in great shape. If they’re using a variety of models, you’ll have a little more work to do. Start by downloading and installing the BlackBerry simulator(s) matching the model(s) of your users. Go to the BlackBerry Development Tools and Downloads page and click Download the BlackBerry Device Simulators . Fair warning, you may have to update your Java (JDK) version; the installer will prompt you if the update is required. Once you install the simulator, go ahead and open it and take a look around. Here’s a screenshot of the BlackBerry Storm simulator: Browsing the web using the BlackBerry simulator In order to browse the web using your BlackBerry simulator, you’ll need to download and install the BlackBerry MDS Simulator . Go back to the BlackBerry Development Tools and Downloads page and click Download the BlackBerry Email and MDS Services Simulator Package . Install the software, and again, you may have to u...

HTML table to Excel table using Javascript

Image
Convert HTML tabular date to Excel form using Javascript Let try to generate html data to xml data by using code below: < html > < head > < script type="text/javascript" > function CreateExcelSheet() { var x=myTable.rows var xls = new ActiveXObject("Excel.Application") xls.visible = true xls.Workbooks.Add for (i = 0; i <  x.length; i++) { var y = x[i].cells for (j = 0; j <  y.length; j++) { xls.Cells( i+1, j+1).Value = y[j].innerText } } } < /script > < /head > < body marginheight="0" marginwidth="0" > < form > < input type="button" onclick="CreateExcelSheet()" value="Create Excel Sheet" > < /form > < table id="myTable" border="1" > < tr > < b >< td >Name < /td > < td >Age< /td >< /b >< /tr > < tr > < td >Shivani < /td > <...

CSS HACKS

We have lots of ways to HACK CSS. However, these are the couple I find most useful. Star-property Hack *property: value; Not sure on the name but I call this the star-property hack. This hack allows you to target IE7 and below. Underscore-property Hack _property: value; This targets IE6 and below. Any styles will be applied to ie 6 and below. !important Targetting The !important at the end of a style, tells browsers that this property should override any other declarations of that property regardless of position. For example in this case: width: 10px !important; width: 80px; Even though the 80px declaration comes second, Firefox 3 and IE7/8 will render this style as 10pixels. IE6 does not recognize the !important declaration and will apply an 80pixel width. I prefer this method when I need to target IE7 and FF with one rule, and IE6 with the other. This is a valid method of feeding one rule to ie7/ff and another for ie6. CSS Examples div.test{ margin-top: 10px; ...

CSS Conditional Statements or Comments

Conditional comments Implemented by IE to fix their retarded browsers, conditional comments can help you target different versions of IE. < ! --[if IE 6] > Any instructions in this comment will be parsed by IE 6. < ! [endif] - - > < ! - - [if IE 7] > Any instructions in this comment will be parsed by IE 7. <!--[if lte IE 7]> Any instructions in browsers less than or equal to IE7 will parse these comments. < ! [endif] - - > Example of using conditional comments: < ! - - [if IE 7] > < link href="styles/ie7styles.css" rel="stylesheet" type="text/css" / > < ! [endif] - - > reference link : http://theinfiniteloopblog.com/tag/cross-browser-css/

Looking for font resizing

If you are looking  for font resizing functionality in your website then you can find the solution at here : http://www.dyn-web.com/code/fontsizer/ And if you want to crack its license file then you can contact me at: tiggem1993 at gmail dot com. hint : http://www.dolcevie.com/js/converter.html

Anchor not working in Firefox, Crome and Safari?

If your anchor tag is working in IE only and not working in FF, google crome and safari... then use Name in source tag instead of ID . becasue FF(firefox), google crome and safari can understand anchoring by name attribute only. and for " name " attribute you have to use anchore tag. for example : <a href="#myanchor">my link </a> ...... ...... <a name="myanchor">&nbsp;</a> <p> ...... .... my text ..... .... </p> That's it!!! now check and your anchoring wil work in all browsers..... :) to know more about anchoring visit this site : Anchors not working in Firefox and Safari