views:

31

answers:

1

I am loading a page into an iFrame in the dialog. This is a help page with anchor tags. When I load the page using an anchor or even when using the anchor tags in the dialog the browser jumps up to the anchor, even if the dialog is centred.

See: http://immoshots.com/test/jquery.ui.dialog/default.html

Is there a workaround for this?

Another question is why I have double scrollbars.

And btw what's up with the G_JS_API in the top of the iFrame?

A: 

Remove the inline style for the height on id="divId" and the outside set of scrollbars goes away.

For the G_JS_API you have something outputting the string before the JS is added to the element " G_JS_API
"

A stray output somewhere?

Are you using a browser that you can easily inspect elements? In chrom or firefox just right click on something, click on inspect element. From there you can see what styles are affecting the divs and where text is coming from

Kris.Mitchell
Yup, you need to use a tool for inspect elements, I have just browsed your url with the FireBug (Mozilla) and I could see the problems that you have on styles. You can use FireBug in almost any browser. FireBug: http://getfirebug.com/
Darkxes
OK, I'll try that.. what about the anchors?
FFish
Sorry, I have no idea what 'Remove the inline style for the height on id="divId"' means..
FFish
There is a style on the Div with the ID of "divId". inside of that style there is a height set to 493 px. If you take the height style off of the div, the outside scrollbars go away.
Kris.Mitchell