Jump to content

Month And Week Calendar To Show Weekdays Only


Recommended Posts

Many thanks Matilda... I tried this an unfortunately it doesn't work so I'm obviously doing something wrong here..

 

On saving, the system removed </div> from the footer and changed the header to:

 

 

<style type="text/css">#target table:nth-of-type(2) td:nth-of-type(1) {display: none;}

#target table:nth-of-type(2) th:nth-of-type(1) {display: none;}
 
#target table:nth-of-type(2) td:nth-of-type(7) {display: none;}
#target table:nth-of-type(2) th:nth-of-type(7) {display: none;}
 
</style>
<div id="target"></div>
 
Any suggestions?
 
Thanks again..
Link to comment
Share on other sites

Ahhh.. sorted - for weekly anyway...

type(2) needed to be type(3)...

 

This worked:

 

<style type="text/css">

#target table:nth-of-type(3) td:nth-of-type(6) {display: none;}

#target table:nth-of-type(3) th:nth-of-type(6) {display: none;}
 
#target table:nth-of-type(3) td:nth-of-type(7) {display: none;}
#target table:nth-of-type(3) th:nth-of-type(7) {display: none;}
</style>
<div id="target">
 
Many thanks ....
Link to comment
Share on other sites

  • 6 years later...
On 3/14/2016 at 6:48 PM, alanhoffman said:

Ahhh.. sorted - for weekly anyway...

type(2) needed to be type(3)...

 

This worked:

 

<style type="text/css">

#target table:nth-of-type(3) td:nth-of-type(6) {display: none;}

#target table:nth-of-type(3) th:nth-of-type(6) {display: none;}
 
#target table:nth-of-type(3) td:nth-of-type(7) {display: none;}
#target table:nth-of-type(3) th:nth-of-type(7) {display: none;}
</style>
<div id="target">
 
Many thanks ....

   Hi,

Jus to add, you may refer to this link on how to hide (or do any other stylings) multiple sibling elements all at once:

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...