This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's Calculator Programming subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. General Coding and Design => Calculator Programming
Author Message
Demon


Advanced Member


Joined: 17 Jun 2006
Posts: 369

Posted: 06 Oct 2007 07:43:47 pm    Post subject:

Is there a well-supported alternative to using frames in which the bandwidth-saving feature still exists? I want to make a two-pane navigator in which all the folders are displayed in one pane and all the files and previews to the right.

I could use CSS and make it all one page, but that would mean it would have to download all the directories, files, and previews every single time and that would be horrible for dial-up users.


Last edited by Guest on 06 Oct 2007 07:44:26 pm; edited 1 time in total
Back to top
spandiv
-- Retired --


Active Member


Joined: 25 May 2003
Posts: 650

Posted: 06 Oct 2007 07:53:21 pm    Post subject:

There are a few different ways to emulate frames using CSS and JavaScript, but it really depends on how much experience you have using those technologies. In any case, here is one cool way to use AJAX: http://www.quirksmode.org/js/navigation.html. You should note that he is importing the separate site navigation into the page, and then using CSS to position it. If this doesn't make much sense to you, then I'd probably just stick to using frames. Wink
Back to top
Demon


Advanced Member


Joined: 17 Jun 2006
Posts: 369

Posted: 06 Oct 2007 07:57:06 pm    Post subject:

I know about AJAX - I like how it gets everything all clean and shiny. :)

No, but really, I'll use it -- I have Prototype and everything -- but how well supported is AJAX?


Last edited by Guest on 06 Oct 2007 07:58:00 pm; edited 1 time in total
Back to top
spandiv
-- Retired --


Active Member


Joined: 25 May 2003
Posts: 650

Posted: 06 Oct 2007 08:01:36 pm    Post subject:

Demon wrote:
I know about AJAX - I like how it gets everything all clean and shiny. :)

No, but really, I'll use it -- I have Prototype and everything -- but how well supported is AJAX?
Very well :biggrin:
Back to top
benryves


Active Member


Joined: 23 Feb 2006
Posts: 564

Posted: 12 Oct 2007 10:03:57 am    Post subject:

Is there any particular reason not to use frames?
Back to top
Demon


Advanced Member


Joined: 17 Jun 2006
Posts: 369

Posted: 12 Oct 2007 11:08:25 am    Post subject:

I hear from everyone that frames are pretty much horrible for reasons assorted.

I played around with them a few days ago, but I could never get those unsightly white lines to go away, and when I moved the attribute that was supposed to turn them off to <frameset>, the XHTML validator screamed at me.


Last edited by Guest on 12 Oct 2007 11:08:58 am; edited 1 time in total
Back to top
benryves


Active Member


Joined: 23 Feb 2006
Posts: 564

Posted: 12 Oct 2007 11:13:09 am    Post subject:

In the same vein that "goto" is evil (when it can be useful and increase readability of code) and that tables are bad (even for tabular data?) Smile
Back to top
Demon


Advanced Member


Joined: 17 Jun 2006
Posts: 369

Posted: 12 Oct 2007 11:18:44 am    Post subject:

In a way, I guess. :P

I probably would have gone on and used the frame method if I could have ever gotten those white lines off and the page still validated. I ended up going with AJAX instead.

I hope AJAX is widely supported...


Last edited by Guest on 12 Oct 2007 11:18:59 am; edited 1 time in total
Back to top
benryves


Active Member


Joined: 23 Feb 2006
Posts: 564

Posted: 12 Oct 2007 11:57:36 am    Post subject:

Yes, "Ajax" has been around since IE5 days; the Outlook team developed XMLHTTP (now XmlHttpRequest) for Outlook Web Access. You need a bit of fudging around to get it to work to its best ability across all browsers, but that's true for all JavaScript-ish code.
Back to top
magicdanw
pcGuru()


Calc Guru


Joined: 14 Feb 2007
Posts: 1110

Posted: 12 Oct 2007 01:14:55 pm    Post subject:

Personally, I dislike frame-based sites because they can make it difficult to link to a specific page while maintaining the proper page layout.
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement