Educational Boards

From evidyaloka
Revision as of 04:07, 4 March 2022 by Wikividya (Talk | contribs)

Jump to: navigation, search

move();

   $('#book_basic p').children('br').remove();
   $('#book_basic2 p').children('br').remove();
   $('#book_tn').siblings('p').remove();
   $('#book_bgk').siblings('p').remove();
   $('#book_uk p').children('br').remove();
   $('#book_div').removeClass('hide');
   

},4000);


var b = document.getElementsByClassName('btn'); for( var i in b){

 if (b.hasOwnProperty(i)) {
   b[i].addEventListener('click',function(e){
     var url = e.target.parentElement.getAttribute('data-url');
     var disp = document.getElementById('test').style.display;
   
     if(disp === 'none'){
       e.preventDefault();
       e.stopPropagation(); 
       document.getElementById('test').children[0].children[0].src = url;
       document.getElementById('test').style.display='block';
     } else {
       e.preventDefault();
       e.stopPropagation();
       document.getElementById('test').style.display='none';
       document.getElementById('test').children[0].children[0].src = ;
     }
   },false);
 }
 else {