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
Solved

phpBB in iFrame - Cursor positioning problem

Posted on 2009-05-15
2
358 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
2 Comments
 
LVL 3

Accepted Solution

by:
khr2003 earned 500 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

856 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