Hi,
I tried using the forum at jquery.com – but it was impossible to register – kept ending up at the Zoho site?
Anyway I am happy to have found this site – which I think does offer help for jquery?
What I would like to accomplish is have each header on my site display a different image that fades In.
So (for testing purposes I am only using 2 images) in the html I assigned a class for each img (headerOne and headerTwo)
My problem is in telling jquery to find the css for headerOne and Two and apply the css before running the fadeIn on the image.
Here is the (pitiful) code I have so far:
<script type=”text/javascript” src=”_js/jquery-1.7.1.min.js”></script>
<script>
$(function() {
$(‘.headerOne’).fadeIn(8000);
});
</script>
</head>
<body>
<div id=”wrapper”>
<div id=”header”>
<div id=”headerImage” class=”headerOne”></div>
</div>
and the CSS
.headerOne {
background: url(../_images/stop_McGinty.png) no-repeat;
}
.headerTwo {
background: url(../
}
I know this is simple but I am so inexperienced in programming and jquery.
Really appreciate any help.
Thank You
Tony