Box?? I didn't get what you meant(Sorry bad english).is it based on pressing it while in the box
Box?? I didn't get what you meant(Sorry bad english).is it based on pressing it while in the box
ddadmin: The Demo URL has been updated, no popups or ads now.
Is the insert function based on a system setting of the insert key being 'set' or is it based on the act of pushing the insert key while your cursor is in the box?
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
It is based on the act of pushing the insert key while your cursor is in the box because the box has the onkeyup handler to capture the event.
Ok.
Then note that if you had insert set (in the system, like in MS Word), and pressed it while in the box, it would be OFF in WORD, and ON in your page.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
I don't think so, because I just tested it with abiword and it doesn't behave like that(on remains on and off remains off). It maybe also because of the operating system(currently linux), drj33 can you test it if you've got windows? Thanks for the suggestion though, if it is true then I think I know what I should do.
It works half the time.
Here's how it won't work:
1. Open word, start typing.
2. Press insert key.
3. Go to your demo page.
4. Click into the textbox.
5. Hit insert.
6. Go back to word.
7. Insert no longer is set.
so... if you set it in word, then set again on your page, won't work.
If you set on your page, then go to word, it will work.
If you set it in word to NOT be inserting, it will also be the same in your textbox*.
*assuming you haven't previously set it. Example:
1. Open demo page.
2. Click in textbox.
3. Hit insert.
4. Click to word
5. Hit insert key to turn off.
6. Insert is off in word.
7. Click back to demo page-- note that insert key is ON.
The reason is that the insert key is a system function. The textbox-only-based function you have can get off from that if insert is pressed outside of the textbox.
This is because:
--Every time you press INSERT, it changes the system setting.
--Only when you are in the textbox does it change your setting.
In all practical ways, this isn't very important, but it is worth thinking about.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
drj33: Strange, it doesn't happen in linux(using abiword and openoffice), must be some problems with Windows or MS Word.
It's not a problem, and it makes perfect sense to me. What browser? I'm using FF.
Random note-- I was just going to test on Mac OSX (safari, FF, IE5), but then I noticed there is NO insert key. There is, interestingly enough, a "help" key.Never had the occasion to try that... but.... yeah.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
drj33: I am using FF too(don't have opera and ie4lin works horrible, and no safari for linux. Therefore no other option), thanks for testing though, I don't think the help key does the work of the insert key does it?![]()
Bookmarks