This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

IE scrolling issues when using JForum in an iFrame

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JForum in an iFrame. When I access it using any of the Mozilla based browsers it functions as one would expect. However, when I use IE I experience a scrolling problem. The issue is that the container page for the iFrame does not scroll back to the top of the iFrame. So when a user creates a long message the screen can get "stuck" at the bottom when one clicks a link there, requiring manual scrolling of the outer page in order to get to readable material.

As I said, this does not happen with Mozilla. It also does not happen if JForum is out of the iFrame, or if the iFrame is populated with simple html content instead. So it appears to be some specific issue with JForum in an iFrame when viewed with IE.

Any help would be appreciated. (It makes for an awkward user experience, as you can imagine.)

[originally posted on jforum.net by stevec]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IE does inherently have different behaviors than other browsers ... I call them bugs, Microsoft seems to think they are features. ;-)

Do you see your issue on this forum when using IE? iFrames are used for this site.

[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An untested thought... you might be able to add an onload Javascript event on the iframe that would scroll back up. I believe the onload occures anytime a new page is loaded in the iframe.
[originally posted on jforum.net by monroe]
 
Life just hasn't been the same since the volcano erupted and now the air is full of tiny ads.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic