Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old February 15th, 2006, 10:49 PM
kralspace kralspace is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: West, Tx USA
Posts: 6 kralspace User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
CSS to hide javascript menu in print style sheet

Just when you think you're finished.......lol

I created a print style sheet for our site that doesn't display banners, icons, etc. and everything works except for not stifling the js menu, it still shows up in printview and prints.

I made this page to post here with just the js links and the 'don't print' style above it that works on everything else. Is there a way to 'turn off' this menu thru CSS? thanks as always, Kathy


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<style type="text/css">

#dontprint {
display : none;
}
</style>

</head>
<body>

<div id="dontprint">

<script type='text/javascript' src='exmplmenu_var.js'></script>
<script type='text/javascript' src='menu_com.js'></script>

</div>

<div id="content">
<h1>North Carolina Curriculum Guide</h1>
</div>

</body>
</html>

Reply With Quote
  #2  
Old February 15th, 2006, 10:52 PM
kralspace kralspace is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: West, Tx USA
Posts: 6 kralspace User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I am so sorry

Please forgive me mighty moderator, I thought I was hitting refresh and sent the question 2 more times.

Kathydumbledore

Reply With Quote
  #3  
Old February 16th, 2006, 08:49 PM
kralspace kralspace is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: West, Tx USA
Posts: 6 kralspace User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: CSS to hide javascript menu in print style sheet

found out i can't control the js menu but I can with a php include menu. thanks, Kathy

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > CSS to hide javascript menu in print style sheet


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT