Solved

phpBB in iFrame - Cursor positioning problem

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
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.
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now