我试图调试一个现有的页面有html4.01作为其文档类型,并试图在html5启用浏览器中使用此.. 什么是移植旧网站时采取的最佳步骤支持html5的浏览器。 目前我面临的问题是显示在脚本中的函数中调用的图像... JS都在网页之外,并且正在被引用... 显示了一个片段,在这里代替检查的单选按钮字段与选定的不正确的图像/选择正确的图像。图像/网格不显示在IE9中
if (bAnswerOnceOnly)
{
//show selected not correct icon, and change cursor to default so that it shows that the check box
//is not clickable.
replacementHTML = "<img border='0' src='../cImages/sg_checki.gif' style='cursor:default'>";
}
else
{
//use this code instead of the above to reset graphic if we allow users to deselect the selected incorrect.
replacementHTML = "<img border='0' onClick='private_ResetGraphics(" + gMC[i].id + ");' src='../cImages/sg_checki.gif'>";
}
感谢, HRG
你能提供有关您与图像的特定问题的其他细节?如果你在你的问题中发布了一些代码,这将会很有帮助。 – 2012-04-18 08:36:18
@BryanDowning:这里的功能是简单地用图像替换单选按钮选中的字段,如果选中的单选按钮是正确的,我们将显示正确的刻度图像,如果不是v显示worng刻度图像。需要帮助请叫我。 – gaganHR 2012-04-18 09:04:19