By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,617 Members | 1,166 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,617 IT Pros & Developers. It's quick & easy.

onFocus event when changing tabs in IE7

P: 1
Hiya there

I'm trying to get prevent what I think is a bug from happening in IE7
If you load (in IE7)this page (mildly adult content please be warned)
and look at the box containing the 'Description', 'Details' and 'Reviews' all looks fine.
If you load another tab and click back to the previous tab, that box containg those titles seems to resize to about half the width it should be (it doesn't happen all the time so be persistent)

I want to know if there is a javascript command I can use that fires on refocusing a tab in IE7 - I can then use it to 'click' on one of the words (i.e. description etc) which seems to re-lengthen the box back to page width.

Any help would be appreciated!


May 18 '07 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
It'd be better to fix the actual problem rather than use a fix. You could call whatever function is called when a tab is clicked.
Jun 7 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.