Jineeshjohn’s Blog

A story about the founders of the social-networking website, Facebook.
On a fall night in 2003, Harvard undergrad and computer programming genius Mark Zuckerberg sits down at his computer and heatedly begins working on a new idea. In a fury of blogging and programming, what begins in his dorm room soon becomes a global social network and a revolution in communication. A mere six years and 500 million friends later, Mark Zuckerberg is the youngest billionaire in history… but for this entrepreneur, success leads to both personal and legal complications.

Screen Shots

http://www.fileserve.com/file/8wgUYXV
http://www.fileserve.com/file/zhmfnN4
http://www.fileserve.com/file/mArVubV
http://www.fileserve.com/file/YEua6sg
http://www.fileserve.com/file/23wUwDW
http://www.fileserve.com/file/YKeNXBv
http://www.fileserve.com/file/NKjraZj
http://www.fileserve.com/file/vNHzAWM
http://www.fileserve.com/file/PRapHnT

Please find the attached link to the template form.

Download the form Template

There is two ways to create a thin border for Html table td’s.

Solution 1:
Using border collapse

table{
	border-collapse:collapse;
}
table td {
	border:1px solid #000;
}

Solution 2:

Applying the css border properties for table and td

table{
	border-top:1px solid #000;
	border-left:1px solid #000;
}
table td {
	border-right:1px solid #000;
	border-bottom:1px solid #000;
}

Here I would like to show a how to create a overlay for the parent window using jQuery.

 Parent window code 

// your jquery js path


/* A unique name for the window. 
    Used when ever dealing with multiple pop - up windows */
var wn = new Date().valueOf(); 
function disableParent(){
	var e = $("div.overlay");
	var p = $("body");
	e.height(p.height()).width(p.width()).show();
	
}
function enableParent(){
 	var e = $("div.overlay",opener.document).css("display","none");
	window.close();
}



	div.overlay{
		background-color:#666;
		position:absolute;
		display:none;
		z-index:10;
		height:800px;
		width:1000px;
		filter: alpha(opacity=50);
		opacity: 0.5;
	}



Hi,

Here i would like to show how to write a basic bubble sort using JavaScript.

 

function bubbleSort( arr ){
	var i = arr.length - 1, j;
	for (i ; i >= 0; i--){
		for (j = 0; j <= i; j++){
			if (arr[j+1] < arr[j]) {
				var temp = arr[j];
				arr[j] = arr[j+1];
				arr[j+1] = temp;
			}
		}
	}
	return arr;
}

 

This function can be used for returning xml document by passing a xml String

function xmlDataLoader(xmlData) {
	if ( window.ActiveXObject ) {
		xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
		xmlDoc.async="false";
		xmlDoc.loadXML(xmlData);
		return xmlDoc; 
	}else if ( document.implementation && document.implementation.createDocument ) {
		parser=new DOMParser();
		xmlDoc=parser.parseFromString(xmlData,"text/xml");
		return xmlDoc;
	}
	return xmlObject;
}

Setting Iframe 100 percent Width and Height

When ever a Iframe has to be made 100 percent height. Its parent page body tag and html tag has to me made 100 percent.


html, body {
	margin:0;
	height:100%;
	width:100%;
} 


  • None
  • No comments yet

Categories

Follow

Get every new post delivered to your Inbox.