Solved

JQuery MouseOver an image tag effect.

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

739 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