|
Author |
Message |
kichu
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 20 May 2002
Posts: 3
Location: Chennai, India
|
Posted:
Mon May 20, 2002 1:34 pm (21 years, 10 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
Hi
Please throw at me a php script that could be used to create a printer-friendly page.
(Similar to one that is used in www.4webhelp.net/)
Thanks
S.K |
________________________________ Cause something to change.....!
http://www.cyberbrahma.com/ |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by kichu Find all posts by kichu](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) ![Yahoo Messenger Yahoo Messenger](templates/4WebHelp2/images/lang_english/icon_yim.gif) |
![](images/spacer.gif) |
Daniel
Team Member
![](images/rank_6.gif)
![](http://www.4webhelp.net/forums/images/daniel_avatar.php)
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Mon May 20, 2002 1:38 pm (21 years, 10 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
We aren't actually using a special script. We are using a content management script which allows us to use "templates". We then just use a different template for the printer-friendly version.
Unfortunately, you've used plain old HTML for your site, so without doing it all manually, it isn't possible to have printer-friendly pages. However, for recent browsers, there is an option to use a special style sheet for printing. So you could use this code:
Code: | <div class="menu">Menu</div> |
And then put this in your style sheet (with a media=print attribute):
Code: | .menu { display: none; } |
|
________________________________
![Image Image](http://www.4webhelp.net/images/daniel_sig.gif) |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Daniel Find all posts by Daniel](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
kichu
Junior WebHelper
![Junior WebHelper Junior WebHelper](images/rank_1.gif)
Joined: 20 May 2002
Posts: 3
Location: Chennai, India
|
Posted:
Mon May 20, 2002 1:54 pm (21 years, 10 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
Thanks, Daniel.
I'll try that.
BTW, I was one of the beneficiaries of your site during my brief sojourn in f2s.com!
And wich CMS do you use. I am presently dabbling with Mambo.
Regards
S.K |
________________________________ Cause something to change.....!
http://www.cyberbrahma.com/ |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by kichu Find all posts by kichu](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) ![Visit Poster's Website Visit Poster's Website](templates/4WebHelp2/images/lang_english/icon_www.gif) ![Yahoo Messenger Yahoo Messenger](templates/4WebHelp2/images/lang_english/icon_yim.gif) |
![](images/spacer.gif) |
Daniel
Team Member
![](images/rank_6.gif)
![](http://www.4webhelp.net/forums/images/daniel_avatar.php)
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Mon May 20, 2002 2:00 pm (21 years, 10 months ago) |
![Reply with Quote Reply with Quote](templates/4WebHelp2/images/lang_english/icon_quote.gif) ![Back to Top Back to Top](templates/4WebHelp2/images/icon_up.gif) |
Actually, it isn't really a CMS, it's just a template class, from PHPLib (see Peter's tutorial for a link). |
________________________________
![Image Image](http://www.4webhelp.net/images/daniel_sig.gif) |
|
![Offline](templates/4WebHelp2/images/offline.gif) ![View User's Profile View User's Profile](templates/4WebHelp2/images/lang_english/icon_profile.gif) ![Find all posts by Daniel Find all posts by Daniel](templates/4WebHelp2/images/lang_english/icon_search.gif) ![Send Personal Message Send Personal Message](templates/4WebHelp2/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.262554 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |