D
Dodger
I've been working on this little doohickey for a bit now... (please
ignore the speed issues of some of the queries -- things aren't all
optimised up in mysql yet)
http://www.xfx3d.net/test/storebrowser_frameset.html
Well, I'm also running into Javascript problems...
The idea is supposed to be that a user can select one or more options
from any given menu. As they do so, the options in the table will
repopulate. That bottom frame will be an iframe later, BTW. It was just
simple to throw together this way.
Now, here's the thing... what it should be doing in the javascriptish
end of things:
1) Any time any selection is made other than 'All' in one of the menus,
'All' should be deselected.
2) Any time a selection is made and is different than what was there
before (i.e. an onchange), the form should be submitted.
HOWEVER: If the Control (or Command, on a Mac) key is currently
down, then the form should not be submitted until it's released,
allowing the user to select multiples without them going away while
trying to select them.
3) Based on the selections made, the stuff in the multi selects should
be repopulated.
So the issues I've had:
1) In FireFox, it's a little inconsistent as to whether it realises the
Ctrl/Cmd key is pressed. Sometimes I'll have Control firmly held down,
select something, go to select something else, and... pppprt -- the
form has submitted and the something else goes away now. Not what it's
supposed to do, and not what I coded it to do... but sometimes it just
does. Any idea on why and how to fix?
2) In Safari, the multiselect options are not being repopulated. They
don't go away, and nothing gets added. I get ReferenceError: Base is
not an object. Huh? What's base? Do it all belong to us? I have nothing
in here called Base. To make matters worse, while hitting the Search
and Test this thang buttons works right, the automated submit is
opening a new friggin tab...!?!
3) I haven't even tried it in IE yet. Honestly, I want to make it work
in decent browsers before worrying about that hunk of crap. I figure
with these issues already... well... yeah. FF and Safari, then I'll try
and make the rubbish work with it, too.
Any help? Any at all? Pleaaase?
ignore the speed issues of some of the queries -- things aren't all
optimised up in mysql yet)
http://www.xfx3d.net/test/storebrowser_frameset.html
Well, I'm also running into Javascript problems...
The idea is supposed to be that a user can select one or more options
from any given menu. As they do so, the options in the table will
repopulate. That bottom frame will be an iframe later, BTW. It was just
simple to throw together this way.
Now, here's the thing... what it should be doing in the javascriptish
end of things:
1) Any time any selection is made other than 'All' in one of the menus,
'All' should be deselected.
2) Any time a selection is made and is different than what was there
before (i.e. an onchange), the form should be submitted.
HOWEVER: If the Control (or Command, on a Mac) key is currently
down, then the form should not be submitted until it's released,
allowing the user to select multiples without them going away while
trying to select them.
3) Based on the selections made, the stuff in the multi selects should
be repopulated.
So the issues I've had:
1) In FireFox, it's a little inconsistent as to whether it realises the
Ctrl/Cmd key is pressed. Sometimes I'll have Control firmly held down,
select something, go to select something else, and... pppprt -- the
form has submitted and the something else goes away now. Not what it's
supposed to do, and not what I coded it to do... but sometimes it just
does. Any idea on why and how to fix?
2) In Safari, the multiselect options are not being repopulated. They
don't go away, and nothing gets added. I get ReferenceError: Base is
not an object. Huh? What's base? Do it all belong to us? I have nothing
in here called Base. To make matters worse, while hitting the Search
and Test this thang buttons works right, the automated submit is
opening a new friggin tab...!?!
3) I haven't even tried it in IE yet. Honestly, I want to make it work
in decent browsers before worrying about that hunk of crap. I figure
with these issues already... well... yeah. FF and Safari, then I'll try
and make the rubbish work with it, too.
Any help? Any at all? Pleaaase?