[Javascript] Javascript digest, Vol 1 #476 - 8 msgs

sandra_tibbs at abicon.com sandra_tibbs at abicon.com
Tue Dec 17 11:40:47 CST 2002


(Embedded image moved to file: pic28009.jpg)
Send Javascript mailing list submissions to
      javascript at LaTech.edu

To subscribe or unsubscribe via the World Wide Web, visit
      https://lists.LaTech.edu/mailman/listinfo/javascript
or, via email, send a message with subject or body 'help' to
      javascript-request at LaTech.edu

You can reach the person managing the list at
      javascript-admin at LaTech.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Javascript digest..."


Today's Topics:

   1. question
parent.pagenavigator.document.location.replace('blank_tabfield.htm');
(Maria Lambert)
   2. Window coordinates in Netscape (Victor Papp)
   3. Quashing Email Spiders (vindaloo at pixieparlour.com)
   4. Re: Quashing Email Spiders (Peter Brunone)
   5. dynamically changing CSS in NN4.7 (Lau)
   6. Re: dynamically changing CSS in NN4.7 (Peter-Paul Koch)
   7. Re: Window coordinates in Netscape (Peter-Paul Koch)
   8. Re: Window coordinates in Netscape (.ben)

--__--__--

Message: 1
Date: Wed, 5 Dec 2001 10:00:15 -0800 (PST)
From: Maria Lambert <mllam_98 at yahoo.com>
To: javascript at LaTech.edu
Subject: [Javascript] question
parent.pagenavigator.document.location.replace('blank_tabfield.htm');
Reply-To: javascript at LaTech.edu

We use this piece of code to replace a page inside of
a frame the problem we are running into is sometimes
when a page is loading everything comes up but the
status bar at the bottom keeps creeping along and the
blue bar never stops creeping. You can do anything you
want on the pages but it gives the appearence that it
is not done loading. This code is used all over the
page but it only does the status bar thing sometimes
we are not even sure if it is directly related to this
piece of code. Does anyone know why this is happening

parent.pagenavigator.document.location.replace('blank_tabfield.htm');

__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

--__--__--

Message: 2
From: "Victor Papp" <victorpapp at yahoo.com>
To: <javascript at latech.edu>
Date: Wed, 5 Dec 2001 19:55:19 +0200
Subject: [Javascript] Window coordinates in Netscape
Reply-To: javascript at LaTech.edu

This is a multi-part message in MIME format.

------=_NextPart_000_0023_01C17DC6.C45ADBD0
Content-Type: text/plain;
      charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

I am trying to determine the current position of the browser's window on =
the screen.
For IE I use

this.screenLeft and this.screenTop

But how to deal with Netscape? Is it possible at all?

Thanks in advance,
Victor Papp

------=_NextPart_000_0023_01C17DC6.C45ADBD0
Content-Type: text/html;
      charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dkoi8-r" http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Arial CYR" size=3D2>I am trying to determine the =
current position=20
of the browser's window on the screen.</FONT></DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>For IE I use</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>this.screenLeft and=20
this.screenTop</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>But how to deal with Netscape? Is =
it possible=20
at all?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>Victor =
Papp</FONT></DIV></BODY></HTML>

------=_NextPart_000_0023_01C17DC6.C45ADBD0--


--__--__--

Message: 3
Date: Wed, 05 Dec 2001 12:45:52 -0800
From: vindaloo at pixieparlour.com
To: Javascript <javascript at LaTech.edu>
Subject: [Javascript] Quashing Email Spiders
Reply-To: javascript at LaTech.edu

> This message is in MIME format. Since your mail reader does not
understand
this format, some or all of this message may not be legible.

--Boundary_(ID_Elfo0rN4I/PwVZpVJp5mIQ)
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT

Hi Group!

I've just recently joined and thought I'd introduce myself, before asking a
question.  My name is Kyla and I'm a web designer.  I run my own web design
company in British Columbia, Canada and have been designing for the web for
about four years now.  I'm not really a coder, but I like to understand the
basics of how something works, and so here I am ready to soak up all your
knowledage about javascript!

I just found some nifty code for hiding email addresses (thanks to
netmechanic) from Email Spiders.  The only problems is that it uses HTML
text links and I'm using a link from an image.  The code is this:

<p>Send your comments and questions to our
<script language=javascript>
<!--
var contact = "Newsletter Editor"
var email = "news"
var emailHost = "netmechanic.com"
document.write("<a href=" + "mail" + "to:" + email + "@" + emailHost+ ">"+
contact + "</a>" + ".")
//-->
</script>
</p>

Can you tell me if it'll still work if I take out the line that states:

var contact = "Newsletter Editor"

as this creates an HTML link on my page?

TIA and have a sunny day,

Kyla Phillips  :o)
the pixie parlour
www.pixieparlour.com


--Boundary_(ID_Elfo0rN4I/PwVZpVJp5mIQ)
Content-type: text/html; charset=US-ASCII
Content-transfer-encoding: 7BIT

<HTML>
<HEAD>
<TITLE>Quashing Email Spiders</TITLE>
</HEAD>
<BODY>
<FONT SIZE="2">Hi Group!<BR>
<BR>
I've just recently joined and thought I'd introduce myself, before asking
a<BR>
question. &nbsp;My name is Kyla and I'm a web designer. &nbsp;I run my own
web design<BR>
company in British Columbia, Canada and have been designing for the web
for<BR>
about four years now. &nbsp;I'm not really a coder, but I like to
understand the<BR>
basics of how something works, and so here I am ready to soak up all
your<BR>
knowledage about javascript!<BR>
<BR>
I just found some nifty code for hiding email addresses (thanks to<BR>
netmechanic) from Email Spiders. &nbsp;The only problems is that it uses
HTML<BR>
text links and I'm using a link from an image. &nbsp;The code is this:<BR>
<BR>
&lt;p&gt;Send your comments and questions to our<BR>
&lt;script language=javascript&gt;<BR>
&lt;!--<BR>
var contact = &quot;Newsletter Editor&quot;<BR>
var email = &quot;news&quot;<BR>
var emailHost = &quot;netmechanic.com&quot;<BR>
document.write(&quot;&lt;a href=&quot; + &quot;mail&quot; + &quot;to:&quot;
+ email + &quot;@&quot; + emailHost+ &quot;&gt;&quot;+<BR>
contact + &quot;&lt;/a&gt;&quot; + &quot;.&quot;)<BR>
//--&gt;<BR>
&lt;/script&gt;<BR>
&lt;/p&gt;<BR>
<BR>
Can you tell me if it'll still work if I take out the line that states:<BR>
<BR>
var contact = &quot;Newsletter Editor&quot;<BR>
<BR>
as this creates an HTML link on my page?<BR>
<BR>
TIA and have a sunny day,<BR>
<BR>
Kyla Phillips &nbsp;:o)<BR>
the pixie parlour<BR>
www.pixieparlour.com<BR>
</FONT>
</BODY>
</HTML>


--Boundary_(ID_Elfo0rN4I/PwVZpVJp5mIQ)--

--__--__--

Message: 4
From: "Peter Brunone" <peter at brunone.com>
To: <javascript at LaTech.edu>
Subject: Re: [Javascript] Quashing Email Spiders
Date: Wed, 5 Dec 2001 15:01:02 -0600
Reply-To: javascript at LaTech.edu


    Sure; you'd just change contact to an image link, making sure to use
single quotes to avoid messing up the double-quote delimiters, e.g.

var contact = "<IMG SRC='whatever.gif'>";

----- Original Message -----
From: <vindaloo at pixieparlour.com>
To: "Javascript" <javascript at LaTech.edu>
Sent: Wednesday, December 05, 2001 2:45 PM
Subject: [Javascript] Quashing Email Spiders


| Hi Group!
|
| I've just recently joined and thought I'd introduce myself, before asking
a
| question.  My name is Kyla and I'm a web designer.  I run my own web
design
| company in British Columbia, Canada and have been designing for the web
for
| about four years now.  I'm not really a coder, but I like to understand
the
| basics of how something works, and so here I am ready to soak up all your
| knowledage about javascript!
|
| I just found some nifty code for hiding email addresses (thanks to
| netmechanic) from Email Spiders.  The only problems is that it uses HTML
| text links and I'm using a link from an image.  The code is this:
|
| <p>Send your comments and questions to our
| <script language=javascript>
| <!--
| var contact = "Newsletter Editor"
| var email = "news"
| var emailHost = "netmechanic.com"
| document.write("<a href=" + "mail" + "to:" + email + "@" + emailHost+
">"+
| contact + "</a>" + ".")
| //-->
| </script>
| </p>
|
| Can you tell me if it'll still work if I take out the line that states:
|
| var contact = "Newsletter Editor"
|
| as this creates an HTML link on my page?
|
| TIA and have a sunny day,
|
| Kyla Phillips  :o)
| the pixie parlour
| www.pixieparlour.com
|
|


--__--__--

Message: 5
From: "Lau" <lau at goldenweb.com.au>
To: <javascript at LaTech.edu>
Date: Thu, 6 Dec 2001 18:17:57 +1100
Organization: GoldenWeb Internet Development
Subject: [Javascript] dynamically changing CSS in NN4.7
Reply-To: javascript at LaTech.edu

I want to dynamically change the CLASS of a link when its clicked, I got it
working in IE but of
course NN4.7 is giving me grief again.
can anyone help?

<A HREF='#' CLASS=LkTopLx onclick='ChangeClass(this);'>hello</A>

function ChangeClass(p_this){
p_this.className="LkOptSel"
}




--__--__--

Message: 6
From: "Peter-Paul Koch" <gassinaumasis at hotmail.com>
To: javascript at LaTech.edu
Subject: Re: [Javascript] dynamically changing CSS in NN4.7
Date: Thu, 06 Dec 2001 12:21:29 +0000
Reply-To: javascript at LaTech.edu




>I want to dynamically change the CLASS of a link when its clicked, I got
it
>working in IE but of course NN4.7 is giving me grief again.

You cannot change the class in NN4. (Well, you can, but nothing happens).

ppk


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--__--__--

Message: 7
From: "Peter-Paul Koch" <gassinaumasis at hotmail.com>
To: javascript at LaTech.edu
Subject: Re: [Javascript] Window coordinates in Netscape
Date: Thu, 06 Dec 2001 12:24:20 +0000
Reply-To: javascript at LaTech.edu




>I am trying to determine the current position of the browser's window on
>the screen.
>For IE I use
>
>this.screenLeft and this.screenTop
>
>But how to deal with Netscape? Is it possible at all?

self.screenX and self.screenY . I advice you to use 'self' instead of
'this'
in the IE properties too.

ppk

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--__--__--

Message: 8
From: ".ben" <ben at babelfish.co.uk>
To: <javascript at LaTech.edu>
Subject: Re: [Javascript] Window coordinates in Netscape
Date: Thu, 6 Dec 2001 12:43:29 -0000
Reply-To: javascript at LaTech.edu

not sure if this is of any help but I've been using this:

   if(window.screenY)
   {
    if(document.layers)
    {
     var intTopPos = window.screenY + 440;
     var intLeftPos= window.screenX + 400;
    }
    else
    {
     var intTopPos = window.screenY + 435;
     var intLeftPos= window.screenX + 390;
    }
   }

   if(window.screenTop)
   {
    var intTopPos = window.screenTop + 325;
    var intLeftPos= window.screenLeft + 375;
   }

hth,

 .b


----- Original Message -----
From: "Peter-Paul Koch" <gassinaumasis at hotmail.com>
To: <javascript at LaTech.edu>
Sent: Thursday, December 06, 2001 12:24 PM
Subject: Re: [Javascript] Window coordinates in Netscape


>
>
>
> >I am trying to determine the current position of the browser's window on
> >the screen.
> >For IE I use
> >
> >this.screenLeft and this.screenTop
> >
> >But how to deal with Netscape? Is it possible at all?
>
> self.screenX and self.screenY . I advice you to use 'self' instead of
'this'
> in the IE properties too.
>
> ppk
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>



--__--__--

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript


End of Javascript Digest
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic28009.jpg
Type: image/jpeg
Size: 1868 bytes
Desc: not available
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20021217/fd854495/attachment.jpg>


More information about the Javascript mailing list