hiding.. |
![]() ![]() |
hiding.. |
Jun 12 2006, 12:38 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Jun 2006 Member No: 422,263 |
i've been using the following code..
CODE <!-- begin code provided by createblog.com --> <script language="JavaScript"> // Script Created by Mystical for Createblog.com // http://xiphin.com <!-- if(location.pathname=='/YOUR EXACT USER NAME HERE') { document.write("<style type=text/css>td.mainleft{display: none;} </style>") } if(location.pathname=='/item.aspx') { document.write("<style type=text/css>td.mainleft{display: none;} </style>") } if(location.pathname=='/profile.aspx') { document.write("<style type=text/css>td.mainleft{display: none;} </style>") } else { if(location.pathname=='/private/home.aspx') document.write("<!--Display MODULE-->") } //--> </script> <!-- end code provided by createblog.com --> but all i really want to do is hide the posting calender from the public view, but still be able to see it in my private view. i've checked the other scripts, but they all seem to delete the posting calender altogether! is it possible to adjust this coding?? |
|
|
|
Jun 12 2006, 07:37 PM
Post
#2
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
Not really, because the table isn't id'd. You can disable the forms themselves and have them show, but not the entire module.
|
|
|
|
Jun 15 2006, 07:00 AM
Post
#3
|
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Jun 2006 Member No: 422,263 |
how do i do that then??
cos ive looked at some of the other codes already, but they don't seem to work. the only one that works is if i delete the entire left module, and i dont want to do that. thanks in advance! |
|
|
|
Jun 15 2006, 06:51 PM
Post
#4
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
.... View your source and hit Ctrl + F. Type in "posting calendar".
Look at all the id's of the various drop-down forms and copy them all down. (Exactly now...) Seperate them by a comma and then insert into this code: CODE <style type="text/css">DELETE THIS AND STICK YOUR LIST HERE{display: none;}</style>
|
|
|
|
![]() ![]() |