1. #1
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    84
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default [2.0ax] - Docs require extjs.com, please make local

    When extjs.com was unavailable to me for an hour or so, my copy of the api docs looked broken. There are many references to extjs.com which should not be for folks who do not view the docs online.


    <img unselectable="on" class="x-tree-node-icon icon-cls" src="http://extjs.com/s.gif"/>


  2. #2
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default



    Code:
    // in your overrides file, specify
    Ext.BLANK_IMAGE_URL = 'resources/s.gif'; // maybe this should be the default? seems to work fine.
    [edit 1]
    also mentioned in the FAQ and the docs.

    [edit 2]
    but it makes sense to put that into index.html... i'll check with jack.

  3. #3
    Sencha - Services Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,965
    Vote Rating
    12
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default

    @Mystix - he's talking about the (css ?) references to the image files themselves.
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  4. #4

  5. #5
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default



    the cause of the image placeholders in djliquidice's attached pic are due to Ext.BLANK_IMAGE_URL being set to http://extjs.com/s.gif (the default value). the xhtml resulting in those image placeholders is generated by Ext.

    putting this
    Code:
    Ext.BLANK_IMAGE_URL = 'resources/s.gif';
    with the rest of the in-page js in ext-2.0-beta1a\docs\index.html will fix it.

    p.s. i've just done a search (via notepad++ in the ext-2.0-beta1a download) in all .html and .css files and the only occurence of extjs.com/s.gif is in line 35 of Ext.html and it's part of this description "URL to a 1x1 transparent gif image used by Ext to create inline icons with CSS background images. (Defaults to "http://extjs.com/s.gif" and you should change this to a URL on your server).", so yes, Ext.BLANK_IMAGE_URL was the problem

  6. #6
    Sencha - Services Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,965
    Vote Rating
    12
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default

    Yep, changing it to a relative URL does it, then it would work locally too.
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


  7. #7
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    84
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default

    Quote Originally Posted by hendricd View Post
    Yep, changing it to a relative URL does it, then it would work locally too.
    My point is we (the community) need to have this done by default for the docs - like the 1.x branch

  8. #8
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default

    Quote Originally Posted by djliquidice View Post
    My point is we (the community) need to have this done by default for the docs - like the 1.x branch
    i think i've finally figured how u think. woot

  9. #9
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    84
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default

    woot! someone gets me :P

    on a side note, the latest american version of Bleach was off the chain!! Renji lost the battle w/ rukia's brother. off the chain!!

  10. #10
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956
    Vote Rating
    18
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default

    Just so everyone knows, this has been set up for the next push.
    Jack Slocum
    Sencha Co-Founder, Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum