Hello All,
Please could someone lend me a helping hand as I am going crazy with this. I have set up my opening page and it is pretty simple but that is what I want. Unfortunately the .hide.delay.fadeIn is working great on one level and then the last line causes the page to jerk slightly just before the menu reaveals. My old web designer has my remote site details so it is not up just local. Here is the code.
Html/jquiery
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="CSS/OpenNR-2.css" rel="stylesheet" type="text/css" media="screen">
<title>Untitled Document</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"></script>
<script>
$(document).ready(function(){
$('#slideshow').cycle({ timeout:6000
});
fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
$('#NR-small').hide().fadeIn(3000);
$('#cost-tit').hide().delay(2000).fadeIn(2000).delay(2000).fadeOut(1000)
$( init );
function init() {
$('#Nav-Menu').hide()
$('#Nav-Menu').delay(8000).fadeIn(3000);
}
});
</script>
</head>
<body>
<div id="wrapper">
<div id="slideshow">
<img class="pics" src="IMAGES/beauty and fashion-3.jpg"/>
<img class="pics" src="IMAGES/good landscape xerox NR.jpg"/>
<img class="pics" src="IMAGES/seb couple with dressformNR.jpg"/>
</div>
<div id="NR-small">
<img src="IMAGES/ A -NR BW good 154.jpg"/>
</div>
<div id="cost-tit">
<img src="IMAGES/cost title 1.jpg"/>
</div>
<!--start of menu-->
<div id="Nav-Menu">
<ul>
<li><a href="#">SHOW REELS</a>
<ul>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
</ul> <!--End inner UL-->
</li> <!--End main UL-->
</ul> <!--End of unordered list-->
<ul>
<li><a href="#">BIOGRAPHY</a>
<ul>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
</ul> <!--End inner UL-->
</li> <!--End main UL-->
</ul> <!--End of unordered list-->
<ul>
<li><a href="#">CV/RESUME</a>
<ul>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
</ul> <!--End inner UL-->
</li> <!--End main UL-->
</ul> <!--End of unordered list-->
<ul>
<li><a href="#">PORTFOLIO</a>
<ul>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
</ul> <!--End inner UL-->
</li> <!--End main UL-->
</ul> <!--End of unordered list-->
<ul>
<li><a href="#">BLOG</a>
<ul>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
</ul> <!--End inner UL-->
</li> <!--End main UL-->
</ul> <!--End of unordered list-->
<ul>
<li><a href="#">CONTACT</a>
<ul>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
</ul> <!--End inner UL-->
</li> <!--End main UL-->
</ul> <!--End of unordered list-->
</div>
</div>
</body>
</html>
And here is the CSS:
@charset "UTF-8";
/* CSS Document */
body { background-color:#000000; }
#wrapper { width:900px; background-color:#000000 ;margin:auto;padding-top:30px;
}
#NR-small {width:184; height:87px; text-align:center; margin-top:35px; }
#cost-tit { text-align:center;margin:29px;}
#slideshow { width:525px; margin-left:auto; margin-right:auto;}
h1 { color:#CC66CC;}
<!--CLASS TAGS-->
.book-pics { margin-too: 50px;}
#Nav-Menu { margin-top:30px;
padding:0px;
}
#Nav-Menu ul { margin:0;
padding:0;
line-height:30px;}
#Nav-Menu li { margin:0;
padding:0;
list-style:none;
float:left;
position:relative;
background-color:#000;}
#Nav-Menu ul li a { text-align:center;
font-family:"Times New Roman", Times, serif;
text-decoration:none;
font-weight:100;
height:30px;
width:150px;
display:block;
color:#FFF;
}
#Nav-Menu ul ul{ position:absolute;
visibility:hidden;
top:30px;
}
#Nav-Menu ul li:hover ul { visibility:visible;}
#Nav-Menu li:hover { background-color:#000;}
#Nav-Menu li:hover ul li a:hover { background-color:#0000;
color:#FF0000; }
#Nav-Menu a:hover { color:#FF0000; }
.clearFloat { clear:both;
margin:0
padding:0}
a.menu-titles:hover {color:#FF0000;}
/*****************end mnu css*********************/
It is a work in progress but the jquery jerking thing has to be sorted before I can move forward. Also this works great in all browsers except IE. Any ideas.
I would so so appreciate any help as I am a real novice and so want to learn.
Many many thanks in advance.
Tina
--
tina nail
Please could someone lend me a helping hand as I am going crazy with this. I have set up my opening page and it is pretty simple but that is what I want. Unfortunately the .hide.delay.fadeIn is working great on one level and then the last line causes the page to jerk slightly just before the menu reaveals. My old web designer has my remote site details so it is not up just local. Here is the code.
Html/jquiery
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="CSS/OpenNR-2.css" rel="stylesheet" type="text/css" media="screen">
<title>Untitled Document</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"></script>
<script>
$(document).ready(function(){
$('#slideshow').cycle({ timeout:6000
});
fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
$('#NR-small').hide().fadeIn(3000);
$('#cost-tit').hide().delay(2000).fadeIn(2000).delay(2000).fadeOut(1000)
$( init );
function init() {
$('#Nav-Menu').hide()
$('#Nav-Menu').delay(8000).fadeIn(3000);
}
});
</script>
</head>
<body>
<div id="wrapper">
<div id="slideshow">
<img class="pics" src="IMAGES/beauty and fashion-3.jpg"/>
<img class="pics" src="IMAGES/good landscape xerox NR.jpg"/>
<img class="pics" src="IMAGES/seb couple with dressformNR.jpg"/>
</div>
<div id="NR-small">
<img src="IMAGES/ A -NR BW good 154.jpg"/>
</div>
<div id="cost-tit">
<img src="IMAGES/cost title 1.jpg"/>
</div>
<!--start of menu-->
<div id="Nav-Menu">
<ul>
<li><a href="#">SHOW REELS</a>
<ul>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
</ul> <!--End inner UL-->
</li> <!--End main UL-->
</ul> <!--End of unordered list-->
<ul>
<li><a href="#">BIOGRAPHY</a>
<ul>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
</ul> <!--End inner UL-->
</li> <!--End main UL-->
</ul> <!--End of unordered list-->
<ul>
<li><a href="#">CV/RESUME</a>
<ul>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
</ul> <!--End inner UL-->
</li> <!--End main UL-->
</ul> <!--End of unordered list-->
<ul>
<li><a href="#">PORTFOLIO</a>
<ul>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
</ul> <!--End inner UL-->
</li> <!--End main UL-->
</ul> <!--End of unordered list-->
<ul>
<li><a href="#">BLOG</a>
<ul>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
</ul> <!--End inner UL-->
</li> <!--End main UL-->
</ul> <!--End of unordered list-->
<ul>
<li><a href="#">CONTACT</a>
<ul>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
<li><a href="#">Link Item</a></li>
</ul> <!--End inner UL-->
</li> <!--End main UL-->
</ul> <!--End of unordered list-->
</div>
</div>
</body>
</html>
And here is the CSS:
@charset "UTF-8";
/* CSS Document */
body { background-color:#000000; }
#wrapper { width:900px; background-color:#000000 ;margin:auto;padding-top:30px;
}
#NR-small {width:184; height:87px; text-align:center; margin-top:35px; }
#cost-tit { text-align:center;margin:29px;}
#slideshow { width:525px; margin-left:auto; margin-right:auto;}
h1 { color:#CC66CC;}
<!--CLASS TAGS-->
.book-pics { margin-too: 50px;}
#Nav-Menu { margin-top:30px;
padding:0px;
}
#Nav-Menu ul { margin:0;
padding:0;
line-height:30px;}
#Nav-Menu li { margin:0;
padding:0;
list-style:none;
float:left;
position:relative;
background-color:#000;}
#Nav-Menu ul li a { text-align:center;
font-family:"Times New Roman", Times, serif;
text-decoration:none;
font-weight:100;
height:30px;
width:150px;
display:block;
color:#FFF;
}
#Nav-Menu ul ul{ position:absolute;
visibility:hidden;
top:30px;
}
#Nav-Menu ul li:hover ul { visibility:visible;}
#Nav-Menu li:hover { background-color:#000;}
#Nav-Menu li:hover ul li a:hover { background-color:#0000;
color:#FF0000; }
#Nav-Menu a:hover { color:#FF0000; }
.clearFloat { clear:both;
margin:0
padding:0}
a.menu-titles:hover {color:#FF0000;}
/*****************end mnu css*********************/
It is a work in progress but the jquery jerking thing has to be sorted before I can move forward. Also this works great in all browsers except IE. Any ideas.
I would so so appreciate any help as I am a real novice and so want to learn.
Many many thanks in advance.
Tina
--
tina nail


