java script程序,可否在多个页面内引用调用呢
<script type="text/javascript">
<![CDATA[
function mout()
{
alert(st1);
}
]]>
</script>
<object id="svg_obj" type="image/svg+xml" width="100%" height="80%" data="example_1.svg">
Your browser is currently unable to display SVG images.
</object> //在example_1.svg 中 嵌入 java script st1="hello world";
<object id="svg_obj" type="image/svg+xml" width="100%" height="80%" data="example_2.svg">
Your browser is currently unable to display SVG images.
</object> //在example_2.svg 的一个mouseout事件中 mouseout=mout() 返回helloworld的字符串 如何实现呢