Solved

phpBB in iFrame - Cursor positioning problem

Posted on 2009-05-15
2
364 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error when logging into pinterest- Java- cookies- browser 1 33
Code Manager | Snippits 2 63
need help with share buttons 11 69
send to option in chrome 11 37
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
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.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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).

749 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