DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • July 30, 2016, 04:05:35 AM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: [1]   Go Down
  Print  
Author Topic: <select  (Read 2393 times)
0 Members and 1 Guest are viewing this topic.
CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« on: March 21, 2005, 10:01:42 AM »

On line 162 of 'lib/pageparts.php':
Code:
      if (target.nodeName.toUpperCase()=='INPUT' || target.nodeName.toUpperCase()=='TEXTAREA' || altKey || ctrlKey){
Could this be changed in the core to:
Code:
      if (target.nodeName.toUpperCase()=='INPUT' || target.nodeName.toUpperCase()=='TEXTAREA' || target.nodeName.toUpperCase()=='OPTION' || altKey || ctrlKey){
So that you could push alphanumeric characters in an option field to change it, without having a page move.
I think it's 'OPTION', anyhoo.
It might be 'SELECT'.
I've tried playing around with onkeypress='', onkeydown='', onkeyup='', onblur='', and onfocus='' to try to cancelbubble any events, however it either cancels *all* events on the page, or none of them.
Logged
Kendaer
Guest
« Reply #1 on: March 22, 2005, 07:55:40 AM »

The field would be a select, but no, I don't believe so, because those are not fields which accept text input in reality.  ONLY the two named actually accept text input.  The rest is browser shorthand for lazy people, which conflicts with our game shorthand for lazy people.

Personally, I am more in favor of our game shorthand for lazy people.
Logged
CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« Reply #2 on: March 23, 2005, 03:20:01 AM »

I can see that, but it'd only actually affect anything like that if users were to click on the select box
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Who's Online
33 Guests, 0 Users
DragonPrime LoGD
Recent Topics
Home Forums News Links Downloads Login Register Advanced Search