Make Different Images Hover Over A Table Of Sliced Images When You Mouse Over A Particular Image?
Apr 14, 2011
I am trying to make different images hover over a table of sliced images when you mouse over a particular image. ex. mouse over image 1 = have image 1.1 hover over entire table of images in spot A; mouse over image 2 = have image 2.2 hover over entire table of images in spot B....ect. what i have so far only allows me to mouse over image 1 and have image 1.1 hover over entire table in spot A. Any time i try to move forward with more div's on other images it just jacks everything up.
Let me explain what is going on. Inside of a div with the id = navContain, are a few images. These images are used as navigation links. These images have the class = imgPos. When you roll over one of these images, the css top property adds 92 pixels.
The image contains two different colored variations of the word "HOME." When the image is in its off state, the word home is white. When you roll over the image, jQuery animates it so that the white text of the word "HOME" slides down, and then a colored version of the word "HOME" slides down and takes its place. This is the same image, just its top property is being changed. jQuery does nothing more than change the top property.
The problem: Sometimes when you roll your mouse over it for the first time, it properly animates to the over state, but then gets stuck in that state even when you mouse off of it. Still in its over state, if you mouse over it again, the over state jumps up and down violently. It never goes back to the state where the text should be white - its original state.
I've tried the stop() function, as you can see in my code. Still, this problem persists and I can't seem to figure it out alone.
Say I have 4 images. 1 main image and 3 menu images. I want the main image to change to a description of that particular link from a base image when I mouse over each menu menu image. So when I mouse over a part of my menu say 'Contacts' I want the main image to change and say 'Click here to acquire my contact information.
I was wondering if someone could assist me with a problem, i am trying to use the simple mouseover function to to able for my user to mouse over an thumbnail image and them the full size image apears in a black space on the webpage!plus, is there a way to have only 1 image instead of having a small one and a large one. i.e a large image can be resized for the thumbnail and appears normal in the mouseover.
how best to tackle building a voting page with Jquery. The basic (rude) layout is here...
Basically my actions are...
1. Votingdisableduntil user hasentereda jquery verifiable email address, this also use ajax to check if there is an existing vote with the email address in the mysql table; if there is it does not allow further and shows a message.
2. When email address entered then user can click on one "best" and one "worst" image, when clicked on others in section change opacity with css.
3. When clicked on a message appears "thanks for your vote" above the section and it makes an ajax call to a PHP file that registers the vote.
how to select one image and change the state of others in that section, then I'll move onto learning about Ajax.
What I'm looking to do is have a folder of images that I have show up on my website.I'm also looking to pull from this folder up to 6 or 7 times on the same page w/ randomized pictures that do not repeat.Finally, I'm looking to be able to size and name these images based on which image randomly pulls. b/c it's not grabbing the images.
i used setTimeout() function in my image gallery to scroll images , i used setTimeout("myfunction()",1) in my script. Now my image gallery is working properly but problem is that the speed of scrolling images if normal in firefox, but in internet explorer it is slow, and in google chrome it is very fast , Sir how to resolve this problem
I have a grid of images. For the sake of my question, let's say there are different categories of images: cats, dogs and cars. All images belong to one of these categories, but all are different. When the page is loaded, all images have their opacity lowered to 0.7.
So far I've got:
What I'd like to achieve is that when you hover the mouse over a picture of any dog, all images with a class of "dogs" have their opacity adjusted to1.
I recently implemented the Image Cross Fade Transition [url] It works great, and I'm hoping to add to the code to enhance the functionality. Currently, if I hover over the image, it runs the cross fade transition, which I would like to keep. I have another div on the page that I would like to trigger the first instance when hovered over as well. Is there a good way to add this?
I've run into a problem with swapping images for site navigation.The "hover" part works just fine, but the problem lies within the click part. When the user clicks the first thing that happens is to reset all of the images for all of the links, and then set the hover image for the link that was clicked. However it seems that after resetting all of the images 'src' attributes, the code for setting the link that was clicked either doesn't execute, or executes before the reset.
I'm using jquery to altertheopacity of images. I also want to give them a different color on mouse hover. I tried giving the div classcontainingthe images a background and thought the colorwouldshow through the opacity but itdoesn't.
The code I'm using is:
How can I use other properties thanopacity? Like color maybe
I'm testing out the cycle plugin, I wanted to have it so the slideshow would pause on hovering over both the pagination links and the image. With the below code right now only the bottom slideshow pauses on hovering over the links but does not pause on hovering over the images as the top slideshow does. I seem to be running into problems combining the two, can you take a look? I want to keep the previous and next links and for them to be functional also.
<!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>