Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Make the characters in a password field into images?

Posted on 2007-12-04
3
Medium Priority
?
497 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

661 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