Simple sortable jquery list

I have a symbol called list_1, inside the symbol are three groups, each group contains a rectangle and a text box labelling them item 1, item 2, item 3. I want these rectangles to be sortable like the default function on the jquery page Sortable | jQuery UI using the code below I am able to drag them but not sort them. Any help or if anyone has made a simple example already I would very much appreciate it.
yepnope(
       nope:['js/jquery-ui.min.js'],
       complete: init
function init() {
     sym.$('list_1').sortable();

Here is a file where I made it work but this might no be what you want. Basically I used a text field and their example in the html.
I am not sure how you could make it work with your symbol. I will try some more.
here is the link to the file
Hope this helps.
sortable.zip - Box

Similar Messages

  • Sortable event list in iCal?

    I have several different calendars set up in iCal. Is there any way to see all events from one calendar (or a selection of calendars) in an editable, sortable list?
    I don't see a way to tell if a calendar is empty or not without doing a search, or attempting to delete the calendar first. (iCal lets you delete the calendar if it's empty, but warns you first if it has something in it.) Searching is not an efficient method. If I search for "a," a common vowel likely to be in lots of messages, it still won't bring up my appointment to "Pick up some red plums," so I end up having to repeat the search for each vowel in each calendar.
    I've also had duplicate issues when using .Mac. It's really frustrating when you have no idea how many duplicates there are, since you can't see the entire calendar all at once.
    A simple sortable list view, like in Mail, would solve both these problems.
    I sent feedback to Apple on this, but I'm wondering if anyone here knows of a built in way to do it that I've just missed, or maybe a third party program that would add this functionality.

    Don H., I feel your pain.
    I just picked up my new MBP from the Apple Store tonight. They imported all of my data, and when I picked up the computer, they took me through each app to make sure all my data had imported correctly. When they showed me iCal, it looked perfect--all of my stuff was there, hour by hour, in Day view. It basically looked just like it did in Snow Leopard. My friend's birthday is today, so I was delighted to see that Event at the top of the hour-by-hour list--that's how I knew my data was there.
    When I opened iCal at home, it looks completely different. I now have this horrible formatting with a giant monthly calendar and a list of events on the left. The hour-by-hour list (which is what I use iCal for) is so narrow that I can't read any of the entries in their entirety. I dragged the border as far as I could to maximize the width of the hour-by-hour list and it's still only a little over an inch wide.  Meanwhile, the list of events that I DON'T need is 4 to 5 inches wide. 
    I've looked through all of the help menus and the only options for "viewing the calendar differently" are Day, Week, Month or Year. 
    What I don't understand is, why did it look normal while I was at the store, but completely different when I got home?  If it had looked like this at the store, I could've asked for help while I was there. I'm disappointed in the new format but can't figure out how to get back to what it looked like at the store. Wish I could help. I'll keep watching this discussion to see if you get help. Good luck.

  • Steve, "Simple JSF Popup List of Values Page " does not work..

    Hi Steve,
    I read "Not Yet Documented ADF Sample Applications" #80 : "Simple JSF Popup List of Values Page " and download SimpleADFBCLOVJSF.zip, but when I try to run the sample, I get this error :
    JBO-33001: Cannot find the configuration file /xxx/common/bc4j.xcfg in the classpath
    What is wrong ?
    Thank you,
    xtanto

    Thanks for reporting this. I've uploaded a newer version of the zip file that fixes this issue.
    It was due to a last-minute refactoring of my model project from having the application module living in a package named "xxx" to another package named "example.model"

  • A simple report to list security access on all folders

    Hi there
    I want a simple report to list security access on all folders (group wise)
    any help ...??
    Thanks.
    Rakesh.

    Hi AnTiiiKa,
    For this issue, you can first retrieve all the users on the site, then get all permissions of each user. With this PowerShell Script you could retrieve all Permissions for a Specific User for a SiteCollection
    on all Webs and Subwebs, Lists and Items. Here is an article about how to get  all Roles and Groups from the User and the URL.  
    SharePoint SP2010 - Retrieve all User Permissions via PowerShell:
    http://sp2010userperm.codeplex.com/
    save the report to a csv (excel file):
    $web = Get-SPWeb http://address/site/site/site
    $user=$web.AllUsers
    Get-SPWeb YOURURL | Get-SPUserEffectivePermissions $user | Export-Csv -NoTypeInformation
    -Path c:\perms.csv
    Please inform me freely if you have any questions.
    Thanks

  • Simple drop down list

    I just need to display a typical drop down list with values "A", "B", and "C". When I do this with a ComboBox there is a description needed, which I do not have/want to display. How can I create this simple drop down list?

    You may use A B C for the values and descriptions. I think everyone uses this solution.
    Well, everyone, but SBO itself! There are normal drop down lists all over the place (e.g. look at the Activity form).
    Seems like I have to live with those limitations, only I don't understand them. Maybe someone can explain this?
    Still, the question is answered, thank you very much for helping.

  • Does anyone know of a simple to do list app that syncs between an iPhone and a Mac?

    Does anyone know of a simple to do list app that syncs between an iPhone and a Mac?

    Not sure exactly what you are going for...
    You're aware you need to use iTunes to sync apps between your iPhone and Mac unless you are running V10.7.2 and have iCloud setup.
    BTW...  apps that are optimized for an iPhone will not run on the Mac OS X and vice versai, two different operating systems.
    It really helps to tell us which Mac OS X you have installed when you post for help. Thanks!

  • Does anyone know of a simple "to do list" that syncs between an iPhone and a Mac?

    Does anyone know of a simple "to do list" that syncs between an iPhone and a Mac?

    Not sure exactly what you are going for...
    You're aware you need to use iTunes to sync apps between your iPhone and Mac unless you are running V10.7.2 and have iCloud setup.
    BTW...  apps that are optimized for an iPhone will not run on the Mac OS X and vice versai, two different operating systems.
    It really helps to tell us which Mac OS X you have installed when you post for help. Thanks!

  • Using a jQuery list box placed onto a tab control doesn't seem to work for posting?

    Hello,
    I developed a U.I. in Dreamweaver for a  product and have several list boxes that use the onChange modifier to collect what the user selects from the list. I use the onChange=this.form.submit() function to grab the user's selection from the list box..
    When this dropdown list box code is placed onto a form, it posts properly and I can retrieve the user's list selection.  If however I place the list box code onto a Tab page from a jQuery Tab Control, developed in Dreamweaver, the posting doesn't seem to work.
    I must be missing something because identical code is working fine when the list box code is placed on a form yet when the code is repeated from within a Tab, it isn't working.
    The code is simple, and shown below).  The list values are coming from a MySQL table.
    $MyQuantity_query="SELECT * FROM Quantity_Table";
    $MyQuantity_Result=mysqli_query($cxn,$MyQuantity_query) or Die ("Cannot connect");
    echo"<select name='ThisQuantity[$RowCounter]' value='ThisQuantity[$Rowcounter]' onChange='this.form.submit()'><option value='-1' selected>Qty</option>";
    While($MyQuantity_Row=mysqli_fetch_assoc($MyQuantity_Result))
       extract($MyQuantity_Row);
       echo"<option value='$Qty_Number'>$Qty_Number</option>";
    echo"</select>";
    Any suggestions would be appreciated.  Thanks.
    Joel
    [email protected]

    Thanks you.
    I tried placing the selection list inside of
    tags but posting still doesn’t seem to be working? 
    Regards,
    Joel

  • Simple ALV interactive list...

    <b><b>hi i am a fresh Learner in ABAP and i am doing a small program in simple ALV interactive report in SD module that  gives me::
    1. SALES and then the invoice details of one particular value i click ,when delivery document number is given.
    2. Deivery and invoice details of one particular value i click ,when sales order number is given.
    3. Sales and delivery details of one particular value i click , when invoice order details are given.
    so i need a clear code for the above. i can input any one of the three inputs to get the correct solution.. please give me a valid solution and not useless ones..
    .. please help me with the same at the earliest !!!!!!!!!!!</b></b>
    Message was edited by: ashokkumar ramkumar, please urgent replies...........

    An Interactive ALV Report
    *& Report  ZZ_22038_22098_002                                          *
    *& This is an Interactive ALV report, where on line slection we can see
    *&  the secondry list
    REPORT  ZZ_22038_22098_002 NO STANDARD PAGE HEADING LINE-SIZE 650
    MESSAGE-ID ZZ_9838                      .
    TYPE-POOLS: SLIS.
    *type declaration for values from ekko
    TYPES: BEGIN OF I_EKKO,
           EBELN LIKE EKKO-EBELN,
           AEDAT LIKE EKKO-AEDAT,
           BUKRS LIKE EKKO-BUKRS,
           BSART LIKE EKKO-BSART,
           LIFNR LIKE EKKO-LIFNR,
           END OF I_EKKO.
    DATA: IT_EKKO TYPE STANDARD TABLE OF I_EKKO INITIAL SIZE 0,
          WA_EKKO TYPE I_EKKO.
    *type declaration for values from ekpo
    TYPES: BEGIN OF I_EKPO,
           EBELN LIKE EKPO-EBELN,
           EBELP LIKE EKPO-EBELP,
           MATNR LIKE EKPO-MATNR,
           MENGE LIKE EKPO-MENGE,
           MEINS LIKE EKPO-MEINS,
           NETPR LIKE EKPO-NETPR,
           END OF I_EKPO.
    DATA: IT_EKPO TYPE STANDARD TABLE OF I_EKPO INITIAL SIZE 0,
          WA_EKPO TYPE I_EKPO .
    *variable for Report ID
    DATA: V_REPID LIKE SY-REPID .
    *declaration for fieldcatalog
    DATA: I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
          WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    DATA: IT_LISTHEADER TYPE SLIS_T_LISTHEADER.
    declaration for events table where user comand or set PF status will
    be defined
    DATA: V_EVENTS TYPE SLIS_T_EVENT,
          WA_EVENT TYPE SLIS_ALV_EVENT.
    declartion for layout
    DATA: ALV_LAYOUT TYPE SLIS_LAYOUT_ALV.
    declaration for variant(type of display we want)
    DATA: I_VARIANT TYPE DISVARIANT,
          I_VARIANT1 TYPE DISVARIANT,
          I_SAVE(1) TYPE C.
    *PARAMETERS : p_var TYPE disvariant-variant.
    *Title displayed when the alv list is displayed
    DATA:  I_TITLE_EKKO TYPE LVC_TITLE VALUE 'FIRST LIST DISPLAYED'.
    DATA:  I_TITLE_EKPO TYPE LVC_TITLE VALUE 'SECONDRY LIST DISPLAYED'.
    INITIALIZATION.
      V_REPID = SY-REPID.
      PERFORM BUILD_FIELDCATLOG.
      PERFORM EVENT_CALL.
      PERFORM POPULATE_EVENT.
    START-OF-SELECTION.
      PERFORM DATA_RETRIEVAL.
      PERFORM BUILD_LISTHEADER USING IT_LISTHEADER.
      PERFORM DISPLAY_ALV_REPORT.
    *&      Form  BUILD_FIELDCATLOG
          Fieldcatalog has all the field details from ekko
    FORM BUILD_FIELDCATLOG.
      WA_FIELDCAT-TABNAME = 'IT_EKKO'.
      WA_FIELDCAT-FIELDNAME = 'EBELN'.
      WA_FIELDCAT-SELTEXT_M = 'PO NO.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_EKKO'.
      WA_FIELDCAT-FIELDNAME = 'AEDAT'.
      WA_FIELDCAT-SELTEXT_M = 'DATE.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_EKKO'.
      WA_FIELDCAT-FIELDNAME = 'BUKRS'.
      WA_FIELDCAT-SELTEXT_M = 'COMPANY CODE'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    WA_FIELDCAT-TABNAME = 'IT_EKKO'.
      WA_FIELDCAT-FIELDNAME = 'BUKRS'.
      WA_FIELDCAT-SELTEXT_M = 'DOCMENT TYPE'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    WA_FIELDCAT-TABNAME = 'IT_EKKO'.
      WA_FIELDCAT-FIELDNAME = 'LIFNR'.
      WA_FIELDCAT-NO_OUT    = 'X'.
      WA_FIELDCAT-SELTEXT_M = 'VENDOR CODE'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    "BUILD_FIELDCATLOG
    *&      Form  EVENT_CALL
      we get all events - TOP OF PAGE or USER COMMAND in table v_events
    FORM EVENT_CALL.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         I_LIST_TYPE           = 0
       IMPORTING
         ET_EVENTS             = V_EVENTS
    EXCEPTIONS
       LIST_TYPE_WRONG       = 1
       OTHERS                = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "EVENT_CALL
    *&      Form  POPULATE_EVENT
         Events populated for TOP OF PAGE & USER COMAND
    FORM POPULATE_EVENT.
      READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.
      IF SY-SUBRC EQ 0.
        WA_EVENT-FORM = 'TOP_OF_PAGE'.
        MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
    WA_EVENT-FORM.
      ENDIF.
      READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'USER_COMMAND'.
      IF SY-SUBRC EQ 0.
        WA_EVENT-FORM = 'USER_COMMAND'.
        MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
    WA_EVENT-NAME.
      ENDIF.
    ENDFORM.                    "POPULATE_EVENT
    *&      Form  data_retrieval
      retreiving values from the database table ekko
    FORM DATA_RETRIEVAL.
      SELECT EBELN AEDAT BUKRS BSART LIFNR FROM EKKO INTO TABLE IT_EKKO.
    ENDFORM.                    "data_retrieval
    *&      Form  bUild_listheader
          text
         -->I_LISTHEADEtext
    FORM BUILD_LISTHEADER USING I_LISTHEADER TYPE SLIS_T_LISTHEADER.
      DATA HLINE TYPE SLIS_LISTHEADER.
      HLINE-INFO = 'this is my first alv pgm'.
      HLINE-TYP = 'H'.
    ENDFORM.                    "build_listheader
    *&      Form  display_alv_report
          text
    FORM DISPLAY_ALV_REPORT.
      V_REPID = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         I_CALLBACK_PROGRAM                = V_REPID
      I_CALLBACK_PF_STATUS_SET          = ' '
         I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'
         I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE'
         I_GRID_TITLE                      = I_TITLE_EKKO
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         = ALV_LAYOUT
         IT_FIELDCAT                       = I_FIELDCAT[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
        i_default                         = 'ZLAY1'
         I_SAVE                            = 'A'
        is_variant                        = i_variant
         IT_EVENTS                         = V_EVENTS
        TABLES
          T_OUTTAB                          = IT_EKKO
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "display_alv_report
    *&      Form  TOP_OF_PAGE
          text
    FORM TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY       = IT_LISTHEADER
       i_logo                   =
       I_END_OF_LIST_GRID       =
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  USER_COMMAND
          text
         -->R_UCOMM    text
         -->,          text
         -->RS_SLEFIELDtext
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
    RS_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN '&IC1'.
          READ TABLE IT_EKKO INTO WA_EKKO INDEX RS_SELFIELD-TABINDEX.
          PERFORM BUILD_FIELDCATLOG_EKPO.
          PERFORM EVENT_CALL_EKPO.
          PERFORM POPULATE_EVENT_EKPO.
          PERFORM DATA_RETRIEVAL_EKPO.
          PERFORM BUILD_LISTHEADER_EKPO USING IT_LISTHEADER.
          PERFORM DISPLAY_ALV_EKPO.
      ENDCASE.
    ENDFORM.                    "user_command
    *&      Form  BUILD_FIELDCATLOG_EKPO
          text
    FORM BUILD_FIELDCATLOG_EKPO.
      WA_FIELDCAT-TABNAME = 'IT_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'EBELN'.
      WA_FIELDCAT-SELTEXT_M = 'PO NO.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'EBELP'.
      WA_FIELDCAT-SELTEXT_M = 'LINE NO'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'I_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-SELTEXT_M = 'MATERIAL NO.'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    WA_FIELDCAT-TABNAME = 'I_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'MENGE'.
      WA_FIELDCAT-SELTEXT_M = 'QUANTITY'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    WA_FIELDCAT-TABNAME = 'I_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'MEINS'.
      WA_FIELDCAT-SELTEXT_M = 'UOM'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    WA_FIELDCAT-TABNAME = 'I_EKPO'.
      WA_FIELDCAT-FIELDNAME = 'NETPR'.
      WA_FIELDCAT-SELTEXT_M = 'PRICE'.
      APPEND WA_FIELDCAT TO I_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    "BUILD_FIELDCATLOG_EKPO
    *&      Form  event_call_ekpo
      we get all events - TOP OF PAGE or USER COMMAND in table v_events
    FORM EVENT_CALL_EKPO.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         I_LIST_TYPE           = 0
       IMPORTING
         ET_EVENTS             = V_EVENTS
    EXCEPTIONS
      LIST_TYPE_WRONG       = 1
      OTHERS                = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "event_call_ekpo
    *&      Form  POPULATE_EVENT
           Events populated for TOP OF PAGE & USER COMAND
    FORM POPULATE_EVENT_EKPO.
      READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.
      IF SY-SUBRC EQ 0.
        WA_EVENT-FORM = 'TOP_OF_PAGE'.
        MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
    WA_EVENT-FORM.
      ENDIF.
      ENDFORM.                    "POPULATE_EVENT
    *&      Form  TOP_OF_PAGE
          text
    FORM F_TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY       = IT_LISTHEADER
       i_logo                   =
       I_END_OF_LIST_GRID       =
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  USER_COMMAND
          text
         -->R_UCOMM    text
         -->,          text
         -->RS_SLEFIELDtext
    *retreiving values from the database table ekko
    FORM DATA_RETRIEVAL_EKPO.
    SELECT EBELN EBELP MATNR MENGE MEINS NETPR FROM EKPO INTO TABLE IT_EKPO.
    ENDFORM.
    FORM BUILD_LISTHEADER_EKPO USING I_LISTHEADER TYPE SLIS_T_LISTHEADER.
    DATA: HLINE1 TYPE SLIS_LISTHEADER.
    HLINE1-TYP = 'H'.
    HLINE1-INFO = 'CHECKING PGM'.
    ENDFORM.
    FORM DISPLAY_ALV_EKPO.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       I_CALLBACK_PROGRAM                = V_REPID
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = 'F_USER_COMMAND'
       I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE'
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
       I_GRID_TITLE                      = I_TITLE_EKPO
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
       IT_FIELDCAT                       = I_FIELDCAT[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         =
       I_SAVE                            = 'A'
      IS_VARIANT                        =
       IT_EVENTS                         = V_EVENTS
      TABLES
        T_OUTTAB                          = IT_EKPO
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.

  • Simple SSH Access-List Question

    I am enabling SSH access for all of our Cisco devices and want to restrict access to just the following ip addresses: 192.168.200.1-192.168.200.50.  I forgot the exact access-list configuration to accomplish this.  The subnet is /24 and I don't want the whole subnet - just .1 - .50.
    Thank you,
    Thomas Reiling

    Hi there,
    If using ssh make sure you have a domain name, host name and a generated rsa key.  Assuing you've done that, the the following ACL and line vty command will do the trick.  Note that the 1-50 host list is not on a subnet barrier.
    To get it exactly
    access-list 1 remark ALLOW MANAGEMENT
    access-list 1 permit 192.168.200.0 0.0.0.31
    access-list 1 permit 192.168.200.32 0.0.0.15
    access-list 1 permit 192.168.200.48 0.0.0.1
    access-list 1 host 192.168.200.50
    access-list 1 deny any log
    It would be a good idea to put it on a boundary though, so the following would be much more simpler and easier to read.
    access-list 1 remark ALLOW MANAGEMENT
    access-list 1 permit 192.168.200.0 0.0.0.63
    access-list 1 deny   any log
    Apply the access-class on the vty lines and depending on authentication, i'd put something there too.
    line vty 0 4
    access-class 1 in
    transport input ssh
    password blahblah
    That ought to do it.
    good luck!
    Brad

  • Simple CSS - Jquery Dropdowwn Menu

    Hi, I want to try to build myself a simple jquery dropdown menu instead of trying to customize an existing one.
    I also am planning to use a background image with corners and drop shadow. Should I used CSS3 for this? Or stick with images for now?
    Does anyone know of a good tutorial on this?
    Thanks

    I like jQuery SuperFish.  It works in all browsers and it's easy to customize with CSS and built-in jQuery functions.
    http://users.tpg.com.au/j_birch/plugins/superfish/#examples
    I agree with bemdesign about progressive enhancements.  CSS box-shadows and border-radius properties are supported in almost all modern browsers.  These days, there are very few compelling reasons to use images when you don't have to.  A menu's primary purpose is to function well in all browsers.  How it looks  in x-browser is secondary.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • SIMPLE : Making a list from a directory

    Hello, I can't find this on my computer. I have a script that shows all files of the front directory. I need this script but also need the list in text editor
    It(the script) should also watch inside the folder for all files in all subfolders. So I get a list in text editor that i can print. Someone who can help me with this?
    Now i get a menu but I just need to print the list of all files.
    Thanks in advance.
    tell application "Finder"
    set allFiles to the name of every file in the front window
    end tell
    choose from list allFiles

    Hello
    You may try something like the code below.
    It will let you choose the source folder and write list to a file named 'files.txt' in your current destkop.
    --SCRIPT
    set srcdir to POSIX path of (choose folder)
    set outfile to POSIX path of (path to desktop from user domain) & "files.txt"
    set sh to "ls -R " & quoted form of srcdir & " > " & quoted form of outfile
    do shell script sh
    --END OF SCRIPT
    cf.
    http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/ls.1.htm l
    Hope this may help,
    H
    Message was edited by: Hiroto (fixed code)

  • Simple operations on list of lists with generics

    I'm trying to create a method that takes variables of type List<? extends List<T>> and makes all the lists the same size by chopping off the rear elements of the lists passed in. Here's what I'm trying, but the second for loop is throwing an exception
    public static <T> List<? extends List<T>> standardizeNumberListsFromBack(List<? extends List<T>> input) {
              int minLength = input.get(0).size();
              for (List l: input){
                   if (l.size() < minLength){
                        minLength = l.size();
              for (List l: input){
                   l.subList(minLength, l.size()).clear();
              return input;
         }The call to clear() gives me an UnsupportedOperationException since the type of l is the List interface.
    Any ideas how I can pull this off while preserving the generality of the method?
    Thanks in advance.

    The call to clear() gives me an
    UnsupportedOperationException since the type of l is
    the List interface.No you get an UnsupportedOperationException because you're calling clear on a list that doesn't support removing elements.
    This most likely occurs because you're using something like Arrays.asList(...) (which returns a fixed size list backed by the given array) to generate your lists.
    Calling your code withList<Integer> foo = Arrays.asList(1, 2, 3, 4);
    List<Integer> bar = Arrays.asList(4, 5, 6);
    System.out.println(standardizeNumberListsFromBack(Arrays.asList(foo, bar)));gives me the UnsupportedOperationException. While calling it with thisList<Integer> foo = new ArrayList<Integer>(Arrays.asList(1, 2, 3, 4));
    List<Integer> bar = new ArrayList<Integer>(Arrays.asList(4, 5, 6));
    // the following also works
    // List<Integer> foo = new LinkedList<Integer>(Arrays.asList(1, 2, 3, 4));
    // List<Integer> bar = new LinkedList<Integer>(Arrays.asList(4, 5, 6));
    System.out.println(standardizeNumberListsFromBack(Arrays.asList(foo, bar)));doesn't.
    Edit:
    Oh and by the way, you should changefor (List l: input){tofor (List<T> l: input){in both loops to avoid type safety warnings.
    Edit2:
    My suggestion would be something likefor (List<T> l: input){
         try {
              l.subList(minLength, l.size()).clear();
         } catch (UnsupportedOperationException e) {
              // log the error in some way
              System.err.println("Can't remove elements from a list");
    }Message was edited by:
    dwg

  • Simple features wish list

    Please allow the reading and writing of text files as a standard feature vs having third party software to do so. 
    In the file manager, please use the default interface for playing music instead of the video player.
    Same for pictures.
    Please allow choosing default programs for file types. I know that's asking alot. Would be nice though especially when I need to use third party software to read a simple txt file.
    Print to my network printer. Everyone else has this... Need. I say more?
    A ctrl key, instead of two shift keys an and a bunch keys  I'll never ever use.
    Arrow keys PLEASE, this is almost required as getting your cursor to drop to the right edit spot is.very frustrating.
    If you need a usability tester, I have plenty of experience and will do it for free to have my playbook do the simple things its more than capable of.
    Excuse my typing errors. Typing with the pb can be very challenging.  autocomplete really causes problems.

    Click here and fill out the form.
    (36701)

  • Simple Spark Dropdown List Question

    Hello,
    In my interface, I have a drop down list. When the user changes the value, I'm trying to throw up an alert window ( 'are you sure...') because the change has a ripple effect. Everything works fine except when the user makes their selection from the Alert window, the dropdown list stays open. I've tried the 'closeDropDown' method, but that doesn't seem to work. I thought it might be because of the Alert control, but I'm not sure.
    Any help or a nudge in the right direction to where I can find an answer would be appreciated.

    First, thanks for responding.
    I was throwing up the alert window on the 'change' (and also unsuccessfully the 'changing') event of the drop down list. After reading your response, I tried throwing it up on the 'close' event of the dropdown list, which worked.

Maybe you are looking for

  • Exception handling to catch the outcome of a select

    Hello, I want to use exception handling to exit me out of a function module.  I want to have one exception for all errors. For example, if this select statement does not work, how do I finish up this code to make it work. error type cx_bsx try select

  • Updating to 2.0 from a computer that is not mine?

    Alright, everyone. I have a small problem. I am on a trip, and the only computer that I have access to belongs to a friend of mine. Now, I can download the update through iTunes, but I cannot figure out how to backup my iPod for the big erase. I am o

  • Removable media

    For some reason I cannot unmount removable media (in my case a USB flash drive) from Thunar using HAL. I believe it is saying that I do not have permission to unmount it. I've tried putting my user in the groups "hal" and "storage". I can't seem to f

  • Parsing the word file using oracle text having tables within it............

    Hi, I was going through this document.Actually I am going to implement something like full text search functionality in our system. We get the info as .doc file. Earlier what we used to do is, we used to parse the file and store it into the database

  • Custom sort in Project problem

    Hello, I have a project of old family photo scans that I have custom sorted chronologically and on occasion the images will change from the order that I have them sorted. Any thoughts? Thanks - Scrags