SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist jkh1978's Avatar
    Join Date
    May 2001
    Location
    Northern Virginia
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to click and highlight rows?

    I just downloaded tonight the newest version of phpMyAdmin.

    When I display the results of a sql statement, if I click a row, it stays highlighted. How is that pulled off?

  2. #2
    Non-Member coo_t2's Avatar
    Join Date
    Feb 2003
    Location
    Dog Street
    Posts
    1,819
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    I assume you're talking about the rows that are displayed while "browsing" records. If not disregard the following .
    I'm running phpMyAdmin 2.2.5 on windows.
    On mine I don't think the row stays highlighted when you click it, just while your mouse is over the row.
    In my installation the script that does this is in
    phpmyadmin/libraries/functions.js . It's the function called "setPointer()" . It sounds like they've changed things in the newer version but the code that does it might still be in the same place.

    hth,
    --ed

  3. #3
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,423
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    That's CSS and JavaScript. I haven't looked at the code for it on PHPMyAdmin but that's how it is done. Look for their source code and reverse engineer it.


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
  •