MLUG: Re: [MLUG] Javascript Code
Re: [MLUG] Javascript Code
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I may not have a direct answer to your question, but I might know where 
some code is.

Check the Horde project.  It's a web-based email/calendar/etc. 
framework that has some places where it does the same thing with 
Javascript.

Should be able to find it on sourceforge.

-N

On Jul 13, 2004, at 10:28 AM, F Vernon Green wrote:

> Hello Everyone,
>
> I have never really asked the list for much pertaining to Linux or web
> programming, so here is a shot at it.
>
> I need a javascript guru to help me out. I am writing a session timeout
> timer for a website. I have everything working just fine currently with
> setting the time out and such as that. What I need to do is trap for a 
> form
> in one of the frames of the page.
>
> Here is what it needs to do. I am starting a timer when the user first
> accesses the page. When the time goes off, a pop-up window opens and 
> asks
> the used to confirm if they want to stay online. If the user confirms 
> it
> will actually submit the form on this particular page.
>
> What I need to do is write the code to first look for the existence of 
> a
> form on the page that launched the pop-up. If a form exists, then 
> submit it,
> if there is no form, then refresh the page, restarting the timer.
>
> Like I said, the pop-up and the form submission actually works right 
> now,
> and I could easily write two pop-ups one for pages with forms, the 
> other
> without, but I would like to stay with one script that could trap for 
> both.
>
> Can anyone help? If you need more information let me know.
>
> _______________________________________________
> members mailing list
> EMAIL:PROTECTED
> http://mlug.missouri.edu/mailman/listinfo/members

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members