De promotiewebsite die de reguliere site vervangt tijdens de Kick-In. https://join.harambee.utwente.nl
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
kick-in-promo-site/tests/unit/fixedElements.js

10 lines
461 B

QUnit.test('Testing fixedElements', function(assert) {
var id = '#fullpage-normalscrollelements';
var fixedElementSelector = '.normalscroll';
//we will use the element 'normalscroll' as the fixed element. Nothing to
//do with normal scroll :)
var FP = initFullpageNew(id, {fixedElements: fixedElementSelector});
assert.equal($(fixedElementSelector).closest(SECTION_SEL).length, 0, 'We expect the element to be outside a section');
});