what is the source code for the blank page?

On Aug 15, 8:50 pm, Adam Zedan <[email protected]> wrote:
> Hi my html works properly when i double click it.
>
> The code is
>
> <!DOCTYPE HTML>
> <html>
>     <head>
>         <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1">
>         <title>Demo</title>
>         <link rel="stylesheet"
> href="file:///D:/Django-1.3/django/bin/SlickGrid/slick.grid.css"
> type="text/css" media="screen" charset="utf-8" />
>         <link rel="stylesheet"
> href="file:///D:/Django-1.3/django/bin/SlickGrid/css/smoothness/jquery-ui-1.8.5.custom.css"
> type="text/css" media="screen" charset="utf-8" />
>         <link rel="stylesheet"
> href="file:///D:/Django-1.3/django/bin/SlickGrid/examples/examples.css"
> type="text/css" media="screen" charset="utf-8" />
>
>         <script type="text/javascript" 
> src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js";></script>
>         <script
> src="file:///D:/Django-1.3/django/bin/SlickGrid/lib/jquery-1.4.3.min.js"></script>
>         <script
> src="file:///D:/Django-1.3/django/bin/SlickGrid/lib/jquery.event.drag-2.0.min.js"></script>
>
>         <script
> src="file:///D:/Django-1.3/django/bin/SlickGrid/slick.core.js"></script>
>         <script
> src="file:///D:/Django-1.3/django/bin/SlickGrid/slick.grid.js"></script>
>
>         <script>
>         var grid;
>         var columns = [
>             {id:"title", name:"Title", field:"title"},
>             {id:"duration", name:"Duration", field:"duration"},
>             {id:"%", name:"% Complete", field:"percentComplete"},
>             {id:"start", name:"Start", field:"start"},
>             {id:"finish", name:"Finish", field:"finish"},
>             {id:"effort-driven", name:"Effort Driven", field:"effortDriven"}
>         ];
>
>         var options = {
>             enableCellNavigation: true,
>             enableColumnReorder: false
>         };
>
>         $(function() {
>             var data = [];
>             for (var i = 0; i < 500; i++) {
>                 data[i] = {
>                     title: "Task " + i,
>                     duration: "5 days",
>                     percentComplete: Math.round(Math.random() * 100),
>                     start: "01/01/2009",
>                     finish: "01/05/2009",
>                     effortDriven: (i % 5 == 0)
>                 };
>             }
>
>             grid = new Slick.Grid("#myGrid", data, columns, options);
>
>             $("#myGrid").show();
>         })
>
>         </script>
>
>     </head>
>
>     <body>
>
>          <table width="100%">
>         <tr>
>             <td valign="top" width="50%">
>                 <div id="myGrid"
> style="width:600px;height:500px;display:none;"></div>
>             </td>
>         </tr>
>         </table>
>
>     </body>
> </html>
>
> however when i run it the proper way i.e run the server "manage.py
> runserver" and enter the url i just get a blank screen ?? Does anyone know
> why this happens??

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to