1. #1
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,361
    Vote Rating
    81
    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 Examples

    Examples


    I know the examples index.html is probably under construction.

    For me to browser though examples quickly, I created a shell script to put them on screen.
    in examples directory
    Code:
    for i in `find . | grep index.html`; do  
        name=`echo $i | awk -F\/ '{print $2}'`
        echo "<a href='$i'>$name</a><br />">>index.html
     done
    produces:
    HTML Code:
    <a href='./ajax/index.html'>ajax</a><br />
    <a href='./carousel/index.html'>carousel</a><br />
    <a href='./dragdrop/index.html'>dragdrop</a><br />
    <a href='./forms/index.html'>forms</a><br />
    <a href='./guide/index.html'>guide</a><br />
    <a href='./icons/index.html'>icons</a><br />
    <a href='./kitchensink/index.html'>kitchensink</a><br />
    <a href='./map/index.html'>map</a><br />
    <a href='./nestedlist/index.html'>nestedlist</a><br />
    <a href='./overlays/index.html'>overlays</a><br />
    <a href='./sortable/index.html'>sortable</a><br />
    <a href='./tabs/index.html'>tabs</a><br />
    <a href='./tabs2/index.html'>tabs2</a><br />
    <a href='./toolbars/index.html'>toolbars</a><br />
    <a href='./twitter/index.html'>twitter</a><br />
    <a href='./video/index.html'>video</a><br />
    Nothing special, but beats typing in the url every time.

  2. #2
    Sencha User aw1zard2's Avatar
    Join Date
    Sep 2009
    Location
    Dallas, Texas
    Posts
    577
    Vote Rating
    32
    aw1zard2 has a spectacular aura about aw1zard2 has a spectacular aura about

      0  

    Default


    I made something similar got tried of typing them in.

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

      0  

    Default


    or you could just turn on the directory index for the /examples directory

    in nginx it's as simple as
    Code:
    autoindex on;
    in apache you need to fiddle with the mod_autoindex module.

Thread Participants: 2