Hi

I have to attach an external js file. While i run the page in firefox
browser I have no problem. But When i used IE 7 browser the page
content not displayed. It shows an blank page. I right click it and
view the page source . It shows the code.

Finally I used the conditional comment for IE . Then my page works in
IE 7 and not work in firefox.

The following code snippets are
===================================================
Test.kid
===================================================
<html py:extends="'layout.kid'" xmlns:py="http://purl.org/kid/ns#";
xmlns:form="myform">
<head>
<!-- <!--[if IE]>
<script type="text/javascript" src="/static/default.js"></script>
<![endif]-->
</head>
<body onload="initload()">
This is Test Page
</body>
</html>
=================================================
On initload() function I do some stuff for enable and disable checkboxes.

This above page works in IE 7. If i remove the conditional comment  it
works in firefox and not in IE browser.

I want to run my page with both browsers. How can i solve that?

Please anyone help me.

Regards,

Mahabub Basha.S

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kid-template-discuss mailing list
kid-template-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to