Topic: Remove focus from an iframe when it loads a url Pages that link to <a href="https://ozoneasylum.com/backlink?for=30700" title="Pages that link to Topic: Remove focus from an iframe when it loads a url" rel="nofollow" >Topic: Remove focus from an iframe when it loads a url\

 
Author Thread
paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

IP logged posted posted 12-10-2008 18:04 Edit Quote

Hi guys - new problem in roundcube mail although this time its more a UI thing. Now roundcube mail holds list of messages in a message list DIv and teh messages when you click on them are actually opened in an adjacent Iframe - pretty simple but it works. However the thing is that when a message is loaded - focus is shifted from teh message list div onto teh iframe especially when teh Iframe get a scrollbar - teh focus is shifted automatically to it.

Is there a way to ensure that when anything is loaded into the iframe it doesn't get keyboard focus or somehow evenn if it does the focus is shifted back to the message list

paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

IP logged posted posted 12-11-2008 15:24 Edit Quote

COme on guys - I need some way to find out that an iframe has loaded a page. Anyway to do this here.. I really could use the help guys...

racerX
Nervous Wreck (II) Inmate

From: Portland Oregon
Insane since: Jun 2006

IP logged posted posted 12-21-2008 01:15 Edit Quote

maybe make a function in the div that calls focus onmousemove.

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 12-21-2008 13:02 Edit Quote

think the only safe place to to this (compability wise) is in the onload inside of the iframe.

coach
Nervous Wreck (II) Inmate

From:
Insane since: May 2011

IP logged posted posted 05-31-2011 11:10 Edit Quote
Edit TP: spam removed


Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu