mirror of
https://github.com/arnaucube/ivardiaweb.git
synced 2026-02-07 20:06:40 +01:00
llista deures part 4
This commit is contained in:
7
index.js
7
index.js
@@ -1,5 +1,5 @@
|
|||||||
//http://placehold.it/1920x1080
|
//http://placehold.it/1920x1080
|
||||||
|
var actualWindow="";
|
||||||
function OnLoadDefault(){
|
function OnLoadDefault(){
|
||||||
/*$(document).ready(function(e) {
|
/*$(document).ready(function(e) {
|
||||||
$('#HTMLmenu').load('HTMLmenu.html',function(){
|
$('#HTMLmenu').load('HTMLmenu.html',function(){
|
||||||
@@ -11,6 +11,9 @@ function OnLoadDefault(){
|
|||||||
//
|
//
|
||||||
});
|
});
|
||||||
});*/
|
});*/
|
||||||
|
console.log(actualWindow);
|
||||||
|
if(actualWindow!="index")
|
||||||
|
{
|
||||||
$(window).bind('scroll', function () {
|
$(window).bind('scroll', function () {
|
||||||
console.log($(window).scrollTop());
|
console.log($(window).scrollTop());
|
||||||
if ($(window).scrollTop() > 25) {
|
if ($(window).scrollTop() > 25) {
|
||||||
@@ -21,6 +24,7 @@ function OnLoadDefault(){
|
|||||||
document.getElementById("menu").className="own-menu";
|
document.getElementById("menu").className="own-menu";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
- La señora haciendo el saludo de la victoria (_013)
|
- La señora haciendo el saludo de la victoria (_013)
|
||||||
@@ -32,6 +36,7 @@ function OnLoadDefault(){
|
|||||||
- Gente (014, 074, 068, 071, 012)
|
- Gente (014, 074, 068, 071, 012)
|
||||||
*/
|
*/
|
||||||
function OnLoadIndex(){
|
function OnLoadIndex(){
|
||||||
|
actualWindow="index";
|
||||||
OnLoadDefault();
|
OnLoadDefault();
|
||||||
var numImg=3;
|
var numImg=3;
|
||||||
var visibleImg=1;
|
var visibleImg=1;
|
||||||
|
|||||||
Reference in New Issue
Block a user