Another (MINOR) thing (just tell me if I need to get off this list and onto
a Basic Web Design list) is that I would like to not have the Options menu
ever be open by default when they click to the menu page (even if they left
it open the last time they logged out).  Is that an iMail tag issue or am I
just really behind on web design?

-Curtis Faulkner (iMail newbie and potential customer)


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, May 08, 2000 12:47 PM
To: [EMAIL PROTECTED]
Subject: Re: [IMail Forum] Potential puchase of iMail


> > I also found that I wanted to have this functionality.  Since I know
> > a bit about web stuff, I added a JavaScript function to the "mailbox
> > summary" page to switch to the main mailbox page when the user logs
> > on.  It wasn't too difficult to do.

> Really.... How did you do that? Sounds like a cool function to me..

On the MENU.HTML (which you go to directly after the logon page), in the
<SCRIPT> section at the top of the page, I added:

  if ( ( document.referrer.indexOf( "8383" ) == document.referrer.length -
5 ) ||
       ( document.referrer.indexOf( "8383/login." ) > -1 ) )
  {
    document.location.href =
'readmail.<!--IMAIL.Number-->.cgi?uid=<!--IMAIL.UserID-->&mbx=Main';
  }

It looks at the page the user just came from (document.referrer) to see if
they came from the logon page; if so, it redirects them to the main mailbox.
If you use a different port, or do something other than have the user log on
through the IMail logon page, it may need to be changed a bit.
                             -Scott

Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

Reply via email to