Hi, please check the way articles are shown in the herald website.
It has pagin and columns for reading articles. Anyone familiar with some free javascript code to do this? this could be very popular!
http://www.theherald.co.uk/news/53977.html
Hi, please check the way articles are shown in the herald website.
It has pagin and columns for reading articles. Anyone familiar with some free javascript code to do this? this could be very popular!
http://www.theherald.co.uk/news/53977.html
Why use Javascript for layout? That's a simple CSS stylesheet. There are plenty of examples of the same available on the web.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Can you please give a link for such an example.
http://glish.com/css/2.asp
Needs a little tweaking for your purposes, but should do fine.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
I'm afraid you answered too quickly without taking a look in the link I brought before. CSS might be part of the solution here but there is more - the article is using javascript to be printed which find the width and height of the 3 columns and calculates the font size and how many words can be printed in the layout. You are also able to move between pages in the article. Although the whole article is places in one <div> the page's javascript makes calculation and prints it very nicely.
Go have a look!
The Herald is a terrible site which breaks utterly when client-side scripting is disabled. Don't try to emulate it.
Mike
Bookmarks