Hi Carl,
I'm sure table cells have an onClick attribute.
e.g. <td onClick="window.location.href">
Hope this helps. The syntax is not pefect but i hope you get the general
idea.
Also look at developer resources at Microsoft site it's very good.
Claire
> -----------------------------------------------
> When replying to the digest, please quote only
> relevant material, and edit the subject line to
> reflect the message you are replying to.
> -----------------------------------------------
>
>
> The URL for this list is:
> http://p2p.wrox.com/list.asp?list=javascript
> JAVASCRIPT Digest for Sunday, November 17, 2002.
>
> 1. Page transfer
> 2. how to generate a html code including javascript with javascript
> 3. Re: Page transfer
> 4. Re: Page transfer
> 5. Verifying that external js successfully downloaded
>
> ----------------------------------------------------------------------
>
> Subject: Page transfer
> From: "Carl E. Olsen" <carl-olsen@m...>
> Date: Sun, 17 Nov 2002 15:02:42 -0600
> X-Message-Number: 1
>
> Can I create an event handler that will allow me to create navigation by
> clicking on a table cell?
>
> I want the user to be able to click on a table cell, and then move to
> another html page.
>
> Right now, I have hyperlinked text inside a table cell and the cell
> changes background color when you roll the mouse over it. However, you
> still have to click on the hyperlinked text to get to another page. I
> want people to be able to click anywhere in the cell.
>
> Carl Olsen
> Des Moines, IA
>
>
>
> ----------------------------------------------------------------------
>
> Subject: how to generate a html code including javascript with javascript
> From: "Hendra Haliman" <halimanh@i...>
> Date: Sun, 17 Nov 2002 22:15:15
> X-Message-Number: 2
>
> let say I want to generate this using a javascript
>
> <html>
> <head>
> <title>generated</title>
> <script language="javascript" type="text/javascript">
> function test(){
> alert('just a test');
> };
> </script>
> </head>
> <body onLoad=javascipt:test()>Hello world
> </body>
> </html>
>
> with something like this...
>
> <html>
> <head>
> <title>javascript test</title>
> <script language="javascript" type="text/javascript">
> function generate(){
> newDoc=window.open('','newWin','toolbar=yes,location=yes');
> newDoc.document.write('<html>');
> newDoc.document.write(' <head>');
> newDoc.document.write(' <title>generated</title>');
> newDoc.document.write(' <script language="javascript"
> type="text/javascript">');
> newDoc.document.write(' function test(){');
> newDoc.document.write(" alert('just a test');");
> newDoc.document.write(' };');
> newDoc.document.write(' </script>');
> newDoc.document.write(' </head>');
> newDoc.document.write(' <body onLoad=javascipt:test()>Hello world');
> newDoc.document.write(' </body>');
> newDoc.document.write('</html>');
> };
> </script>
> </head>
> <body onLoad=javascript:generate()>I'm testing generating an html with
> javascript
> </body>
> <html>
>
> but it did not work. Any ideas how ?
> ----------------------------------------------------------------------
>
> Subject: Re: Page transfer
> From: "Hendra Haliman" <halimanh@i...>
> Date: Sun, 17 Nov 2002 22:33:58
> X-Message-Number: 3
>
> how about using an image inside the cell and put onClick event for the
> image? So the hyperlink text is an image.
>
> > Can I create an event handler that will allow me to create navigation
> by
> clicking on a table cell?
>
> I want the user to be able to click on a table cell, and then move to
> another html page.
>
> Right now, I have hyperlinked text inside a table cell and the cell
> changes background color when you roll the mouse over it. However, you
> still have to click on the hyperlinked text to get to another page. I
> want people to be able to click anywhere in the cell.
>
> Carl Olsen
> Des Moines, IA
>
>
> ----------------------------------------------------------------------
>
> Subject: Re: Page transfer
> From: "Johnson, Israel" <IJohnson@R...>
> Date: Sun, 17 Nov 2002 17:29:45 -0500
> X-Message-Number: 4
>
> Use... location.href = URL;
>
> Associate it with a function and an event
>
> -----Original Message-----
> From: Hendra Haliman [mailto:halimanh@i...]
> Sent: Sunday, November 17, 2002 5:34 PM
> To: javascript
> Subject: [javascript] Re: Page transfer
>
> how about using an image inside the cell and put onClick event for the
> image? So the hyperlink text is an image.
>
> > Can I create an event handler that will allow me to create navigation
> by
> clicking on a table cell?
>
> I want the user to be able to click on a table cell, and then move to
> another html page.
>
> Right now, I have hyperlinked text inside a table cell and the cell
> changes background color when you roll the mouse over it. However, you
> still have to click on the hyperlinked text to get to another page. I
> want people to be able to click anywhere in the cell.
>
> Carl Olsen
> Des Moines, IA
>
>
>
> ----------------------------------------------------------------------
>
> Subject: Verifying that external js successfully downloaded
> From: HeadElf@E...
> Date: Sun, 17 Nov 2002 23:16:09
> X-Message-Number: 5
>
> In reviewing my log files I've noticed that a few times a day external
> javascript files do not download onto the users' systems because the
> server hiccups.
>
> Is anyone aware of a script that would (a) verify that the js downloaded
> and (b) force it to download if the first attempt failed?
>
> I've run a search here and elsewhere (google groups etc.) to no avail and
> I'm afraid that this sinus medication has my head in a fog on how to do
> this from scratch (I guess I need Rudolph the red-nose script writer ;).
>
> BTW, I'm using the external js as a way to speed up d/load time, decrease
> bandwidth usage and improve search engine ranking. Just put any non-
> critical, repeating html (e.g. footers, feedback links and other site
> marketing tools) into a js & then use good old "document.write" to read
> the html back into all the pages. While there are a number of reasons I
> wouldn't do this for critical code, it can make a very noticeable
> difference e.g. it dropped some file sizes by 20%. (And who says Santa
> doesn't give presents to 'older' kids ;)
>
> Merry Christmas!
>
>
> ---
>
> END OF DIGEST
>
>
>
--
Claire Kelly
<claire.kelly@m...>
--------------------------------------------------------------------
Get your own FREE local e-mail address at http://www.merseymail.com/