Solved

JQuery MouseOver an image tag effect.

Posted on 2010-11-27
4
608 Views
Last Modified: 2012-06-27

I have img html tag and I want to simulate a user moving the mouse over the image when the page loads.

I tried this but it won't work, I'm I missing something?

 $('img_id').trigger('mouseover');
0
Comment
Question by:7of9121098
  • 2
4 Comments
 
LVL 3

Expert Comment

by:roynaufal
ID: 34225026
can you please explain a  bit more,didn't fully understand what you aim to do
0
 

Author Comment

by:7of9121098
ID: 34225985

 I have a couple of images on the form and when I move the mouse cursor over an image it opens up.
Therefore, when the page loads I want one of the images to open up. This is why I want to simulate a mouse over-event over the image.
0
 
LVL 3

Accepted Solution

by:
roynaufal earned 25 total points
ID: 34226495
ah ok, i see
well you can use this then:
$(document).ready(function() {
  // so you put the function yo want here, the one that is called when the onmouseover event happens on the image
});
 

Open in new window

0
 
LVL 6

Assisted Solution

by:blueghozt
blueghozt earned 25 total points
ID: 34234051
Hi show us the code for what happens on a normal mouseover event
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question