My Wiki has some pages that have text that I'd like to be printable to an index card. I've used CSS to create a box with the text inside. Is there a way to just print this box + text without all the other stuff on the page?
Sandy
You could create a skin without all that other stuff (e.g., navigation, tabs, header), and open the "index card" in a pop-up, so users could print using their browser and then close the window.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Sandy Rozhon Sent: Friday, December 10, 2010 8:02 AM To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] Printing part of a page
My Wiki has some pages that have text that I'd like to be printable to an index card. I've used CSS to create a box with the text inside. Is there a way to just print this box + text without all the other stuff on the page?
Sandy
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
By what means could a pop-up window be created? Is there something already built into Mediawiki? I'm feeling clueless here.
Sandy
On 10 Dec 2010 at 13:16, mrthetooth wrote:
You could create a skin without all that other stuff (e.g., navigation, tabs, header), and open the "index card" in a pop-up, so users could print using their browser and then close the window.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Sandy Rozhon Sent: Friday, December 10, 2010 8:02 AM To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] Printing part of a page
My Wiki has some pages that have text that I'd like to be printable to an index card. I've used CSS to create a box with the text inside. Is there a way to just print this box + text without all the other stuff on the page?
Sandy
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Sandy Rozhon wrote:
My Wiki has some pages that have text that I'd like to be printable to an index card. I've used CSS to create a box with the text inside. Is there a way to just print this box + text without all the other stuff on the page?
Hi Sandy,
You can create special CSS which is only applied when printing a page and which hides all the stuff you don't want to be printed. See http://docs.moodle.org/en/Print_style for details.
hth Frank
mediawiki-l@lists.wikimedia.org