iframe - targeting position

They have: 4 posts

Joined: Jan 2005

Hi there,

I'm having a problem with a feature of the iframe tag. I have a site I'm working on. http://cruiseratings.com/newcruiseratings-iframe2.html

Everything works nicely within the iframe except if someone cursors down on this page and clicks on a logo (use Windjammer Barefoot Cruises) as an example, it takes you to the page but it shows the bottom of the page. Is there a way for me to force the new iframe content to jump back to the top?

Thanks for your help and advice.

Kim

He has: 578 posts

Joined: Jun 2004

I'm not getting that. The iframe content is at the top of the iframe

heebiejeebieclu's picture

They have: 527 posts

Joined: Aug 2004

Looks like you need to extend the height of the iframe.

They have: 4 posts

Joined: Jan 2005

Are you looking at a large monitor? I'm not sure why you aren't seeing what I'm talking about. If someone has to browse (cursor) further down in the page to see one of the cruise lines at the bottom, when you click on the logo or any of the drop down menus, the new content page shows up on the screen at the same location you were when you clicked meaning that when the new content shows up, you have to scroll back up to see it. I've done this on several different computers and it happens on all of them. Making the height larger doesn't help.

He has: 153 posts

Joined: Nov 2004

That iframe looks REALLY funny...its right by my main scrollbar and its rather annoying..

i dont know what you mean though.. im not sure what your asking.

i dont know what its doing.. i cant say i see anything strange on the site..

They have: 1 posts

Joined: Feb 2005

Kim! I know exactly what you're talking about. I have the same thing happen. It will confuse my clients etc.

If I have a long page in an iframe, and click a link at the bottom of that long page..... if the new page the link takes you to is shorter -- it doesn't show! Or it does, it just shows the bottom, but the screen is white.

Anyway I need something that will jump to the top of iframe each time new page is accessed. Did you find ANY way to do this?

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.