Solved

Make the characters in a password field into images?

Posted on 2007-12-04
3
491 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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks ill use that as a starting point.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
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…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now