7:04 PM
სურათის გახსნის ეფექტი
ძალიან ლამაზი სურათის გახსნის ეფექტი, ჩვენ საიტზე როგორიცაა დაახლოებით ეგეთი.

კოდი:
Code
<script type="text/javascript" src="/high.js"></script>  
  <script type="text/javascript" src="http://geotmpl.my1.ru/highslide/highslide.config.js" charset="utf-8"></script>  
  <link rel="stylesheet" type="text/css" href="http://geotmpl.my1.ru/highslide/highslide.css">  
  <script type="text/javascript">  
  // override Highslide settings here  
  // instead of editing the highslide.js file  
  hs.graphicsDir = 'http://geotmpl.my1.ru/highslide/graphics/';  
  </script>  

  <script type="text/javascript">  

  </script>  

  <script type="text/javascript">  
  $(document).ready(function(){  

  $(".btn-slide").click(function(){  
  $("#panel").slideToggle("slow");  
  $(this).toggleClass("active"); return false;  
  });  
   
   
  });  
  </script>


Css:
Code
$(document).ready(function() {  

  //Default Action  
  $(".tab_content").hide(); //Hide all content  
  $("ul.tabs li:first").addClass("active").show(); //Activate first tab  
  $(".tab_content:first").show(); //Show first tab content  
   
  //On Click Event  
  $("ul.tabs li").click(function() {  
  $("ul.tabs li").removeClass("active"); //Remove any "active" class  
  $(this).addClass("active"); //Add "active" class to selected tab  
  $(".tab_content").hide(); //Hide all tab content  
  var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content  
  $(activeTab).fadeIn(); //Fade in the active content  
  return false;  
  });  

  });  
  </script>  
  <script language="javascript" type="text/javascript">  
  function bookmarkthis(title,url) {  
  if (window.sidebar) { // Firefox  
  window.sidebar.addPanel(title, url, "");  
  } else if (document.all) { // IE  
  window.external.AddFavorite(url, title);  
  } else if (window.opera && window.print) { // Opera  
  var elem = document.createElement('a');  
  elem.setAttribute('href',url);  
  elem.setAttribute('title',title);  
  elem.setAttribute('rel','sidebar');  
  elem.click();  
  }  
  }  
  //?>
კატეგორია: სკრიპტები | ნანახია: 678 | დაამატა: GIOoO | რეიტინგი: 0.0/0
სულ კომენტარები: 0
კომენტარის დამატება შეუძლიათ მხოლოდ დარეგისტრირებულ მომხმარებლებს
[ რეგისტრაცია | შესვლა ]