Solved

Make the characters in a password field into images?

Posted on 2007-12-04
3
494 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

828 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