phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,


AJAX - Grid: Creating Page for Final Display

Tag: ajax, grid, client side   Category: PHP Application
post: 27 Mar 2008 read: 1,165


AJAX Grid Step By Step Tutorial 6: This is last post of this series. We will create "index.html" and "grid.css". After it, you can test your AJAX Grid.

Index.html:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>AJAX Grid</title>
<script type="text/javascript" src="grid.js"></script>
<link href="grid.css" type="text/css" rel="stylesheet">
</head>
<body onload="init();">
  <div id="gridDiv" />
</body>
</html>

grid.css:


body
{
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size:12px;
}

table
{
  width: 600px;
}

td.right
{
 color:darkblue;
 text-align:right;
 width:125px;
}

td.left
{
 color:darkblue;
 text-align:left;
 width:125px;
}

table.list
{
  border: solid 1px black;
}

th
{
  text-align:left;
  background-color:#FF0000;
  color:white;
  height:30px;
}

th.th1
{
  width:30px;
}

th.th2
{
  width:200px;
}

th.th3
{
  width:70px;
}

th.th4
{
  width:250px;
}

th.th5
{
  width:50px;
}

Got it! Now, point your browser to http://localhost/test/ajax/books/index.html.



Series this article:
AJAX - Grid: Prepare Table Grid
AJAX - Grid: Creating Server Side Task
AJAX - Grid: Testing Server Side Task
AJAX - Grid: Creating XSL for Client Side
AJAX - Grid: Creating JavaScript for Client Side
AJAX - Grid: Creating Page for Final Display

| Give Your Opinion | Recommend
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
digg del.icio.us technorati Ma.gnolia BlinkList

Recommended articles by other readers:
Web Services: How PHP Kiss VB.NET? (Part 1)
Joomla: Fast Road to Understand Component Programming
Chart: How to Build Cool Animation Real Time Chart
Email: Send Attachement Mail
SMS : Sending SMS with PHP and ActiveXperts (Part 1)

What do You Think?
Your Name *:
Email *:
(Will not be published)
Website/URL:
Your Comment *:
* Required


624
posting