?
Solved

phpBB in iFrame - Cursor positioning problem

Posted on 2009-05-15
2
Medium Priority
?
383 Views
Last Modified: 2013-11-19
Hi,
we were delivered a joomla site which has a phpBB3 forum in an iFrame. It has a long main page with too many topics. When we click on a topic close to the bottom of the main page the next page comes also with the cursor at the bottom of the page (same place where we click on the main page). However the content in topic pages is on the top of the page of course.
We need then to scroll up all the blank area on the next page to the top of the page.

So how can we let phpBB in an iFrame to go to the top of the page wtih every new page?

You can experience the prolem here:
http://yeni.heygirl.com.tr/forum.html

Just click a topic at the middle of the page for instance.

Thanks
0
Comment
Question by:gst11
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
khr2003 earned 2000 total points
ID: 24396349
why dont you set the height to auto, try this link: http://www.frontpagewebmaster.com/m-89000/tm.htm

It will explain how to use javascript to resize a frame once a link inside it is clicked.

Hope it helps
0

Featured Post

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question