Tags:
create new tag
view all tags

Question

Hi,

I'm using twiki cairo with pattern skin. One of my user want to do a dynamic page layout.

He has ~200 gifs (600x600 pixels) that he wants to display in a two-column format:

  • first left colummn (33%): a clickable list of the 200 gifs name, author, and other short text info.
  • second right column (66%): the currently-clicked picture displayed.

He knows how to do that with frames, but I'm dragging him to use Twiki, and I don't know how to do that kind of layout inside a twiki page.

Note that I don't want to change the skin. it's just the inside of one page where I want some dynamic content.

Hope I'm clear and somebody can help me. Thanks,

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Tao Linux
Web server: Apache 2.0.46
Perl version: 5.8.3
Client OS:  
Web Browser:  
Categories:  

-- GillesEricDescamps - 11 Nov 2004

Answer

As for the layout you can use an HTML table. If you can justify a roundtrip to the server you can use URL params to load the picture, as in:

Show picture here. Simulating URL:

https://www.twiki.org/p/pub/Support/HowToDynamicLayoutPage/

You can use a conditional $IF() SpreadSheetPlugin formula to suppress the image if the pic parameter is empty (initial state.)

If you do not want the roundtrip you can use DHTML and JavaScript to display the preloaded images dynamically.

-- PeterThoeny - 11 Jan 2005

I found another way to do it:

Would you rather display

-- GillesEricDescamps - 18 Jan 2004

That's a pretty neat trick Gilles! I like the way it refreshes image without having to refresh the whole page.

-- LynnwoodBrown - 19 Jan 2005

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng clock.png r1 manage 17.6 K 2005-01-19 - 05:36 UnknownUser  
PNGpng kdmconfig.png r1 manage 19.4 K 2005-01-19 - 05:35 UnknownUser  
PNGpng kppp.png r1 manage 22.3 K 2005-01-19 - 05:36 UnknownUser  
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-01-19 - LynnwoodBrown
 
  • 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.