SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    Ribbit... Eric.Coleman's Avatar
    Join Date
    Jun 2001
    Location
    In your basement
    Posts
    1,268
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JavaScript: How to highlight an entire row...

    If any of you have hotmail, when you click in the checkbox to delete and email, that entire row is highlighted...

    How is it done? I want to be able to highlight an entire row that goes along with a checkbox..


    Thanks,
    Eric
    Eric Coleman
    We're consentratin' on fallin' apart
    We were contenders, now throwin' the fight
    I just wanna believe, I just wanna believe in us

  2. #2
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: JavaScript: How to highlight an entire row...

    Originally posted by Zaire
    If any of you have hotmail, when you click in the checkbox to delete and email, that entire row is highlighted...

    How is it done? I want to be able to highlight an entire row that goes along with a checkbox..


    Thanks,
    Eric
    change the class of the <tr> onFocus.

    Sketch
    Aaron Brazell
    Technosailor



  3. #3
    Ribbit... Eric.Coleman's Avatar
    Join Date
    Jun 2001
    Location
    In your basement
    Posts
    1,268
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Think you could help me out with some code? Im total lost with JS

    Thanks,
    Eric
    Eric Coleman
    We're consentratin' on fallin' apart
    We were contenders, now throwin' the fight
    I just wanna believe, I just wanna believe in us

  4. #4
    Ribbit... Eric.Coleman's Avatar
    Join Date
    Jun 2001
    Location
    In your basement
    Posts
    1,268
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My friend made this:

    http://dev.delteria.net/checkbox.html

    But, you have to have a JS function for each checkbox.. why doesn't it work with just one function?

    Thanks
    Eric Coleman
    We're consentratin' on fallin' apart
    We were contenders, now throwin' the fight
    I just wanna believe, I just wanna believe in us

  5. #5
    What? Maelstrom's Avatar
    Join Date
    Oct 2001
    Location
    Whistler BC originally from Guelph Ontario
    Posts
    2,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Zaire
    My friend made this:

    http://dev.delteria.net/checkbox.html

    But, you have to have a JS function for each checkbox.. why doesn't it work with just one function?

    Thanks
    Because he didn't set it up to work that way. You could do it with one function with a true and false value. Is that what you would prefer?
    Maelstrom Personal - Apparition Visions
    Development - PhP || Mysql || Zend || Devshed
    Unix - FreeBSD || FreeBsdForums || Man Pages
    They made me a sitepoint Mentor - Feel free to PM me or Email me and I will see if I can help.

  6. #6
    Ribbit... Eric.Coleman's Avatar
    Join Date
    Jun 2001
    Location
    In your basement
    Posts
    1,268
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Maelstrom


    Because he didn't set it up to work that way. You could do it with one function with a true and false value. Is that what you would prefer?
    YES YES YES!!!! Please! heh
    Eric Coleman
    We're consentratin' on fallin' apart
    We were contenders, now throwin' the fight
    I just wanna believe, I just wanna believe in us


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •