|
 |
asptoday_discuss thread: Simple Form action
Message #1 by "Patrick Ames" <patrick00@n...> on Mon, 3 Dec 2001 21:38:35
|
|
Ok do not all laugh at once....
Can i heck for the life of me get a cursor to appear pre placed in the
text box on a form when a page is loaded.
IE User loads page with the form on with just one text box. I need the
cursor to be in the text box so all they need do is type and it will
appear in the text box, without them having to click in the box first.
Suggestions would be helpfull Even if it is to tell the people to get off
their backsides and click in the box lol
Thanks
Patrick
Message #2 by "Rich McQuaid" <remcq@m...> on Mon, 3 Dec 2001 16:35:04 -0500
|
|
This easy "nice-to-have" puts the cursor directly into the first input
field (first_name) when the form is displayed. Use the BODY onLoad
event, you can save your visitors a click of the mouse:
<BODY onLoad="document.forms[0].first_name.focus();">
-----Original Message-----
From: Patrick Ames [mailto:patrick00@n...]
Sent: Monday, December 03, 2001 9:39 PM
To: ASPToday Discuss
Subject: [asptoday_discuss] Simple Form action
Ok do not all laugh at once....
Can i heck for the life of me get a cursor to appear pre placed in the
text box on a form when a page is loaded.
IE User loads page with the form on with just one text box. I need the
cursor to be in the text box so all they need do is type and it will
appear in the text box, without them having to click in the box first.
Suggestions would be helpfull Even if it is to tell the people to get
off
their backsides and click in the box lol
Thanks
Patrick
$subst('Email.Unsub')
Message #3 by "Patrick" <patrick00@n...> on Mon, 3 Dec 2001 21:45:02 -0000
|
|
Thanks I appreciate that
----- Original Message -----
From: "Rich McQuaid" <remcq@m...>
To: "ASPToday Discuss" <asptoday_discuss@p...>
Sent: Monday, December 03, 2001 9:35 PM
Subject: [asptoday_discuss] RE: Simple Form action
> This easy "nice-to-have" puts the cursor directly into the first input
> field (first_name) when the form is displayed. Use the BODY onLoad
> event, you can save your visitors a click of the mouse:
>
>
> <BODY onLoad="document.forms[0].first_name.focus();">
>
>
> -----Original Message-----
> From: Patrick Ames [mailto:patrick00@n...]
> Sent: Monday, December 03, 2001 9:39 PM
> To: ASPToday Discuss
> Subject: [asptoday_discuss] Simple Form action
>
>
> Ok do not all laugh at once....
> Can i heck for the life of me get a cursor to appear pre placed in the
> text box on a form when a page is loaded.
> IE User loads page with the form on with just one text box. I need the
>
> cursor to be in the text box so all they need do is type and it will
> appear in the text box, without them having to click in the box first.
> Suggestions would be helpfull Even if it is to tell the people to get
> off
> their backsides and click in the box lol
> Thanks
> Patrick
>
> $subst('Email.Unsub')
>
>
patrick00@n...
$subst('Email.Unsub')
Message #4 by "Patrick" <patrick00@n...> on Mon, 3 Dec 2001 21:48:36 -0000
|
|
Thanks I am in the middle of creating my own Frames chat rooms and I needed
that for when the people were posting . It works well
Thanks again
Patrick
----- Original Message -----
From: "Rich McQuaid" <remcq@m...>
To: "ASPToday Discuss" <asptoday_discuss@p...>
Sent: Monday, December 03, 2001 9:35 PM
Subject: [asptoday_discuss] RE: Simple Form action
> This easy "nice-to-have" puts the cursor directly into the first input
> field (first_name) when the form is displayed. Use the BODY onLoad
> event, you can save your visitors a click of the mouse:
>
>
> <BODY onLoad="document.forms[0].first_name.focus();">
>
>
> -----Original Message-----
> From: Patrick Ames [mailto:patrick00@n...]
> Sent: Monday, December 03, 2001 9:39 PM
> To: ASPToday Discuss
> Subject: [asptoday_discuss] Simple Form action
>
>
> Ok do not all laugh at once....
> Can i heck for the life of me get a cursor to appear pre placed in the
> text box on a form when a page is loaded.
> IE User loads page with the form on with just one text box. I need the
>
> cursor to be in the text box so all they need do is type and it will
> appear in the text box, without them having to click in the box first.
> Suggestions would be helpfull Even if it is to tell the people to get
> off
> their backsides and click in the box lol
> Thanks
> Patrick
>
> $subst('Email.Unsub')
>
>
patrick00@n...
$subst('Email.Unsub')
Message #5 by "Louis T Kklauder Jr" <lklauder@w...> on Mon, 3 Dec 2001 16:51:44 -0500
|
|
Hi Pat;
I had similar problem with exception that I needed to be able to alter
which text box the focus would be placed in on page activation. I
received help as follows:
<script event="onload()" for="window">
// following based on tip from Leena Natekar via Wrox,
aspx_professional
if ( document.all["ddown_user_role_name"] == null )
{
document.all["tbox_user_id"].focus("true") ;
}
else
{
document.all["ddown_user_role_name"].focus("true") ;
}
</script>
Hope that helps
Lou Klauder
-----Original Message-----
From: Patrick Ames [mailto:patrick00@n...]
Sent: Monday, December 03, 2001 9:39 PM
To: ASPToday Discuss
Subject: [asptoday_discuss] Simple Form action
Ok do not all laugh at once....
Can i heck for the life of me get a cursor to appear pre placed in the
text box on a form when a page is loaded.
IE User loads page with the form on with just one text box. I need the
cursor to be in the text box so all they need do is type and it will
appear in the text box, without them having to click in the box first.
Suggestions would be helpfull Even if it is to tell the people to get
off
their backsides and click in the box lol
Thanks
Patrick
$subst('Email.Unsub')
Message #6 by "Rich McQuaid" <remcq@m...> on Mon, 3 Dec 2001 16:52:58 -0500
|
|
Anytime Patrick. I found that one on www.sitepoint.com. They have lots
design ideas. Good luck with the chat room. I hope it's a paying gig!
-----Original Message-----
From: Patrick [mailto:patrick00@n...]
Sent: Monday, December 03, 2001 4:49 PM
To: ASPToday Discuss
Subject: [asptoday_discuss] RE: Simple Form action
Thanks I am in the middle of creating my own Frames chat rooms and I
needed that for when the people were posting . It works well Thanks
again Patrick
----- Original Message -----
From: "Rich McQuaid" <remcq@m...>
To: "ASPToday Discuss" <asptoday_discuss@p...>
Sent: Monday, December 03, 2001 9:35 PM
Subject: [asptoday_discuss] RE: Simple Form action
> This easy "nice-to-have" puts the cursor directly into the first input
> field (first_name) when the form is displayed. Use the BODY onLoad
> event, you can save your visitors a click of the mouse:
>
>
> <BODY onLoad="document.forms[0].first_name.focus();">
>
>
> -----Original Message-----
> From: Patrick Ames [mailto:patrick00@n...]
> Sent: Monday, December 03, 2001 9:39 PM
> To: ASPToday Discuss
> Subject: [asptoday_discuss] Simple Form action
>
>
> Ok do not all laugh at once....
> Can i heck for the life of me get a cursor to appear pre placed in the
> text box on a form when a page is loaded.
> IE User loads page with the form on with just one text box. I need
the
>
> cursor to be in the text box so all they need do is type and it will
> appear in the text box, without them having to click in the box first.
> Suggestions would be helpfull Even if it is to tell the people to get
> off their backsides and click in the box lol
> Thanks
> Patrick
>
> remcq@m...
> $subst('Email.Unsub')
>
>
patrick00@n...
$subst('Email.Unsub')
$subst('Email.Unsub')
Message #7 by "Patrick" <patrick00@n...> on Mon, 3 Dec 2001 22:11:16 -0000
|
|
LMAo no I am an old chatter from the GLOBE chat site I have designed one
that is free to use and free from all those adds. The java chat interface
goes online in about 5 weeks The Frames chat is open for trials this week.
No codes pinched all my own so I am hoping it all goes well. I have used sql
for the design and run it through tables and session variables. If you ever
want to take a look you can find it at http://members.palmcomputinguk.com
Suggestions most welcome. At present I am learning about FileSysObject as I
want the chat to be written to a file and then displayed on refresh But
apart from writing to it it also has to delete any entries over 5 mins old.
I think this may be a better way then calling from a database all the time.
I will get there If I get stuck I will always of course ask for help in the
forums
Regards
Patrick
----- Original Message -----
From: "Rich McQuaid" <remcq@m...>
To: "ASPToday Discuss" <asptoday_discuss@p...>
Sent: Monday, December 03, 2001 9:52 PM
Subject: [asptoday_discuss] RE: Simple Form action
> Anytime Patrick. I found that one on www.sitepoint.com. They have lots
> design ideas. Good luck with the chat room. I hope it's a paying gig!
>
>
> -----Original Message-----
> From: Patrick [mailto:patrick00@n...]
> Sent: Monday, December 03, 2001 4:49 PM
> To: ASPToday Discuss
> Subject: [asptoday_discuss] RE: Simple Form action
>
>
> Thanks I am in the middle of creating my own Frames chat rooms and I
> needed that for when the people were posting . It works well Thanks
> again Patrick
>
> ----- Original Message -----
> From: "Rich McQuaid" <remcq@m...>
> To: "ASPToday Discuss" <asptoday_discuss@p...>
> Sent: Monday, December 03, 2001 9:35 PM
> Subject: [asptoday_discuss] RE: Simple Form action
>
>
> > This easy "nice-to-have" puts the cursor directly into the first input
>
> > field (first_name) when the form is displayed. Use the BODY onLoad
> > event, you can save your visitors a click of the mouse:
> >
> >
> > <BODY onLoad="document.forms[0].first_name.focus();">
> >
> >
> > -----Original Message-----
> > From: Patrick Ames [mailto:patrick00@n...]
> > Sent: Monday, December 03, 2001 9:39 PM
> > To: ASPToday Discuss
> > Subject: [asptoday_discuss] Simple Form action
> >
> >
> > Ok do not all laugh at once....
> > Can i heck for the life of me get a cursor to appear pre placed in the
>
> > text box on a form when a page is loaded.
> > IE User loads page with the form on with just one text box. I need
> the
> >
> > cursor to be in the text box so all they need do is type and it will
> > appear in the text box, without them having to click in the box first.
>
> > Suggestions would be helpfull Even if it is to tell the people to get
> > off their backsides and click in the box lol
> > Thanks
> > Patrick
> >
> > remcq@m...
> > $subst('Email.Unsub')
> >
> >
> patrick00@n...
> $subst('Email.Unsub')
>
>
> $subst('Email.Unsub')
>
>
patrick00@n...
$subst('Email.Unsub')
>
Message #8 by "Patrick" <patrick00@n...> on Mon, 3 Dec 2001 22:35:43 -0000
|
|
Hi Rich
Are you any good with session variables?
----- Original Message -----
From: "Rich McQuaid" <remcq@m...>
To: "ASPToday Discuss" <asptoday_discuss@p...>
Sent: Monday, December 03, 2001 9:52 PM
Subject: [asptoday_discuss] RE: Simple Form action
> Anytime Patrick. I found that one on www.sitepoint.com. They have lots
> design ideas. Good luck with the chat room. I hope it's a paying gig!
>
>
> -----Original Message-----
> From: Patrick [mailto:patrick00@n...]
> Sent: Monday, December 03, 2001 4:49 PM
> To: ASPToday Discuss
> Subject: [asptoday_discuss] RE: Simple Form action
>
>
> Thanks I am in the middle of creating my own Frames chat rooms and I
> needed that for when the people were posting . It works well Thanks
> again Patrick
>
> ----- Original Message -----
> From: "Rich McQuaid" <remcq@m...>
> To: "ASPToday Discuss" <asptoday_discuss@p...>
> Sent: Monday, December 03, 2001 9:35 PM
> Subject: [asptoday_discuss] RE: Simple Form action
>
>
> > This easy "nice-to-have" puts the cursor directly into the first input
>
> > field (first_name) when the form is displayed. Use the BODY onLoad
> > event, you can save your visitors a click of the mouse:
> >
> >
> > <BODY onLoad="document.forms[0].first_name.focus();">
> >
> >
> > -----Original Message-----
> > From: Patrick Ames [mailto:patrick00@n...]
> > Sent: Monday, December 03, 2001 9:39 PM
> > To: ASPToday Discuss
> > Subject: [asptoday_discuss] Simple Form action
> >
> >
> > Ok do not all laugh at once....
> > Can i heck for the life of me get a cursor to appear pre placed in the
>
> > text box on a form when a page is loaded.
> > IE User loads page with the form on with just one text box. I need
> the
> >
> > cursor to be in the text box so all they need do is type and it will
> > appear in the text box, without them having to click in the box first.
>
> > Suggestions would be helpfull Even if it is to tell the people to get
> > off their backsides and click in the box lol
> > Thanks
> > Patrick
> >
> > remcq@m...
> > $subst('Email.Unsub')
> >
> >
> patrick00@n...
> $subst('Email.Unsub')
>
>
> $subst('Email.Unsub')
>
>
patrick00@n...
$subst('Email.Unsub')
>
Message #9 by "Rich McQuaid" <remcq@m...> on Tue, 4 Dec 2001 11:55:30 -0500
|
|
I know how to use them. Are you having problems with them?
-----Original Message-----
From: Patrick [mailto:patrick00@n...]
Sent: Monday, December 03, 2001 5:36 PM
To: ASPToday Discuss
Subject: [asptoday_discuss] RE: Simple Form action
Hi Rich
Are you any good with session variables?
----- Original Message -----
From: "Rich McQuaid" <remcq@m...>
To: "ASPToday Discuss" <asptoday_discuss@p...>
Sent: Monday, December 03, 2001 9:52 PM
Subject: [asptoday_discuss] RE: Simple Form action
> Anytime Patrick. I found that one on www.sitepoint.com. They have lots
> design ideas. Good luck with the chat room. I hope it's a paying
> gig!
>
>
> -----Original Message-----
> From: Patrick [mailto:patrick00@n...]
> Sent: Monday, December 03, 2001 4:49 PM
> To: ASPToday Discuss
> Subject: [asptoday_discuss] RE: Simple Form action
>
>
> Thanks I am in the middle of creating my own Frames chat rooms and I
> needed that for when the people were posting . It works well Thanks
> again Patrick
>
> ----- Original Message -----
> From: "Rich McQuaid" <remcq@m...>
> To: "ASPToday Discuss" <asptoday_discuss@p...>
> Sent: Monday, December 03, 2001 9:35 PM
> Subject: [asptoday_discuss] RE: Simple Form action
>
>
> > This easy "nice-to-have" puts the cursor directly into the first
> > input
>
> > field (first_name) when the form is displayed. Use the BODY onLoad
> > event, you can save your visitors a click of the mouse:
> >
> >
> > <BODY onLoad="document.forms[0].first_name.focus();">
> >
> >
> > -----Original Message-----
> > From: Patrick Ames [mailto:patrick00@n...]
> > Sent: Monday, December 03, 2001 9:39 PM
> > To: ASPToday Discuss
> > Subject: [asptoday_discuss] Simple Form action
> >
> >
> > Ok do not all laugh at once....
> > Can i heck for the life of me get a cursor to appear pre placed in
> > the
>
> > text box on a form when a page is loaded.
> > IE User loads page with the form on with just one text box. I need
> the
> >
> > cursor to be in the text box so all they need do is type and it will
> > appear in the text box, without them having to click in the box
> > first.
>
> > Suggestions would be helpfull Even if it is to tell the people to
> > get off their backsides and click in the box lol Thanks
> > Patrick
> >
> > remcq@m...
> > $subst('Email.Unsub')
> >
> >
> patrick00@n...
> $subst('Email.Unsub')
>
>
> remcq@m...
> $subst('Email.Unsub')
>
>
patrick00@n...
$subst('Email.Unsub')
>
$subst('Email.Unsub')
Message #10 by "Patrick" <patrick00@n...> on Tue, 4 Dec 2001 19:19:47 -0000
|
|
Hi Rich
Not so much a problem as more in terminating them.
I know the session("name").Abandon works.
My problem being that when a user moves from the chat site to another part
of the site they have two sessions running to display there username the
room they are in
I need to know the following which is giving me a little difficulty.
when they click on a link other than in chat I need to terminate the room
session and write to the database that they have left the site. Also if the
either close the browser or just type a new url in the address bar and leave
I need to know how to detect this and do the same. Close the sessions and
write to the database.
Any ideas?
Thanks
Patrick
----- Original Message -----
From: "Rich McQuaid" <remcq@m...>
To: "ASPToday Discuss" <asptoday_discuss@p...>
Sent: Tuesday, December 04, 2001 4:55 PM
Subject: [asptoday_discuss] RE: Simple Form action
> I know how to use them. Are you having problems with them?
>
> -----Original Message-----
> From: Patrick [mailto:patrick00@n...]
> Sent: Monday, December 03, 2001 5:36 PM
> To: ASPToday Discuss
> Subject: [asptoday_discuss] RE: Simple Form action
>
>
> Hi Rich
> Are you any good with session variables?
>
> ----- Original Message -----
> From: "Rich McQuaid" <remcq@m...>
> To: "ASPToday Discuss" <asptoday_discuss@p...>
> Sent: Monday, December 03, 2001 9:52 PM
> Subject: [asptoday_discuss] RE: Simple Form action
>
>
> > Anytime Patrick. I found that one on www.sitepoint.com. They have lots
>
> > design ideas. Good luck with the chat room. I hope it's a paying
> > gig!
> >
> >
> > -----Original Message-----
> > From: Patrick [mailto:patrick00@n...]
> > Sent: Monday, December 03, 2001 4:49 PM
> > To: ASPToday Discuss
> > Subject: [asptoday_discuss] RE: Simple Form action
> >
> >
> > Thanks I am in the middle of creating my own Frames chat rooms and I
> > needed that for when the people were posting . It works well Thanks
> > again Patrick
> >
> > ----- Original Message -----
> > From: "Rich McQuaid" <remcq@m...>
> > To: "ASPToday Discuss" <asptoday_discuss@p...>
> > Sent: Monday, December 03, 2001 9:35 PM
> > Subject: [asptoday_discuss] RE: Simple Form action
> >
> >
> > > This easy "nice-to-have" puts the cursor directly into the first
> > > input
> >
> > > field (first_name) when the form is displayed. Use the BODY onLoad
> > > event, you can save your visitors a click of the mouse:
> > >
> > >
> > > <BODY onLoad="document.forms[0].first_name.focus();">
> > >
> > >
> > > -----Original Message-----
> > > From: Patrick Ames [mailto:patrick00@n...]
> > > Sent: Monday, December 03, 2001 9:39 PM
> > > To: ASPToday Discuss
> > > Subject: [asptoday_discuss] Simple Form action
> > >
> > >
> > > Ok do not all laugh at once....
> > > Can i heck for the life of me get a cursor to appear pre placed in
> > > the
> >
> > > text box on a form when a page is loaded.
> > > IE User loads page with the form on with just one text box. I need
> > the
> > >
> > > cursor to be in the text box so all they need do is type and it will
>
> > > appear in the text box, without them having to click in the box
> > > first.
> >
> > > Suggestions would be helpfull Even if it is to tell the people to
> > > get off their backsides and click in the box lol Thanks
> > > Patrick
> > >
> > > remcq@m...
> > > $subst('Email.Unsub')
> > >
> > >
> > patrick00@n...
> > $subst('Email.Unsub')
> >
> >
> > remcq@m...
> > $subst('Email.Unsub')
> >
> >
> patrick00@n...
> $subst('Email.Unsub')
> >
>
>
> $subst('Email.Unsub')
>
>
patrick00@n...
$subst('Email.Unsub')
Message #11 by "Jason Salas" <jason@k...> on Wed, 5 Dec 2001 19:38:21 +1000
|
|
You could use a boolean value to check if the user is in the room or
not...being "true" when they're logged in and "false" once they leave.
Something like including a "Logout of the chatroom!" hyperlink in the chat
app.
HTH,
Jason
----- Original Message -----
From: "Patrick" <patrick00@n...>
To: "ASPToday Discuss" <asptoday_discuss@p...>
Sent: Wednesday, December 05, 2001 5:19 AM
Subject: [asptoday_discuss] RE: Simple Form action
> Hi Rich
> Not so much a problem as more in terminating them.
>
> I know the session("name").Abandon works.
> My problem being that when a user moves from the chat site to another part
> of the site they have two sessions running to display there username the
> room they are in
> I need to know the following which is giving me a little difficulty.
>
> when they click on a link other than in chat I need to terminate the room
> session and write to the database that they have left the site. Also if
the
> either close the browser or just type a new url in the address bar and
leave
> I need to know how to detect this and do the same. Close the sessions and
> write to the database.
> Any ideas?
> Thanks
> Patrick
> ----- Original Message -----
> From: "Rich McQuaid" <remcq@m...>
> To: "ASPToday Discuss" <asptoday_discuss@p...>
> Sent: Tuesday, December 04, 2001 4:55 PM
> Subject: [asptoday_discuss] RE: Simple Form action
>
>
> > I know how to use them. Are you having problems with them?
> >
> > -----Original Message-----
> > From: Patrick [mailto:patrick00@n...]
> > Sent: Monday, December 03, 2001 5:36 PM
> > To: ASPToday Discuss
> > Subject: [asptoday_discuss] RE: Simple Form action
> >
> >
> > Hi Rich
> > Are you any good with session variables?
> >
> > ----- Original Message -----
> > From: "Rich McQuaid" <remcq@m...>
> > To: "ASPToday Discuss" <asptoday_discuss@p...>
> > Sent: Monday, December 03, 2001 9:52 PM
> > Subject: [asptoday_discuss] RE: Simple Form action
> >
> >
> > > Anytime Patrick. I found that one on www.sitepoint.com. They have lots
> >
> > > design ideas. Good luck with the chat room. I hope it's a paying
> > > gig!
> > >
> > >
> > > -----Original Message-----
> > > From: Patrick [mailto:patrick00@n...]
> > > Sent: Monday, December 03, 2001 4:49 PM
> > > To: ASPToday Discuss
> > > Subject: [asptoday_discuss] RE: Simple Form action
> > >
> > >
> > > Thanks I am in the middle of creating my own Frames chat rooms and I
> > > needed that for when the people were posting . It works well Thanks
> > > again Patrick
> > >
> > > ----- Original Message -----
> > > From: "Rich McQuaid" <remcq@m...>
> > > To: "ASPToday Discuss" <asptoday_discuss@p...>
> > > Sent: Monday, December 03, 2001 9:35 PM
> > > Subject: [asptoday_discuss] RE: Simple Form action
> > >
> > >
> > > > This easy "nice-to-have" puts the cursor directly into the first
> > > > input
> > >
> > > > field (first_name) when the form is displayed. Use the BODY onLoad
> > > > event, you can save your visitors a click of the mouse:
> > > >
> > > >
> > > > <BODY onLoad="document.forms[0].first_name.focus();">
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Patrick Ames [mailto:patrick00@n...]
> > > > Sent: Monday, December 03, 2001 9:39 PM
> > > > To: ASPToday Discuss
> > > > Subject: [asptoday_discuss] Simple Form action
> > > >
> > > >
> > > > Ok do not all laugh at once....
> > > > Can i heck for the life of me get a cursor to appear pre placed in
> > > > the
> > >
> > > > text box on a form when a page is loaded.
> > > > IE User loads page with the form on with just one text box. I need
> > > the
> > > >
> > > > cursor to be in the text box so all they need do is type and it will
> >
> > > > appear in the text box, without them having to click in the box
> > > > first.
> > >
> > > > Suggestions would be helpfull Even if it is to tell the people to
> > > > get off their backsides and click in the box lol Thanks
> > > > Patrick
> > > >
> > > > remcq@m...
> > > > $subst('Email.Unsub')
> > > >
> > > >
> > > patrick00@n...
> > > $subst('Email.Unsub')
> > >
> > >
> > > remcq@m...
> > > $subst('Email.Unsub')
> > >
> > >
> > patrick00@n...
> > $subst('Email.Unsub')
> > >
> >
> >
> > $subst('Email.Unsub')
> >
> >
> patrick00@n...
> $subst('Email.Unsub')
>
>
$subst('Email.Unsub')
>
Message #12 by "Jason Salas" <jason@k...> on Wed, 5 Dec 2001 19:16:04 +1000
|
|
Hi Patrick,
Here's a quick reference guide on how to use Session variables in ASP.
http://www.devguru.com/Technologies/asp/quickref/session.html
If you need something specific, just let me know.
HTH,
Jason
----- Original Message -----
From: "Rich McQuaid" <remcq@m...>
To: "ASPToday Discuss" <asptoday_discuss@p...>
Sent: Wednesday, December 05, 2001 2:55 AM
Subject: [asptoday_discuss] RE: Simple Form action
> I know how to use them. Are you having problems with them?
>
> -----Original Message-----
> From: Patrick [mailto:patrick00@n...]
> Sent: Monday, December 03, 2001 5:36 PM
> To: ASPToday Discuss
> Subject: [asptoday_discuss] RE: Simple Form action
>
>
> Hi Rich
> Are you any good with session variables?
>
> ----- Original Message -----
> From: "Rich McQuaid" <remcq@m...>
> To: "ASPToday Discuss" <asptoday_discuss@p...>
> Sent: Monday, December 03, 2001 9:52 PM
> Subject: [asptoday_discuss] RE: Simple Form action
>
>
> > Anytime Patrick. I found that one on www.sitepoint.com. They have lots
>
> > design ideas. Good luck with the chat room. I hope it's a paying
> > gig!
> >
> >
> > -----Original Message-----
> > From: Patrick [mailto:patrick00@n...]
> > Sent: Monday, December 03, 2001 4:49 PM
> > To: ASPToday Discuss
> > Subject: [asptoday_discuss] RE: Simple Form action
> >
> >
> > Thanks I am in the middle of creating my own Frames chat rooms and I
> > needed that for when the people were posting . It works well Thanks
> > again Patrick
> >
> > ----- Original Message -----
> > From: "Rich McQuaid" <remcq@m...>
> > To: "ASPToday Discuss" <asptoday_discuss@p...>
> > Sent: Monday, December 03, 2001 9:35 PM
> > Subject: [asptoday_discuss] RE: Simple Form action
> >
> >
> > > This easy "nice-to-have" puts the cursor directly into the first
> > > input
> >
> > > field (first_name) when the form is displayed. Use the BODY onLoad
> > > event, you can save your visitors a click of the mouse:
> > >
> > >
> > > <BODY onLoad="document.forms[0].first_name.focus();">
> > >
> > >
> > > -----Original Message-----
> > > From: Patrick Ames [mailto:patrick00@n...]
> > > Sent: Monday, December 03, 2001 9:39 PM
> > > To: ASPToday Discuss
> > > Subject: [asptoday_discuss] Simple Form action
> > >
> > >
> > > Ok do not all laugh at once....
> > > Can i heck for the life of me get a cursor to appear pre placed in
> > > the
> >
> > > text box on a form when a page is loaded.
> > > IE User loads page with the form on with just one text box. I need
> > the
> > >
> > > cursor to be in the text box so all they need do is type and it will
>
> > > appear in the text box, without them having to click in the box
> > > first.
> >
> > > Suggestions would be helpfull Even if it is to tell the people to
> > > get off their backsides and click in the box lol Thanks
> > > Patrick
> > >
> > > remcq@m...
> > > $subst('Email.Unsub')
> > >
> > >
> > patrick00@n...
> > $subst('Email.Unsub')
> >
> >
> > remcq@m...
> > $subst('Email.Unsub')
> >
> >
> patrick00@n...
> $subst('Email.Unsub')
> >
>
>
> $subst('Email.Unsub')
>
>
$subst('Email.Unsub')
>
Message #13 by "Rich McQuaid" <remcq@m...> on Thu, 6 Dec 2001 12:38:43 -0500
|
|
Patrick,
I think the best thing you can do is set the session.timeout property
and create a Session_OnEnd subroutine in your Global.asa file and write
to the database from there.
The problem is that browser sessions are independent and not aware of
eachother, so you will never be able to know if the user toggles to
another instance of IE. The Session_OnEnd subroutine will fire if the
user closes the browser window though.
Rich
-----Original Message-----
From: Patrick [mailto:patrick00@n...]
Sent: Tuesday, December 04, 2001 2:20 PM
To: ASPToday Discuss
Subject: [asptoday_discuss] RE: Simple Form action
Hi Rich
Not so much a problem as more in terminating them.
I know the session("name").Abandon works.
My problem being that when a user moves from the chat site to another
part of the site they have two sessions running to display there
username the room they are in I need to know the following which is
giving me a little difficulty.
when they click on a link other than in chat I need to terminate the
room session and write to the database that they have left the site.
Also if the either close the browser or just type a new url in the
address bar and leave I need to know how to detect this and do the same.
Close the sessions and write to the database. Any ideas? Thanks Patrick
----- Original Message -----
From: "Rich McQuaid" <remcq@m...>
To: "ASPToday Discuss" <asptoday_discuss@p...>
Sent: Tuesday, December 04, 2001 4:55 PM
Subject: [asptoday_discuss] RE: Simple Form action
> I know how to use them. Are you having problems with them?
>
> -----Original Message-----
> From: Patrick [mailto:patrick00@n...]
> Sent: Monday, December 03, 2001 5:36 PM
> To: ASPToday Discuss
> Subject: [asptoday_discuss] RE: Simple Form action
>
>
> Hi Rich
> Are you any good with session variables?
>
> ----- Original Message -----
> From: "Rich McQuaid" <remcq@m...>
> To: "ASPToday Discuss" <asptoday_discuss@p...>
> Sent: Monday, December 03, 2001 9:52 PM
> Subject: [asptoday_discuss] RE: Simple Form action
>
>
> > Anytime Patrick. I found that one on www.sitepoint.com. They have
> > lots
>
> > design ideas. Good luck with the chat room. I hope it's a paying
> > gig!
> >
> >
> > -----Original Message-----
> > From: Patrick [mailto:patrick00@n...]
> > Sent: Monday, December 03, 2001 4:49 PM
> > To: ASPToday Discuss
> > Subject: [asptoday_discuss] RE: Simple Form action
> >
> >
> > Thanks I am in the middle of creating my own Frames chat rooms and I
> > needed that for when the people were posting . It works well Thanks
> > again Patrick
> >
> > ----- Original Message -----
> > From: "Rich McQuaid" <remcq@m...>
> > To: "ASPToday Discuss" <asptoday_discuss@p...>
> > Sent: Monday, December 03, 2001 9:35 PM
> > Subject: [asptoday_discuss] RE: Simple Form action
> >
> >
> > > This easy "nice-to-have" puts the cursor directly into the first
> > > input
> >
> > > field (first_name) when the form is displayed. Use the BODY onLoad
> > > event, you can save your visitors a click of the mouse:
> > >
> > >
> > > <BODY onLoad="document.forms[0].first_name.focus();">
> > >
> > >
> > > -----Original Message-----
> > > From: Patrick Ames [mailto:patrick00@n...]
> > > Sent: Monday, December 03, 2001 9:39 PM
> > > To: ASPToday Discuss
> > > Subject: [asptoday_discuss] Simple Form action
> > >
> > >
> > > Ok do not all laugh at once....
> > > Can i heck for the life of me get a cursor to appear pre placed in
> > > the
> >
> > > text box on a form when a page is loaded.
> > > IE User loads page with the form on with just one text box. I
need
> > the
> > >
> > > cursor to be in the text box so all they need do is type and it
> > > will
>
> > > appear in the text box, without them having to click in the box
> > > first.
> >
> > > Suggestions would be helpfull Even if it is to tell the people to
> > > get off their backsides and click in the box lol Thanks Patrick
> > >
> > > remcq@m...
> > > $subst('Email.Unsub')
> > >
> > >
> > patrick00@n...
> > $subst('Email.Unsub')
> >
> >
> > remcq@m...
> > $subst('Email.Unsub')
> >
> >
> patrick00@n...
> $subst('Email.Unsub')
> >
>
>
> remcq@m...
> $subst('Email.Unsub')
>
>
patrick00@n...
$subst('Email.Unsub')
$subst('Email.Unsub')
|
|
 |