GithubHelp home page GithubHelp logo

michalkow / cssconsole Goto Github PK

View Code? Open in Web Editor NEW
281.0 281.0 17.0 137 KB

cssConsole is a jquery plugin that allows you to transform DOM element into console/terminal like input.

CSS 21.97% JavaScript 78.03%

cssconsole's People

Contributors

michalkow avatar servel333 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cssconsole's Issues

variable settings not globally usable

in line #212 the method reset doesnt work because updateCursor($this, 500); fails due the missing access to the variable settings (is just accessible for the init method)

so then the reset works how it should

Clarify supported elements

It looks like currently this plugin supports

  • input[type=text]
  • input[type=password]

This information should be clearly stated in README.md file

periodic focus prevents browsing

this code should be deleted from the console example or we cant browse on the page because of the autofocus every 100ms

focus = window.setInterval(function() {
if(!$('#input').find('input').is(":focus")){
    $('#input').find('input').focus();
}
}, 100);

Can't clear first character in input control with delete key

There is a minor bug concerning input boxes.

Steps to reproduce:

  1. Type "123" in text or password input control
  2. Position cursor at the start of a string, by pressing left arrow on a keyboard three times
  3. Press Delete key three times

Expected result:

All characters are cleared visually (DOM value is indeed correct - "")

Actual result:

"1" or "*" is left in the input box

Note: If any other character is typed in this input box correct visual marks are shown

Home and End keypresses are not respected

Steps to reproduce:

  1. Type and string into available input controls
  2. Position cursor at some non-leftmost or rightmost position
  3. Press "Home" or "End" key on a keyboard

Expected result:

Cursor is moved to the beginning or end of a string

Actual result:

No action

Firefox compatibility

When browsing demo either in Firefox 16.0.1 (tested in Win/Linux) or 18.0a2 (tested in Linux), and possibly other FF versions/OS's following bugs were encountered:

  • No text is displayed in text inputs when typing, though visually cursor position changes
  • Bug concerning password input - it doesn't delete asterisks when backspacing
  • Can't navigate in input elements using arrow keys - instead it prints one of these (%&(') characters

The caret is not working

hi,
My caret is not the same as the plugin demo,
terminal-fail

i have all the css and js loaded right and i tested in chrome,firefox and ie but they are all the same

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.