Click to See Complete Forum and Search --> : HELP!! how to fix iFrame problems???


BigPimp
12-02-2004, 01:43 PM
my boss complains since several months for 2 dif problems for the adult website i made for him; i think i really pissed him off.. this is a .php site, made with iFrame and i really don't know how to make these things right. i will be very grateful if one of you guys can help me with this:

1.Changes of length between each page and page:
i made the iframe size fit to the longest page available, but there is other pages which is shorter - that creates an annoying blank spaces in some of the pages.
i've seen once a script which helps to resize it, but it didn't worked out (or simply i'm too dumb for this)

2.New pages are always getting open in the last scrolling point:
if i click a link after scrolling down, the next page will always start at the same place inside the Iframe.. never from the top.
to solve this problem, i made this script inside:
<a name="TopOfPage"></a><a id="link_go_top" href="#TopOfPage">
but it always jump roughly only after the page is entirely loaded.. even bigger problem is that you need to click "BACK" twice to browse the page back, because it's an anchor.

PLEASE help me guys with this.. it's too damn complicated for me!!!!

thanks in advance!