Difference between revisions of "DevTesting"

Line 549: Line 549:
 
$("#HQ_page").attr('id','');
 
$("#HQ_page").attr('id','');
 
 
 +
 +
//name setup
  
 
if ( wgPageName.substring( 0,  8) == "Template")  {  // if the page is a template it displays the full name in a single line
 
if ( wgPageName.substring( 0,  8) == "Template")  {  // if the page is a template it displays the full name in a single line
Line 568: Line 570:
  
  
 +
//menu functionality
  
 
$('#accordion').find('.menu_item').click(function(){
 
$('#accordion').find('.menu_item').click(function(){
Line 597: Line 600:
 
$( window ).resize(function() {
 
$( window ).resize(function() {
 
$(".menu_item").show();
 
$(".menu_item").show();
 +
});
 +
 +
 +
 +
//image slider
 +
 +
$(function () {
 +
 +
var change_img_time    = 3000;
 +
var transition_speed    = 450;
 +
 +
var simple_slideshow  = $("#exampleSlider"),
 +
listItems  = simple_slideshow.children('li'),
 +
listLen = listItems.length,
 +
i = 0,
 +
 +
changeList = function () {
 +
 +
listItems.eq(i).fadeOut(transition_speed, function () {
 +
 +
i += 1;
 +
if (i === listLen) {
 +
i = 0;
 +
}
 +
 +
listItems.eq(i).fadeIn(transition_speed);
 +
});
 +
};
 +
 +
listItems.not(':first').hide();
 +
setInterval(changeList, change_img_time);
 +
 
});
 
});
  

Revision as of 17:15, 3 November 2016

TESTING

Lorem ipsum dolor sit amet, augue graeci ea per, ex nam dicat noster eligendi. Ne duo nonumy ponderum patrioque. Omnesque deseruisse usu at, an everti delenit lobortis eam. Nec solum sapientem salutandi ea, elitr indoctum dissentiunt pri no.

TESTING

Lorem ipsum dolor sit amet, augue graeci ea per, ex nam dicat noster eligendi. Ne duo nonumy ponderum patrioque. Omnesque deseruisse usu at, an everti delenit lobortis eam. Nec solum sapientem salutandi ea, elitr indoctum dissentiunt pri no.

TESTING

Lorem ipsum dolor sit amet, augue graeci ea per, ex nam dicat noster eligendi. Ne duo nonumy ponderum patrioque. Omnesque deseruisse usu at, an everti delenit lobortis eam. Nec solum sapientem salutandi ea, elitr indoctum dissentiunt pri no.

Lorem ipsum dolor sit amet, augue graeci ea per, ex nam dicat noster eligendi. Ne duo nonumy ponderum patrioque. Omnesque deseruisse usu at, an everti delenit lobortis eam. Nec solum sapientem salutandi ea, elitr indoctum dissentiunt pri no.

Lorem ipsum dolor sit amet, augue graeci ea per, ex nam dicat noster eligendi. Ne duo nonumy ponderum patrioque. Omnesque deseruisse usu at, an everti delenit lobortis eam. Nec solum sapientem salutandi ea, elitr indoctum dissentiunt pri no.