Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IFRAME & JavaScript

Status
Not open for further replies.

goldensunrise

Programmer
Nov 22, 2000
18
first have a look at this:
The problem is this, when i get to the end or the begining of the pages i want that window that pops up to display inside the first window...basically i want to break out of frames but the stuff i have tried hasn't worked...I'm up for suggestions...please help me.
 
hie goldensunrise
if i got it clear, u wanna place ur index.html into ur left iframe?
if u r, just replace this
if (num1 == 1){parent.window.open('index.html')}
with followin:
if (num1 == 1){parent.frames.left.location='index.html'}

regards, vic
 
well almost, what i want to do is have my index page take up the whole page....kinda replace the booktest.html page.
 
no prob: top.location='index.html' regards, vic
 
>>SeAl gotcha!!
goldensunrise, what error do u get? regards, vic
 

goldensunrise, u've broken smth, 'coz my ie5.0 says that there is no such function as Turner(lpage, rpage) & that lpage is undefined, it have 2 be workin; wait a minute, i'll check it.. regards, vic
 
& also check ur script:
function Next()
{
if(num2 == lastpage){'top.location='index.html'}
red shuldnt be there.. regards, vic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top