CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   JavaScript programming (http://www.codingforums.com/forumdisplay.php?f=2)
-   -   Frames? (http://www.codingforums.com/showthread.php?t=326)

jmacmillan 06-19-2002 02:51 PM

Frames?
 
I have a page that uses js to open other pages inside an inline frame. Functionally I have finally figured everything out, but I have some small problems.

For example, I want to keep all subsequent "dependent" pages inside that frame. If I open an FTP page in the frame and double click a folder, it opens in a new window, instead of my frame.

I also want to add a toolbar to the frame.

I have an example ready so you can view the source:

www.imagineering-online.com/downloads.htm

click the ftp option

use username:test and password: test

Any of you saavy scriptwriters can help, I would greatly appreciate it.

Keltoi 06-19-2002 03:29 PM

not sure, but I'm getting Runtime Errors on both pages.

jmacmillan 06-19-2002 03:49 PM

FTP script
 
1 Attachment(s)
check out the thread below called FTP script.

This is the implementation I am using, and it appears to work, with the noted exceptions.

:confused:

The attached file is the one I was provided (adapted to my URL).

It has been modified only to open inside a frame using the following:

Replace

window.open('bla','','bla2')

with:

top.FRAMENAME.location.href = 'bla'



If you have any ideas, please advise. I am curious about the errors you mentioned as well. No mention of it thus far.


All times are GMT +1. The time now is 09:19 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.