Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 8 votes, 3.13 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-20-2002, 02:50 AM   PM User | #1
jmacmillan
New Coder

 
Join Date: Jun 2002
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
jmacmillan is an unknown quantity at this point
Lock into Iframe?

I have a scenario where I use a a javascript to obtain a username and password for an FTP site, then upon clicking the login button uses that information to create the URL that the person logs into. All of this takes place in an inline frame, but I sam having a couple of small problems.

First, I would like to contrain all of those windows to the fram, and though initially it opens in the frame, subsequest folder openings pop open a new window.

Second, I have no mechanism for my users to control the window. IE they cannot go back since there is no control menu in the frame. This is particularly anoying when going several directories deep into an ftp site, and then wanting to go back.

I have set up a URL for anyone to look at and give me some ideas on how to solve this.

go to http://www.imagineering-online.com/downloads.htm

click on the ftp link

use test and test for the user and password.

If you reproduce what I and my users are seeing, you will login to the site within the frame with no controls. Clicking any folder will open it into a new window.

Now some of the controls that I have used to create this are a little unfamiliar to me (I am not the normal designer), so I will gladly take any corrections you may have to offer.

Thanks for any help!
jmacmillan is offline   Reply With Quote
Old 06-20-2002, 05:07 AM   PM User | #2
bpaulsen2000
Regular Coder

 
Join Date: Jun 2002
Posts: 117
Thanks: 0
Thanked 0 Times in 0 Posts
bpaulsen2000 is an unknown quantity at this point
hi,

had a couple of chuckles watching the Flash stuff.

think your problem is related to how you target your link.
first, give your Iframe a name, just like you would for a normal
frame( e.g., "myframename"). then use target="myframename"
with your link.
bpaulsen2000 is offline   Reply With Quote
Old 06-20-2002, 02:48 PM   PM User | #3
jmacmillan
New Coder

 
Join Date: Jun 2002
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
jmacmillan is an unknown quantity at this point
naming the frame

Glad you enjoy the content!

As far as naming the frame, have already done so.

If you check the source, you will find that the Iframe name is I1.
jmacmillan is offline   Reply With Quote
Old 06-20-2002, 02:58 PM   PM User | #4
QuackHead
Regular Coder

 
Join Date: Jun 2002
Posts: 344
Thanks: 0
Thanked 0 Times in 0 Posts
QuackHead is an unknown quantity at this point
I'm thinking it has nothing to do with the IFrame name (Although, you could try using the id property instead of the name property - this probably wont change much though)

Because you're using FTP, It's just loading IEs FTP interface, when you click on a folder or something, it'll open it in the full window because the toolbar needs to change to display all of the FTP control buttons.

I'm not sure that there's a way around this.

~Quack
QuackHead is offline   Reply With Quote
Old 06-20-2002, 03:09 PM   PM User | #5
jmacmillan
New Coder

 
Join Date: Jun 2002
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
jmacmillan is an unknown quantity at this point
I can't give a specific example, but I know I have been to sites where essentially the "whole" new window, including toolbar, is included inside the frame.

This would be no different than manually browsing to a different site within a site with frames. Some sites will load that new window within their frame.

I guess this is what I am trying to do, just don't know how...

I hope I am explaining it clearly...
jmacmillan is offline   Reply With Quote
Old 06-20-2002, 04:14 PM   PM User | #6
QuackHead
Regular Coder

 
Join Date: Jun 2002
Posts: 344
Thanks: 0
Thanked 0 Times in 0 Posts
QuackHead is an unknown quantity at this point
Wouldn't happen to be a user-created interface, would it?

I don't think I've ever seen this (what you're trying to accomplish) before - which makes it harder for me to help you

If you come accross any examples, post them here, cause I'd like to see this..

~Quack
QuackHead is offline   Reply With Quote
Old 06-20-2002, 04:16 PM   PM User | #7
jmacmillan
New Coder

 
Join Date: Jun 2002
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
jmacmillan is an unknown quantity at this point
I can't say for certain...I am not entirely sure how to proceed, if you know what I mean.
jmacmillan is offline   Reply With Quote
Old 06-20-2002, 04:37 PM   PM User | #8
QuackHead
Regular Coder

 
Join Date: Jun 2002
Posts: 344
Thanks: 0
Thanked 0 Times in 0 Posts
QuackHead is an unknown quantity at this point
Quote:
Originally posted by jmacmillan
I can't say for certain...I am not entirely sure how to proceed, if you know what I mean.
Ahh yes, the proverbial "What do I do next" stage... I know what that's like, and I'm sorry I can't be of more assistance to you...
QuackHead is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:03 AM.


Advertisement
Log in to turn off these ads.