473,394 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Replacing frames with css and objects, problems

I've been doing a re-design of a website which was frame based.

The site is basically a magazine, with each issue having multiple
articles. Each article is in its own separated file.

I want to keep the same Frame functionality but now I use javascript
and HTML objects.

You can see this here:
http://www.koala-tea.com/paul/bullet...004/index.html

as i click on each article name a javascript changes the content of
an object in the center of the page

The problem i have been having is getting the object to display
correctly, IE doesn't undersatnd width=100% and makes the whole
article about 1/2in wide on the screen.

and i get phantom scrollbars sometimes too.

Is there any other way to write content from an external file into a
web page?
Jul 21 '05 #1
2 3434
I have something very similar to what you want to do at
http://www.francesdelrio.com/dhtml/sonnets.html
(simpler than yours, but same principle, I think..)

for same in frames version check out http://www.francesdelrio.com/sonnets/
(this one was just a learning exercise when I was learning to navigate
thru frames w/JavaScript, has borders on, like this you can more clearly
see how it was done..)

(the advantage to me of doing it like first example is that like that
you have everything in one file, in frames version each "div" is a
separate file, which can be pain, but I guess in some cases this can
more practical if each "div" has a lot of content, and like this it can
be easier to organize content, etc..)

both examples work in IE5+ and N6+... hope this helps.. good luck...
Frances
test wrote:
I've been doing a re-design of a website which was frame based.

The site is basically a magazine, with each issue having multiple
articles. Each article is in its own separated file.

I want to keep the same Frame functionality but now I use javascript
and HTML objects.

You can see this here:
http://www.koala-tea.com/paul/bullet...004/index.html

as i click on each article name a javascript changes the content of
an object in the center of the page

The problem i have been having is getting the object to display
correctly, IE doesn't undersatnd width=100% and makes the whole
article about 1/2in wide on the screen.

and i get phantom scrollbars sometimes too.

Is there any other way to write content from an external file into a
web page?


Jul 21 '05 #2
test wrote:
I've been doing a re-design of a website which was frame based.

The site is basically a magazine, with each issue having multiple
articles. Each article is in its own separated file.

I want to keep the same Frame functionality but now I use javascript
and HTML objects.

You can see this here:
http://www.koala-tea.com/paul/bullet...004/index.html

as i click on each article name a javascript changes the content of
an object in the center of the page

The problem i have been having is getting the object to display
correctly, IE doesn't undersatnd width=100% and makes the whole
article about 1/2in wide on the screen.

and i get phantom scrollbars sometimes too.

Is there any other way to write content from an external file into a
web page?


By using server side scripting instead? Otherwise anyone who has JavaScript
disabled won't be able to see your content.
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

40
by: JohnnyCJohnny | last post by:
Is it pretty safe to say that almost all web surfers now use browsers that are Frames compatible? What are most people using these days? IE? Thanks
12
by: tomasio | last post by:
Dear Group, I managed to simulate framelike behaviour in mozilla-based browsers by now, but it doesn't work out with Internet Explorer 6. Could someone glance through the code on the...
7
by: millhauser | last post by:
I built my portfolio with Dreamweaver MX. In the bottom frame, I have thumbnails of images. When you click on a thumbnail, it is supposed to load the full size image in a targeted part of the top...
95
by: Neal | last post by:
Of course, every frame site I've ever seen has reduced usability and all. We've been through this before. But as frameset is still a part of HTML, there must be some legitimate use for it, hmm?...
25
by: Steal | last post by:
Hi at all I try to validate this page using the link: http://validator.w3.org/ but it return that this is not a valid HTML 4.01 page please where is it error? Steil <!DOCTYPE HTML PUBLIC...
5
by: Tammy | last post by:
I'm attempting to code a page that uses frames. I have a particular activity that I wish to have happen. The left hand pane is the Table of Contents. The right hand pane shows data. For some...
7
by: dj Bass | last post by:
simple, they don't like things that restrict the server-side controls... and when it comes to frames, you need client side stuff and that stuff's up the asp.net strategy. right or wrong?
20
by: M.Siler | last post by:
Let me first by saying I am NOT a .net programmer, but am very skilled with ASP, JavaScript, HTML, DHTML, Flash development. I've been reading through posts here about Frames vs. Master Pages and...
3
by: Nish | last post by:
Is HTML frame is an old technology? Will the modern web application are developed using the HTML frames? Does all the browsers support them? Thank you for your suggestion, Nish
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.