We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Design question:  iframes

Tom Knowlton
Tom Knowlton asked
on
Medium Priority
175 Views
Last Modified: 2012-05-06
I wasn't sure where to post this.  I tried to find a "Web Design" zone.  Is there one?


Here in the year 2009 - are iframes frowned-upon, in general?

What is the "best practice" way to display dynamic content?


I am new to web design.  I am trying to start a web design company on the side while I work full time.  It will be "learn as I go" for a while.

http://www.notlwonks.com/altindex.html


What I want is when I click on each tab, the content will change in the area beneath the tab -- without going to a new page.
Comment
Watch Question

David S.Consultant & Challenge Subduer
CERTIFIED EXPERT
Top Expert 2009

Commented:
That page seems to be missing.

Why do you want to avoid loading a page so much? Well optimized web pages don't take long to load.

Reasons to Avoid Frames and iFrames:
http://www.dynamicsitesolutions.com/html/reasons-to-avoid-frames-and-iframes/
Tom KnowltonWeb developer

Author

Commented:
Until I can get Visual Web Developer installed (the installer fails) I don't have many of the features that make this easier, like the Visual IDE.
David S.Consultant & Challenge Subduer
CERTIFIED EXPERT
Top Expert 2009

Commented:
WYSIWYG editors very rarely create the quality of code that experienced professionals can write.

Have you read any books (published in the last 4 years) about making web pages?
Tom KnowltonWeb developer

Author

Commented:
I have some, but have not read them from cover to cover (yet).  I do use them as a reference.

How is dynamic content usually handled for "nav bar" type settings?
Consultant & Challenge Subduer
CERTIFIED EXPERT
Top Expert 2009
Commented:
Most sites just load a new page. Some sites use iframes and others use AJAX. You really need at least an intermediate level of knowledge in JavaScript and DOM to use AJAX though.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Michel PlungjanIT Expert
CERTIFIED EXPERT
Top Expert 2009
Commented:
This is for sure not nice - the frames are outside a frameset which is inside a paragraph.

There should not be a body tag in a frameset document except in the <noframes> part if present

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Untitled document</title>
</head>
<body>
<p>
<frameset></frameset>
<frameset></frameset>
<frame src="altindex.html" name="header"></frame>
<frame></frame>
<frame src="home.html" name="content"></frame>
<frame></frame>
<frameset></frameset>
</p>

Open in new window

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.