HighDots Forums  

Replacing frames with css and objects, problems

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Replacing frames with css and objects, problems in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
test
 
Posts: n/a

Default Replacing frames with css and objects, problems - 10-13-2004 , 11:33 PM






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?

Reply With Quote
  #2  
Old   
Frances Del Rio
 
Posts: n/a

Default Re: Replacing frames with css and objects, problems - 10-14-2004 , 12:24 AM






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:
Quote:
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?


Reply With Quote
  #3  
Old   
Nik Coughin
 
Posts: n/a

Default Re: Replacing frames with css and objects, problems - 10-14-2004 , 12:49 AM



test wrote:
Quote:
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.




Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.