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 8692375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:18:05+00:00 2026-06-13T00:18:05+00:00

I need to be able to ask users for help if they have been

  • 0

I need to be able to ask users for help if they have been sitting idle on my php site for at least 30 seconds. I have the popup made and styled. It is on a page that currently uses a button to show the popup(for testing purposes). But now I need to remove the button and put in place some kind of javascript or php to open the modal after 30 seconds of user inactivity.

Here is some of the page that has the button to display the modal popup (I’m assuming this is where I would tell the site to wait for inactivity):

<body onload="javascript:fg_hideform('fg_formContainer','fg_backgroundpopup');">
<p>
This is an example page showing how to add the popup contact form to your website.
Click on the button below to open the popup.
</p>
<p>
<a href='javascript:fg_popup_form("fg_formContainer", "fg_form_InnerContainer","fg_backgroundpopup");'>
<img border='0' src='contact-us-button.png' width='213' height='39' /></a>
</p>

The page also includes the 2 files necessary to show and submit the popup contact form. I will show the code for those if it is necessary. Thank you so much!

Note: I found this plugin: http://www.erichynds.com/jquery/a-new-and-improved-jquery-idle-timeout-plugin/ but I’m not sure how to use it to keep a modal from being disabled once the mouse moves. I need a user to be able to fill out the contact form so it can be submitted.

I also tried using some javascript code from another post on stackoverflow but I am really really bad with javascript and have no clue what to do here.

  • 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-13T00:18:06+00:00Added an answer on June 13, 2026 at 12:18 am

    does

    <script type="text/javascript">
       setTimeout(function() {
         fg_popup_form("fg_formContainer", "fg_form_InnerContainer","fg_backgroundpopup");
       }, 30000);
    }
    </script>
    

    solve the problem?

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

Sidebar

Related Questions

I have users with accounts on Site A. Site A has been around a
Users of the website need to able to store images in their area ,
I need to be able to create an id for a hyperlink. I have
I'm hoping someone have encountered this problem before and will be able to help
In my current project I need my users to be able to scroll over
I have been recently assigned a task in which I need to create a
Need to be able to pull Magento products into an external template. Need to
I need to be able to access a list throughout my Rails project. For
I need to be able to search through multiple 2D arrays and search the
I need to be able to strip out a condition in a string, here

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.