Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8651073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:58:23+00:00 2026-06-12T13:58:23+00:00

I am using an jQuery plugin to overlay image effects on mouseover. since i

  • 0

I am using an jQuery plugin to overlay image effects on mouseover. since i don’t want to have them effects only shown by mouseover but directly when the site has loaded, I am trying to change that code:

//binding events for mouseover
$(this).parent().bind('click',function(){
    if(settings.hoverEffect=='normal')
    {
        ......

The tricky part is the:

$(this).parent().bind('click',function(){

I need a way to get rid of the ‘click’ function, I tried ‘ready’ but it doesn’t work. can anyone help me out with that? I basically just need the function to be run when the page has loaded, or even better the image the effect will be applied on (this).parent.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T13:58:24+00:00Added an answer on June 12, 2026 at 1:58 pm
    $(document).ready(function () {
        $(this).parent().bind('click',function(){
            if(settings.hoverEffect=='normal') {
                ......
            }
         });
         $(this).parent().trigger('click');
    });
    

    trigger immitates a click on the specified element and will trigger the function. Done this way you don’t have to create double up of the function

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im using fullcalendar jquery plugin in my web. i have a problem in which
I'm using jQuery validation plugin. I have two images: first background of label, when
I'm using Supersized jQuery plugin. My images are 1600x672 , but it always resize
I am using jQuery fullcalendar plugin , I have tried altering this many different
I am using Qtip jquery plugin for my tooltips and because I have many
I'm using SimpleModal plugin for Jquery and I have a weird problem with Firefox
I'm using the Overlay plugin from jQuery Tools: http://flowplayer.org/tools/overlay/index.html to display a full size
I'm using Jquery plugin DropShadow: web site And I want to set drop shadow
Here is what I have..I am using the jquery.FrameDialog plugin. When the dialog box
I have a multi-level mega menu on my site (using jquery plugin), however, when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.