Closed Thread Icon

Topic awaiting preservation: I'm stucked again :( Please help Pages that link to <a href="https://ozoneasylum.com/backlink?for=8150" title="Pages that link to Topic awaiting preservation: I&amp;#039;m stucked again :( Please help" rel="nofollow" >Topic awaiting preservation: I&#039;m stucked again :( Please help\

 
Author Thread
Ultra
Nervous Wreck (II) Inmate

From:
Insane since: Jan 2002

posted posted 04-22-2002 10:37

This project is getting harder and harder.....
i'm stuck once again....wich is not funny anymore........

I'm working with the PAge Buffer Script from http://www.stilleye.com/exp/seBuffer/index.html

demo: http://www.stilleye.com/exp/seBuffer/demo.html

i added multiple instance and everything is runnnig fine but now i have a new problem !

I just created a simple frame set with

a top

Middle

and

Bottom

frames


i'm trying to get the script to work in the middle frame but so far is not going to well !


I'm assuming as to do with the included .js

code:
function setBuffer(lyr,url)
{
document.getElementById(lyr).innerHTML = 'loading...'
parent.frames['seBufferBox'].location = url
}

function initBuffer(lyr)
{
parent.document.getElementById(lyr).innerHTML = document.documentElement.innerHTML
}

function init()
{
if(this.location!=top.location) initBuffer('loadTo')
}



and this line : if(this.location!=top.location) initBuffer('loadTo')

but i can't get it to work

anyone as an idea on what to do to solve the problem?

Thank you AGAIN for all the help that i got from this great place

Cheers

Ultra

::UltrA::

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 04-23-2002 05:33

I dunno why they put the top if statement but basically what's happening is that if you're not loading the page in the "top" frame (the main frameset page) then it's not going to wor.

Try just removing the if

if(this.location!=top.location) initBuffer('loadTo')
to
initBuffer('loadTo')




.:[ The Tao of Steve ]:.
Be Desireless
Be Excellent
Be Gone
...................................

Ultra
Nervous Wreck (II) Inmate

From:
Insane since: Jan 2002

posted posted 04-23-2002 06:32

Sorry i forgot to tell you that i already tryied that and it didn't work
Thx anyway for helping do you have any other idea?

cheers Ultra

::UltrA::

« BackwardsOnwards »

Show Forum Drop Down Menu