html - Stuff working in firefox goes wrong in chrome -


i got stuff going quite wrong in chrome, while in firefox there no problem:
when clicking kind of button made, no requests sent.
when trying give source iframe using web console, nothing happens, no requests sent, no error given. code is:

 <ul id="navigation" style="height: 500px; border-right-width: 1px; padding-top: 0px; padding-bottom: 0px;">     <li><a class="link1" id="save_li">save</a></li>     <li><a class="link2" id="recover_li">recover</a></li>  </ul> <div id="frame_div" style="height: 500px; width: 574px; padding-left: 146px;">   <iframe id="frame_opened" style="width: 100%;" height="100% overflow-x:hidden; overflow-y:hidden;" scrolling="no"> </div> 

the js(called on window load):

   function addlisteners()    {      document.getelementbyid('save_li').addeventlistener('click', function () {             frame_opened.src="save.php";             }, false);       document.getelementbyid('recover_li').addeventlistener('click', function () {             frame_opened.src="recover.php";             }, false);    } 

css:

  #navigation {   float: left;   border-right:1px solid #999;   padding:10px 0px;   width:20%;   padding-left: 1px; } #navigation  {   display:block;   background:url(navigation.png);   height:47px;   text-indent:-9000px; } 

any idea should do?


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -