Page 3 of 3 FirstFirst 123
Results 31 to 44 of 44

Thread: What are you doing, firefox?!

  1. #31
    Proudly Loathsome ;) DMKA's Avatar
    Join Date
    Mar 2003
    Location
    Ohio
    Posts
    11,306

    FFXIV Character

    Efes Ephesus (Adamantoise)

    Default

    Umm....Firefox has always done that for me.
    I like Kung-Fu.

  2. #32
    sly gypsy Recognized Member Levian's Avatar
    Join Date
    May 2002
    Location
    Donut Plains
    Posts
    14,210
    Articles
    1
    Blog Entries
    4
    Contributions
    • Former Cid's Knight
    • Hosted the Ciddies

    Default

    Only hockey moms use alt text anyway.


  3. #33
    Your very own Pikachu! Banned Peegee's Avatar
    Join Date
    Mar 2001
    Posts
    19,488
    Blog Entries
    81

    Grin

    Quote Originally Posted by Rantzien View Post
    The thing is Firefox has classically been using the title attribute to show tooltips, while IE has used alt. Neither is completely semantically correct to use as tooltips but title is still miles better than alt, which is supposed to be a text to describe the image's content to act as a replacement for the image to browsers that do not display images, screen readers and such tools, or if the image does not load.

    [/web design nerd]
    Exactly. Nobody should see alt text.


    Let's test something. This following image has an alt text of 'cl_out' and a title of 'clout's smilie':

    cl_out

    so it seems like firefox shows title text if it exists, and alt text if it doesn't? This only has alt text:

    cl_out

    ugh, this sucks.

  4. #34
    EoFF's Laundry Goddess ~*~Celes~*~'s Avatar
    Join Date
    Jun 2005
    Location
    Ohio =D
    Posts
    6,333
    Blog Entries
    2

    Default

    I have no idea what any of you are talking about.

    *Also uses firefox but isn't sure what's going on*

  5. #35

    Default

    Quote Originally Posted by Pureghetto View Post
    Exactly. Nobody should see alt text.


    Let's test something. This following image has an alt text of 'cl_out' and a title of 'clout's smilie':

    :ezpimp:

    so it seems like firefox shows title text if it exists, and alt text if it doesn't? This only has alt text:

    :ezpimp:

    ugh, this sucks.
    I wonder when this was changed. When you search for information you run into countless websites explaining Firefox's correct behavior not to display ALT texts, but I have yet to find one that explains when it was changed


  6. #36
    Draw the Drapes Recognized Member rubah's Avatar
    Join Date
    Dec 2004
    Location
    Now Destiny is done.
    Posts
    30,655
    Blog Entries
    21
    Contributions
    • Former Administrator
    • Former Cid's Knight

    Default

    My pet theory is that it is eoff because it hasn't done it on any other sites and also there isn't a big 'WTF' from the collective nerds as a whole.

  7. #37

    Default

    I think you are halfway right. I think it has to do with vBulletin. I checked some other websites and found there was no tooltip on any of them, except one that had a vBulletin board running.

    If you check the second "" smiley from Pureghetto that shouldn't have a title attribute you'll find it actually has. I suppose vBulletin automatically copies the alt attribute to the title attribute to mimic IE's behavior.


  8. #38
    i n v i s i b l e Tech Admin o_O's Avatar
    Join Date
    Jun 2001
    Location
    New Zealand
    Posts
    2,957
    Blog Entries
    1

    FFXIV Character

    Humphrey Squibbles (Sargatanas)

    Default

    Ok, so I think the title attribute is added in via a function in one of the vBulletin javascript functions which specifically copies alt text to title text. That means it's applying the title attribute after the page source is downloaded, explaining why there's no title in the source code and why the title appears if you inspect the element.

    EDIT: Ok, yes, these two functions exist in <a href="http://forums.eyesonff.com/clientscript/vbulletin_global.js">the vbulletin_global.js</a> script. Here you go:
    PHP Code:
    // Substantially deobfuscated :p
    function child_img_alt_2_title(A) {
      var 
    A.getElementsByTagName("img");
      for(var 
    0C.lengthB++) {
        
    img_alt_2_title(C[B])
      }
    }

    function 
    img_alt_2_title(A) {
      if(!
    A.title && A.alt != "") {
        
    A.title A.alt;
      }


  9. #39
    Hypnotising you crono_logical's Avatar
    Join Date
    May 2001
    Location
    Back in Time
    Posts
    9,313
    Contributions
    • Former Administrator
    • Former Cid's Knight

    Default

    I guess it's vBulletin messing with your minds, not Firefox
    Problems playing downloaded videos? Try CCCP


  10. #40
    Very VIP person Tech Admin Rantz's Avatar
    Join Date
    Apr 2006
    Posts
    17,631
    Articles
    1

    Default

    It was a bit of a scare!

  11. #41
    Draw the Drapes Recognized Member rubah's Avatar
    Join Date
    Dec 2004
    Location
    Now Destiny is done.
    Posts
    30,655
    Blog Entries
    21
    Contributions
    • Former Administrator
    • Former Cid's Knight

    Default

    I specifically asked you if there was any arcane javascript that could the culprit and you said no >:[

  12. #42
    Your very own Pikachu! Banned Peegee's Avatar
    Join Date
    Mar 2001
    Posts
    19,488
    Blog Entries
    81

    Grin

    Quote Originally Posted by rubah View Post
    I specifically asked you if there was any arcane javascript that could the culprit and you said no >:[
    Mike likes to mess with you.

  13. #43
    Last Exile Baloki's Avatar
    Join Date
    Sep 2003
    Location
    Dreaming a dream~
    Posts
    8,425
    Articles
    5
    Blog Entries
    2

    FFXIV Character

    Baloki Kyuu (Sargatanas)
    Contributions
    • Former Senior Site Staff

    Default

    Quote Originally Posted by rubah View Post
    Operator, I need an exit.
    There's one just the other side of Central Park.
    FOA

  14. #44
    Hypnotising you crono_logical's Avatar
    Join Date
    May 2001
    Location
    Back in Time
    Posts
    9,313
    Contributions
    • Former Administrator
    • Former Cid's Knight

    Default

    Quote Originally Posted by Psychotic View Post
    It's always been this way, you big fruit.
    Quote Originally Posted by DMKA View Post
    Umm....Firefox has always done that for me.
    Quote Originally Posted by rubah View Post
    I specifically asked you if there was any arcane javascript that could the culprit and you said no >:[
    It's PHP doing it anyway, not javascript
    Problems playing downloaded videos? Try CCCP


Posting Permissions

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