Solved

JQuery MouseOver an image tag effect.

Posted on 2010-11-27
4
612 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
This article discusses how to implement server side field validation and display customized error messages to the client.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

626 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