Theme

R

Robert Thompson

I want to remove a them with asp code to give a page a printable view. Can someone please tell me if this is possible

This is the code i thought would wor

<
If NOT Request.QueryString("print")="true" The
%><meta name="Microsoft Theme" content="newtech 1011, default"><
Els
%><meta name="Microsoft Theme" content="none"><
End I
%>
 
C

chris leeds

perhaps the easiest way to do what you want would be to put your content on
a page without a theme and then include the page with the FrontPage include
component into the page you want it on (which has a theme). then you can
just have your link to the printer friendly page be the page you're
including.
HTH
Robert Thompson said:
I want to remove a them with asp code to give a page a printable view.
Can someone please tell me if this is possible?
 
R

Robert

I had thought of that but felt this had to be possible

----- chris leeds wrote: ----

perhaps the easiest way to do what you want would be to put your content o
a page without a theme and then include the page with the FrontPage includ
component into the page you want it on (which has a theme). then you ca
just have your link to the printer friendly page be the page you'r
including
HT
Robert Thompson said:
I want to remove a them with asp code to give a page a printable view
Can someone please tell me if this is possible
 
S

Stefan B Rusynko

Not possible
FP themes are Design Time tools that can not be applied or removed using run time tools




| I want to remove a them with asp code to give a page a printable view. Can someone please tell me if this is possible?
|
| This is the code i thought would work
|
| <%
| If NOT Request.QueryString("print")="true" Then
| %><meta name="Microsoft Theme" content="newtech 1011, default"><%
| Else
| %><meta name="Microsoft Theme" content="none"><%
| End If
| %>
 
J

Jim Buyens

Nope, sorry. You can only apply or changes Themes at
design time.

To get the effect you want, you'd have to

1. Stop using Themes.
2. Start using a linked CSS style sheet.
3. Define different styles for on-screen and print media.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------


-----Original Message-----
I want to remove a them with asp code to give a page a
printable view. Can someone please tell me if this is
possible?
 
Top