> Hi!!!
> Thank you for your reply!!
Please do not reply to me. Keep your reply on the mailing list so
everyone can benefit.
> Now I try with
>
> <html>
> <link href="/unnoba/css/style_interior.css" rel="stylesheet"
> type="text/css">
IIRC, link tags are best placed in the head, too.
> <head>
> <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
I said that "<!--" and "//-->" should be on their own lines, where did I
say to remove those things??
> function squirrelmail_loginpage_onload()
> {document.forms[0].js_autodetect_results.value = '1';
> document.forms[0].elements[0].focus(); }
> </script>
> </head>
> <body TEXT="#000000" LINK="#0000CC" VLINK="#0000CC" ALINK="#0000CC"
> onLoad="squirrelmail_loginpage_onload();">
>
> Works but, still appear an error usung IE 6 that say
> document.forms.0.js_autodetect_results is null or not an object
Then you might have other forms on your page. Give the form a name and
call it by name, or count the number of forms on your page and substitute
the correct number instead of zero.
=- paul
>
> Naty
>
>>From: p dont think <[EMAIL PROTECTED]>
>>To: Natalia Esteban <[EMAIL PROTECTED]>
>>CC: [EMAIL PROTECTED]
>>Subject: Re: [SM-USERS] Java script error
>>Date: Fri, 29 Oct 2004 16:49:32 -0700
>>
>> > Hi!!!
>> > I'm did some changes to my homepage to access squirrelmail from there
>> > with the following code
>> >
>> > <html>
>> > <link href="/sourp39/css/style.css" rel="stylesheet" type="text/css">
>> > <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
>> > <!--function squirrelmail_loginpage_onload()
>> > {document.forms[0].js_autodetect_results.value = '1';
>> > document.forms[0].elements[0].focus(); }// -->
>>
>>1) put <script> tags in <head>
>>
>>2) don't put it all on one line; "<!--" and "//-->" (without qutoes)
>>should both be on their own lines at the very least
>>
>> > </script>
>> > <body TEXT="#000000" LINK="#0000CC" VLINK="#0000CC" ALINK="#0000CC"
>> > onLoad="squirrelmail_loginpage_onload();">
>> > ..........
>> >
>> > It's working ok in Opera 7.2 and Netscape 7.2 but with internet
>> Explorer
>> > 5 and 6 the java script gives me error in the line <body
>> TEXT="#000000"
>> > LINK="#0000CC" VLINK="#0000CC" ALINK="#0000CC"
>> > onLoad="squirrelmail_loginpage_onload();">
>> > The error appear int the botton bar and say error on page. If I do
>> click
>> > I receive the message char(1) Object Expected.
>> >
>> > Any Idea?
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [EMAIL PROTECTED]
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users