[Javascript] Table Cell Q in NN4

Cutter Bl cutterbl at hotmail.com
Mon May 6 12:45:22 CDT 2002


I had a similar issue (God I hate Netscape...) My solution was to use my 
z-index. The bottom layer(0) was my "button" image, the next up(1) was the 
drop shadow of the text(2), and above that a transparent image(3) which was 
the link. Eventually I removed the "button" image. You can see this at work 
at http://polaris.umuc.edu/~sblades/

Cutter
http://www.falcon-knives.com

----Original Message Follows----
From: "Walter Torres" <walter at torres.ws>
Reply-To: javascript at LaTech.edu
To: <javascript at LaTech.edu>
Subject: RE: [Javascript] Table Cell Q in NN4
Date: Mon, 6 May 2002 11:19:22 -0500

This in not a FORM.

I am not using FOrm Objects in this context.

All I'm trying to do is make a dynamiclly generated TAB-like nav bar.

  - I create a single row table
  - Place a 12 x 6 pixel image (it looks ike a corner cut out of a
    rectangle
  - Text is placed in the same cell as image (one cell per img/text)
  - Then I fill the background with a color.
    Since the image is mostly transparent it look slike the corner cut
    out of the tab with text on top of the color.
    The STYLES have a padding-right of 4 pixles, this makes TAB look
    proper proportions regardless of the length of Text in the Cell.

Out TAB nav row changes from time to time and I really didn't want to create
images for all Titles.

The only way I could get this to work was to make the text LINKS. It works,
but not really like I would like.

But, beggers can't be choosers.

Thanks for your advise.

Walter


 > -----Original Message-----
 > From: javascript-admin at LaTech.edu
 > [mailto:javascript-admin at LaTech.edu]On
 > Behalf Of TomMallard
 > Sent: Sunday, May 05, 2002 8:24 PM
 > To: javascript at LaTech.edu
 > Subject: RE: [Javascript] Table Cell Q in NN4
 >
 >
 > ...could be <img> using onKeyPress, onKeyUp if you don't like anchor
 > tags...I'd avoid form elements, NN4 is a mess for those
 > inside of tables.
 >
 > tom
 >
 > -----Original Message-----
 > From: javascript-admin at LaTech.edu
 > [mailto:javascript-admin at LaTech.edu]On
 > Behalf Of Walter Torres
 > Sent: Sunday, May 05, 2002 5:33 PM
 > To: javascript at LaTech.edu
 > Subject: RE: [Javascript] Table Cell Q in NN4
 >
 >
 > Because the clients server logs tell us that they are getting
 > 48% NN4.x
 > hits.
 >
 > So we have to support it.
 >
 > Can you elaborate on "other ways"?
 >
 > Walter
 >
 >
 > > -----Original Message-----
 > > From: javascript-admin at LaTech.edu
 > > [mailto:javascript-admin at LaTech.edu]On
 > > Behalf Of TomMallard
 > > Sent: Sunday, May 05, 2002 7:16 PM
 > > To: javascript at LaTech.edu
 > > Subject: RE: [Javascript] Table Cell Q in NN4
 > >
 > >
 > > Well, there are other ways, but why complicate things for an
 > > unsupported
 > > version?
 > >
 > > tom
 > >
 > > -----Original Message-----
 > > From: javascript-admin at LaTech.edu
 > > [mailto:javascript-admin at LaTech.edu]On
 > > Behalf Of Walter Torres
 > > Sent: Sunday, May 05, 2002 4:56 PM
 > > To: javascript at LaTech.edu
 > > Subject: RE: [Javascript] Table Cell Q in NN4
 > >
 > >
 > > Yea, I was afraid you were going to say that! :(
 > >
 > > I was hoping I was missing something obvious.
 > >
 > > Thanks
 > >
 > > Walter
 > >
 > > > -----Original Message-----
 > > > From: javascript-admin at LaTech.edu
 > > > [mailto:javascript-admin at LaTech.edu]On
 > > > Behalf Of TomMallard
 > > > Sent: Sunday, May 05, 2002 6:29 PM
 > > > To: javascript at LaTech.edu
 > > > Subject: RE: [Javascript] Table Cell Q in NN4
 > > >
 > > >
 > > > <td><a href="javascript:clickCheck(1);">cell 1 contents</a></td>.
 > > >
 > > > tom mallard
 > > > seattle
 > > > -----Original Message-----
 > > > From: javascript-admin at LaTech.edu
 > > > [mailto:javascript-admin at LaTech.edu]On
 > > > Behalf Of Walter Torres
 > > > Sent: Sunday, May 05, 2002 4:11 PM
 > > > To: javascript at LaTech.edu
 > > > Subject: RE: [Javascript] Table Cell Q in NN4
 > > >
 > > >
 > > > Thanks, but this does not work in NN4.
 > > >
 > > > I'm looking for an NN4 solution.
 > > >
 > > > Walter
 > > >
 > > >
 > > > > -----Original Message-----
 > > > > From: javascript-admin at LaTech.edu
 > > > > [mailto:javascript-admin at LaTech.edu]On
 > > > > Behalf Of Trey H
 > > > > Sent: Sunday, May 05, 2002 5:21 PM
 > > > > To: javascript at LaTech.edu
 > > > > Subject: Re: [Javascript] Table Cell Q in NN4
 > > > >
 > > > >
 > > > > You could put this command in each cell:
 > > > > <td onClick="clickCheck(1)"></td>
 > > > > Replace the 1 with a different number for every cell.
 > > > > The clickCheck function would look similar to this:
 > > > > function clickCheck(x) {
 > > > > if(x==1)
 > > > > alert("cell 1 was clicked!")
 > > > > if(x==2)
 > > > > alert("cell 2 was clicked")
 > > > > }
 > > > >
 > > > > I am not sure what you are making this for, so I just used
 > > > > alerts as an
 > > > > example for the function :)
 > > > >
 > > > > ====================================
 > > > > Trey: tutwabee at hotmail.com
 > > > > Get free JavaScripts at the Blue Dragon!
 > > > > Just go to:
 > > > > http://www.websiter.biz
 > > > > ====================================
 > > > > Make money by being online:
 > > > > http://www.degoo.com/index.php?refid=tutwabee
 > > > > ===================================
 > > > > Earn free traffic for your website easily:
 > > > > http://tools.addme.com/servlet/popview?id=52260
 > > > > ====================================
 > > > >
 > > > >
 > > > > >From: "Walter Torres" <walter at torres.ws>
 > > > > >Reply-To: javascript at LaTech.edu
 > > > > >To: <javascript at LaTech.edu>
 > > > > >Subject: [Javascript] Table Cell Q in NN4
 > > > > >Date: Sun, 5 May 2002 16:57:05 -0500
 > > > > >
 > > > > >Anyone have any idea on how I can know that a table cell
 > > > (in NN4) was
 > > > > >clicked and which cell it was?
 > > > > >
 > > > > >Thanks
 > > > > >
 > > > > >Walter
 > > > > >
 > > > > >_______________________________________________
 > > > > >Javascript mailing list
 > > > > >Javascript at LaTech.edu
 > > > > >https://lists.LaTech.edu/mailman/listinfo/javascript
 > > > >
 > > > >
 > > > >
 > > > >
 > > > >
 > > > >
 > > > >
 > _________________________________________________________________
 > > > > Send and receive Hotmail on your mobile device:
 > > http://mobile.msn.com
 > > >
 > > > _______________________________________________
 > > > 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
 > >
 > > _______________________________________________
 > > 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
 > >
 > > _______________________________________________
 > > 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
 >
 > _______________________________________________
 > 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


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com




More information about the Javascript mailing list