Solved

phpBB in iFrame - Cursor positioning problem

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

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
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.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

717 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