Thank you, William, this did what I need (I'm embarrassed), on user behavior, 
yes, expect it this way but you never know what user would do even given 
sufficient instructions.  Don

>For this, pretend that the contents of the iframe actually resides in a
>different browser window.
>
>When you click on bn1, you are changing the computers focus to a different
>window.  So all other commands, without using the mouse to change to the
>other window, will only effect that window.
>
>I haven't tried this, but I would suggest having the code after
>'eventTrigger' be [iframeid].focus().  If this works, it will change the
>'active' window back to the framed page.  Of course, this assumes that this
>is what your user would 'expect' the layout to do after a click on a
>button...
>
>William
>
><iframe id="frm1" ...</iframe>
><button id="bn1"... evenTrigger1();document.getElementById('frm1').focus();
>/>
><button id="bn2"... evenTrigger2();document.getElementById('frm1').focus();
>/> 
><button id="bn3"... evenTrigger3();document.getElementById('frm1').focus();
>/>
>
>I's an embarrasing js question, been on and off on js, pretty rusty with
>it...
>
>I have an iframe for text data input, in the meantime, I have a button 
>(id=d2) that has an event trigger to open up another window to do 
>something else, once it is done for the pop-up window, when a user 
>goes back to the iframe for more typing/data input, there's a problem, 
>if he/she hits the space bar, it triggers the id of d2 again, pop up a 
>window again.  Browser = IE7.  I didn't notice this odd behavior in 
>the past, is it because the computer has been hacked hence the 
>keyboard is not functioning nomally but I've just tried two computers 
>with the same odd behavior.
>
>Someone at the js NG suggested adding the this.blur() event after it, it
>worked for button1 but not button2, button3 etc.  
>
><iframe ...</iframe>
><button id="bn1"... evenTrigger1();this.blur(); /> -- this one works
><button id="bn2"... evenTrigger2();this.blur(); /> -- not this one
><button id="bn3"... evenTrigger3();this.blur(); /> -- nor this one
>
>Any idea?  Thanks.
>
>Don
>Chunshen Li 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322142
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to