You are not logged in.
Pages: 1
Having an issue with IE7 not loading Xinha.
Tested My code with
FF 3.0.1
Opera 9.64
IE 7.0.1 (xinha does not load)
Safari 4
Chrome 1.0.1
They all work great, But IE Does nothing not even a load screen.
Is there a Setting in IE that i am missing or is there something in Xinha that i am missing?
Any help would be great.
Let me know if you would like to see any code?
Last edited by carologist (2009-05-14 13:50:13)
Offline
Made a test page same thing happend no load in IE7
I have not modified any other code that came with Xinha
running v.95
thanks for the help
Test.php code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html>
<head>
<title>Web Site Control Pannel</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="css/page_style.css">
<script type="text/javascript" src="js/prototype.js"></script> <!-- Prototype Java Script -->
<script type="text/javascript">
_editor_url = "/sbt/demo/cpm/xinha"
_editor_lang = "en";
_editor_skin = "silva";
</script>
<script type="text/javascript" src="xinha/XinhaLoader.js"></script>
<script type="text/javascript" src="xinha/my_config.js"></script></head>
<body>
<div id="container">
<div id="header">
<h1>Control Panel</h1>
<p class="right">Date: 05/12/2009 /
<a href="#">Logout</a></p>
</div>
<div id="navigation">
<a href="index.php?page=email.php">Email Tool</a> | <a href="index.php?page=calendar.php">Calendar Manager</a> | <a href="index.php?page=webupdate.php">Content Manager</a> | <a href="index.php?page=help.html">Help</a> | </div>
<div id="content">
<div id="editor">
<form action="index.php?page=webupdate.php" method="post"><p>
<textarea id="editarea" name="editarea" rows="1000" cols="70"><p>Hello. We are located in Ballard and is the home of the Dock Street burger one of the Best Burgers in Seattle. We always have fresh food and cold drinks, ready to serve.<br /></p>
<p>We love having a good time and love to chat. We have lots of TVs to keep up on the sports games and news. There is continualy a stream of local musisions playing. There is some thing for every one to enjoy here at Bad Albert\'s.</p>
<p>This Page is also editable in the Admin Control Panel </p>
<p>Editing text</p>
<p>Test Safari </p>
<p>Test Chrome </p>
<p>Test Opera</p>
<p> </p></textarea>
<input type="hidden" name="updatepage" value="../data/about.txt" />
<input type="submit" name="update" value="Update File" /><input type="submit" name="update" value="Cancel" />
</p></form>
</div>
</div>
</div>
</body>
</html>
my_config.js file
xinha_editors = null;
xinha_init = null;
xinha_config = null;
xinha_plugins = null;
xinha_init = xinha_init ? xinha_init : function()
{
xinha_editors = xinha_editors ? xinha_editors :
[
'editarea'
];
xinha_plugins = xinha_plugins ? xinha_plugins :
[
'ContextMenu',
'Stylist',
'Linker',
];
if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;
xinha_config = xinha_config ? xinha_config() : new Xinha.Config();
xinha_config.toolbar = [
["popupeditor"],
["separator","formatblock","fontsize","bold","italic",],
["separator","subscript","superscript"],
["separator","insertunorderedlist"],
["separator","inserthorizontalrule","createlink","insertimage"],
["linebreak","separator","undo","redo"],
["separator","showhelp","about"]
];
xinha_config.formatblock = {
"— format —": "",
"Heading 3": "h3",
"Heading 4": "h4",
"Heading 5": "h5",
"Heading 6": "h6",
"Normal" : "p",
};
xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
Xinha.startEditors(xinha_editors);
}
Xinha._addEvent(window,'load', xinha_init);
Offline
I have tried the Beta's with no luck but I can load the xinha test pages. in IE 7 that would lead me to believe that it has some thing to do with my code. Thanks again in advance
Offline
ok still don't know what it is that was causing my loading issue.
I removed the block of code from my xinha_config.js file and it loads fine
xinha_config.formatblock = [
"— format —": "",
"Heading 3": "h3",
"Heading 4": "h4",
"Heading 5": "h5",
"Heading 6": "h6",
"Normal" : "p",
];
the " [ " and " ] " where " { " " } " and changed then to what they are now and still no load.
Any Idea??? Any one...
I am just more curious than anything now
Offline
Pages: 1