source: Dev/trunk/src/client/dojo/tests/_base/xhtml.php

Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 792 bytes
Line 
1<?
2        if(isset($_SERVER["HTTP_ACCEPT"]) && stristr( $_SERVER["HTTP_ACCEPT"], "application/xhtml+xml")){
3                header("Content-type: application/xhtml+xml");
4        }else{
5                header("Content-type: text/html");
6        }
7?>
8<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN"
9    "http://www.w3.org/TR/xhtml1/DTD/xhtml11-strict.dtd">
10
11<html xmlns="http://www.w3.org/1999/xhtml">
12        <head>
13                <script type="text/javascript">
14                        djConfig = { isDebug: true };
15                </script>
16                <script type="text/javascript" src="../../dojo.js"></script>
17                <script type="text/javascript">
18                        dojo.addOnLoad(function(){
19                                dojo.query("h1.thinger").forEach(function(n){
20                                        console.debug(n);
21                                });
22                        });
23                </script>
24        </head>
25        <body>
26                <h1 class="howdy thinger">hey there!</h1>
27                <h1 class="something else">...</h1>
28        </body>
29</html>
Note: See TracBrowser for help on using the repository browser.