Topic: Remove focus from an iframe when it loads a url (Page 1 of 1) 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 (Page 1 of 1)" rel="nofollow" >Topic: Remove focus from an iframe when it loads a url <span class="small">(Page 1 of 1)</span>\

 
paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

posted posted 12-10-2008 18:04

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

posted posted 12-11-2008 15:24

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

posted posted 12-21-2008 01:15

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

posted posted 12-21-2008 13:02

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

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


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


« BackwardsOnwards »

Show Forum Drop Down Menu