Hi,
i have the following unordered list:
<ul id="#lastcompanieslist">
<li style="display: none;" page="0">whatever 1</li>
<li style="display: none;" page="0">whatever 2</li>
<li style="display: none;" page="0">whatever 2</li>
<li style="display: none;" page="0">whatever 3</li>
<li style="display: none;" page="0">whatever 4</li>
<li st...
Hello.
I have a HTML structure like this:
<ul id="carousel" class="jcarousel-skin-photos">
<li><a href="images/content/featuredPhoto.jpg"><img src="images/content/featuredPhoto.jpg" alt="Lorem Ipsum Dolor Sit Amet..." /></a></li>
<li><a href="images/content/featuredPhoto.jpg"><img src="images/content/featuredPhoto.jpg" alt="Lorem...
Hi all,
I'm trying to prevent clicks on a list item while an animation is occurring. So at the top of my click handler, I want to do something like this:
if(!$(this).is(:animated)) {
// handle click code here
}
Note the 'bang' (!) in the if statement above. I haven't tested, but I assume this will work. What I'm not sure of is wh...
So i'm trying to make the div content1 fadein when I go with my mouse over the div logo1, content1 should fadeout when my mouse isn't over logo1 oh and the content div's have visibility: hidden on the css.
Same goes for logo2 3 and 4
I've tried this code but it didn't work for me (I didn't add fadeout because I dont know where to add it...
I'm trying to make a div fadeIn when another div is clicked and fadeOut again when another div is clicked (which would be the close button) but my code doesn't work, did I forget something?
Here's the CSS:
body{
margin: 0;
padding: 0;
text-align: center;
background-color:#f0f2df;
}
#container{
border: solid 1px #f0...
Is this the right way to make 2 divs fadeIn together? (contact_close should be infront of contact_box to serve as a close button for contact_box.
EDIT: fixed some divnames.
Javascript
$(document).ready(function(){
$(".button_contact").click(function() {
$("#contact_box").fadeIn("slow");
$(".contact_close").fadeIn("slow");
});...
I am having a problem with gtetting fadeIn and fadeOut effect of jQuery to work properly in IE (6+7+8). The script works fine in FF and safari (fading nicely) but in IE it just shows/hides - no fading effect at all.
Any ideas?
$(".myclass ul li:eq(" + $(this).attr("href") + ")").fadeIn(5000);
The href attribute that it is getting is ...
Hi,
If you view this in IE7 or 8 you will see that the background, when fading in is black, then it rapidly disappoears. Is there a fix for this?
http://nettuts.s3.cdn.plus.org/234_tooltip/Demo/index.html
Many thanks in advance!
C
...
I am using this code to hide and show a div based on which thumbnail you rollover;
$(document).ready(function(){
$('div.infodiv').hide();
$(".website_thumbs a").hover(
function(){
var name = $(this).attr("name");
$(".infodiv").stop();
$("."+name).fadeIn();
},
function(){
var name = $(...
I'm learning jQuery and this is my code so far:
<script type="text/javascript">
$(document).ready(function(){
$('#login').click(function(){
$('#login-box').fadeIn('fast');
});
});
</script>
It works, when you click the login button the DIV called login-box shows on the page. What I wanted to do was if the login button ...
Jquery puzzle
I've got a php script that returns the name of random jpg image from a folder. It's nice because I don't have to rename the images at all; I just drop them in the folder and the randomizer works. Right now, I call the script like this - http://mydomain.com/images/rotate.php - and on a simple web page reload, it swaps the ...
I'm having a problem with displaying a div in with the jQuery fadeIn() command. Everything displays fine in IE 7 and IE 8, but in certain versions of IE 6 (SP2 for instance), fields from the grid that the div appears over show through the dialog.
Anyone have any hints? I have a screenshot but can't get to an image hosting site behind ...
Hi,
I'm trying to make image being loaded into div with fadeIn effect. Problem is that I don't know how to avoid loading and fading at the same time. I want image to be loaded and after it is completely loaded it should be faded in.
http://www.izrada-weba.com/vedranmarketic
These are image thumbs:
<div id="thumbs">
<a ...
Say you have a bunch of elements on a webpage you don't use much, how can jQuery fade them a little, but only when there is no mouseover? It must fade back on mouseover!
...
Hello,
So I have what amounts to an html form, but is not an actual <form>, per se. I have a 'Clear' button that I am currently using to reset all of the fields back to their defaults.
From an aesthetic standpoint, I would like for the form to fade out, reset while it's "gone", and fade back in completely reset. I've got this code so f...
Why is the quality of this fadeIn/fadeOut demo much smoother when viewed in Firefox/Chrome than when viewed in IE8?
http://tanguay.info/web/examples/jquerflash2
...
Hi all!
I'm wrapping up a new site, http://architect.sitesbyjoe.com and I'm using the innerfade plugin on the site's homepage. For some reason, the fading is slow and choppy.
The only other thing Javscript-wise is the Fancy Zoom, but I've already removed it etc with no change.
Any thoughts? Other posts are pointing to CSS issues....
...
I've done some easy .hover(function() statement in jQuery. When i hover over a text i simply want a #div.fadeIn, and on non-hover fadeOut. It works. But it's just if i spam the text-trigger with hover and un-hoverring really quickly and then stop the animation begin to give a blinking effect. It just kind of loops, really annoying!
...
Hi there,
Very simple question. Take a look at the code below. It's a very simple loader with a progress bar. The progress bar is a symbol on the stage called "bar".
All I want is to fade out the bar when it finishes loading, and fade in the image that loads. I've tried a number of approaches without much luck.
var loader: Loader ...
I am trying to get an image to fade out when there has been no mouse action for 3 seconds and then fades in when the mouse is again moved.
I would also be appreciative if anyone could tell me how I can make the image be hidden until the mouse moves. So when the page loads up you don't see the image until the mouse moves.
This is what I...