Solved

JQuery MouseOver an image tag effect.

Posted on 2010-11-27
4
602 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Hello World !, Thanks : My Sincere thanks to @Michael Male who encouraged me to write an article on this in my  blog (http://scribblejava.wordpress.com). Introduction:       There are several technical issues a developer may face in his…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now