Tags:
create new tag
view all tags

Uses for Frames

-- Page created by AndyGlew - 26 Jun 2003

This page is for a discussion of using frames in TWiki. Probably this is just a skin issue, and possibly this topic should be moved to the Plugins web, but I am starting it here in Codev because that's where I found the discussion of frames that I am summarizing and responding to.

Attempting a summary:

Bad Aspects of Frames

Examples and Topics of Frame Usage

A Minimal Frame Based Skin

Attached is an example of a minimal header only skin. view.minimal-frame.tmpl defines the frameset, and reinvokes two slightly different view skins, one for the header, which just contains commands, and another for the actual page, the display window, which can scroll without losing the stuff in the header.

It uses the existing wiki template system for both frames. It redraws the entire frameset, both frames, on every page access. _top is specified as the base target.

The main thing that it gets you is the ability to scroll the text frame independently of the frame that contaiins the commands, like edit.

I suppose that I could package something like this for the Plugins web, but I don't think it is really ready for prime time.

Discussion

Interesting approach. I've not tried out your templates, but looking at the source you haven't supplied a content <noframes> sections. Also it's been mentioned elsewhere (haven't got the ref handy, someone please edit it in) that having a static menu bar can also be implemented with CSS. (That said, unlike CSS this just requires frames and if a noframes version was supplied this would probably work with things like cable set top boxes as well)
  • Plugins.SeeSkin does this with css. Unfortunately it only works for Mozilla and Opera, IE users are in the cold. I've seen a work around for IE but haven't tried hard to implement it (it broke some other stuff). -- MattWilkie - 30 Jun 2003

Good counterexample ! smile

BTW, your anchors for subject headings aren't necessary - they get generated automagically if you put %TOC% on the page. I've changed it so that your anchor still works and TOC links the heading correctly.

-- MichaelSparks - 30 Jun 2003

Other uses for frames

From time to time I have also thought of design features and/or applications for TWiki where frames make sense (to me at least). One example is TWikiAsWebCommentaryTool where you'll find some discussion regarding pros/cons of using frames.

-- LynnwoodBrown - 26 Jun 2003

ViewingAttachmentsInline talks about using frames to make it easier to see attachments.

I've added a note ShorterURLs explaining how I have used frames as parrt of a redirection script to obtain shorter URLs without requiring Apace's alias or rewrite engine.

-- AndyGlew - 11 Aug 2003

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formattmpl view.header-only.tmpl r1 manage 0.3 K 2003-06-26 - 21:43 UnknownUser  
Unknown file formattmpl view.minimal-frame.tmpl r1 manage 0.2 K 2003-06-26 - 21:43 UnknownUser  
Unknown file formattmpl view.text-only.tmpl r1 manage 0.1 K 2003-06-26 - 21:44 UnknownUser  
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2003-08-11 - AndyGlew
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.