Solved

Make the characters in a password field into images?

Posted on 2007-12-04
3
493 Views
Last Modified: 2013-11-19
http://www.osn247.co.uk/temp/buttons.jpg

This is basically what I want, I understand that using different fonts for the input field can give you different characters but I am wondering if you can replace it with an image, much like a <ul>.
0
Comment
Question by:BeenSwank
  • 2
3 Comments
 
LVL 13

Expert Comment

by:R7AF
ID: 20402198
The image you provided is created by you I suppose? I don't know of such an option, certainly not using CSS. With CSS you can use bullet images or background images on input elements, but not on individual characters of those elements, and that's what you're trying to do.

The only option would be to use Javascript. That would mean you do something similar to the wysiwyg editors. Create a hidden password field, and an editor field that fills with the images that you want. How to program this is beyond me.
0
 
LVL 13

Accepted Solution

by:
R7AF earned 125 total points
ID: 20402207
Thinking about it, it is probably not that difficult:

* You push a keyboard button, and read the value of it in javascript.
* The value is put in the hidden password field
* You display a fake text-field and an image for each password character

But how do you handle delete and a blinking cursor?
0
 

Author Comment

by:BeenSwank
ID: 20428066
Thanks ill use that as a starting point.
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question