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

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-15-2011, 04:47 PM   PM User | #1
Daniel_A_Varney
Regular Coder

 
Join Date: Jul 2011
Posts: 105
Thanks: 12
Thanked 1 Time in 1 Post
Daniel_A_Varney is an unknown quantity at this point
Is This A Good Call For Using Frames?

On my page, I have a paragraph where I discuss some of the novelists I have illustrated for. Where I mention names, I have coded them as links, which transport the viewer to the official websites for these authors.

To reduce the risk of the fox getting caught in digression, (possibly following links from other pages and perhaps not coming back) I would like these websites to open up in a framset in a bid to help anchor my viewer to my own page.

I know people hate frames. I haven't used them since 1996. For the past four and a half years (ever since I discovered CSS) I have done my utmost to adhere to W3C web standards. But the frameset is still valid under CSS3 and I was wondering if this purpose is a good call for using frames?

The rest of my site will NOT be using frames, anywhere. It is just for this one page, where I want to 'link out' temporarily, during a particular discussion.

Your honest thoughts are appreciated.

Last edited by Daniel_A_Varney; 07-15-2011 at 04:53 PM..
Daniel_A_Varney is offline   Reply With Quote
Old 07-15-2011, 04:59 PM   PM User | #2
Asher01
New Coder

 
Join Date: Jul 2011
Location: Australia
Posts: 47
Thanks: 1
Thanked 3 Times in 3 Posts
Asher01 is an unknown quantity at this point
I believe, if you want to show other websites within your own website the best option would be to use iframes instead of an actual frame.

It's very simple and you don't need to use a different !DOC type that declares as a frameset.

It's as simple as this:

[code]<iframe src="URL" width="" height=""></iframe> [code]


Have a further read how here:

http://www.w3schools.com/html/html_iframe.asp

Last edited by Asher01; 07-15-2011 at 05:02 PM..
Asher01 is offline   Reply With Quote
Old 07-15-2011, 05:02 PM   PM User | #3
Daniel_A_Varney
Regular Coder

 
Join Date: Jul 2011
Posts: 105
Thanks: 12
Thanked 1 Time in 1 Post
Daniel_A_Varney is an unknown quantity at this point
Thank you. That would be cool. I know how to use iframes and I think that it would be simpler to code up and could be nicely integrated into my design. I have heard bad things about iframes, but nothing specific. Could it be just the same complaints people normally have about framesets?

Thanks.
Daniel_A_Varney is offline   Reply With Quote
Old 07-15-2011, 05:12 PM   PM User | #4
Asher01
New Coder

 
Join Date: Jul 2011
Location: Australia
Posts: 47
Thanks: 1
Thanked 3 Times in 3 Posts
Asher01 is an unknown quantity at this point
I believe they do away with a lot of the problems usually associated with framesets. As they are kinda not really a frameset... more like imbedding an image... only it's a website.

However, I think there has been a few complaints with positioning them as they might look in place using one browser but another browser shows them sitting somewhere else.
Though, I think you can use a div to keep them in place... that's my answer to half my problems.. that and the use of position:relative or position:absolute then specifying how many pixels left, right, top or bottom.

I suppose, an alternative would be to learn Java and/or Flash? I'm not yet at that stage myself though.
Asher01 is offline   Reply With Quote
Old 07-15-2011, 05:18 PM   PM User | #5
Daniel_A_Varney
Regular Coder

 
Join Date: Jul 2011
Posts: 105
Thanks: 12
Thanked 1 Time in 1 Post
Daniel_A_Varney is an unknown quantity at this point
Thank you, Asher. That's very helpful. I can consider this as an option.
__________________
Try to keep a straight face whilst considering the following question:

"How do I download the internet?"
Daniel_A_Varney is offline   Reply With Quote
Old 07-15-2011, 05:30 PM   PM User | #6
Asher01
New Coder

 
Join Date: Jul 2011
Location: Australia
Posts: 47
Thanks: 1
Thanked 3 Times in 3 Posts
Asher01 is an unknown quantity at this point
Happy to have been a help..
Asher01 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 04:06 AM.


Advertisement
Log in to turn off these ads.