ltwCalendar
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsProjectsltwCalendar

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 June 1st, 2006, 12:48 PM
fdnyfish fdnyfish is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 32 fdnyfish User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Calendar Size

I removed the "sample nav" from the left side in ltw_header.php. My code now reads:

<TABLE>
<tr><td colspan="2" align="center"><H1>GiglioBand Event Calendar</H1></td></tr>
<!-- ltwCalendar Main window starts here -->
<td width="100%">
";
?>

I have tried changing the 100% to 60% yet the calendar remains 100%.

What am I doing wrong?


http://www.giglioband.com/calendar/calendar.php?month=7&year=2006

Reply With Quote
  #2  
Old June 2nd, 2006, 02:11 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Calendar Size

Do a Search on This Forum with "calendar size" or "remove sample nav" and you will find many articles addressing this.

Reply With Quote
  #3  
Old June 2nd, 2006, 02:38 AM
fdnyfish fdnyfish is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 32 fdnyfish User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Calendar Size

Thank you... i resized the calendar, but I cant get it centered. Is the code in the ltwdisplaymonth.php is correct?

echo "<table class="cal" width="80%"><thead class="thead" align="center"><tr>";

Reply With Quote
  #4  
Old June 2nd, 2006, 03:24 AM
JStevenT JStevenT is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Monroe, MI - USA
Posts: 47 JStevenT User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Calendar Size

Hello,

I have this code to make my display correct. See http://truelifecenters.org/ltwCalendar/calendar.php

php Code:
Original - php Code
  1.     <table height="50" width="80%">
  2.     <tr><td width="25%" align="center">&nbsp;</td>
  3.    
  4.     <td width="50%" align="left">
  5.     <a class="prevnext" href="".$this->php_self."?month=".$this->prev_month."&year=".$this->prev_month_year."">".$this->monthnames[(int)$this->prev_month]."</a>
  6.     &nbsp;&nbsp;<font class="caption">".$this->monthnames[(int)$this->month]."&nbsp;".$this->year."</font>
  7.     &nbsp;&nbsp;<a class="prevnext" href="".$this->php_self."?month=".$this->next_month."&year=".$this->next_month_year."">".$this->monthnames[(int)$this->next_month]."</a></td>
  8.     <td width="25%" align="right" valign="bottom">
  9.     <form name="jump" method="get" action="".$this->php_self."?display=month">
  10.     <select name="month" size="1">
  11.     ";
  12.     for ( $i = 1 ; $i <= 12 ; $i++ ){
  13.         echo "<option value="".$i."" ";
  14.         if ( $i == $this->month ) echo "selected";
  15.         echo ">".$this->monthnames[$i]."</option>n";
  16.     }
  17.     echo "
  18.     </select>&nbsp;
  19.     <select name="year" size="1">
  20.     ";
  21.     $yearnow = date("Y");
  22.     for ( $i = ($yearnow - 2) ; $i <= ($yearnow + 2) ; $i++ ){
  23.         echo "<option value="".$i."" ";
  24.         if ( $i == $this->year ) echo "selected";
  25.         echo ">".$i."</option>n";
  26.     }
  27.  
  28.     echo "
  29.     </select>&nbsp;
  30.     <input type="submit" name="Go" value="Go!">
  31.     </form></td></tr></table>";
  32.    
  33.     echo "<table class="cal" width="80%" align="center"><thead class="thead" align="center"><tr>";
  34.    
  35.     for ( $i = 0; $i < 7; $i++ ) echo "<td width="14%">" . $this->daynames[$i] . "</td>n";
  36.     echo "</tr></thead>";
  37.  
  38.     echo "<tbody>n";
  39.     for ( $i = 1; $i <= $num_of_rows; $i++ ){
  40.         echo "<tr>n";
  41.         for ( $j = 0; $j < 7; $j++ ){
  42.           if ( (($i == 1) && ($this->first_day_of_month <= $j)) || (($i > 1) && ($day <= $this->days_in_month)) ){
  43.                 echo "<td class="cal" width="14%" height="" . (100 / $num_of_rows) . "%">";
  44.                 $this->_popup_link("day",$this->php_self."?display=day&stamp=".$this->stamp."&day=".$day."&returnto=month",$day);


John of the Frozen South

Reply With Quote
  #5  
Old June 2nd, 2006, 03:49 AM
fdnyfish fdnyfish is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 32 fdnyfish User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Calendar Size

what file is this code in?

Reply With Quote
  #6  
Old June 2nd, 2006, 04:30 AM
JStevenT JStevenT is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Monroe, MI - USA
Posts: 47 JStevenT User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Calendar Size

ltwdisplaymonth.php l think

l logged off for night.

Reply With Quote
  #7  
Old June 2nd, 2006, 01:03 PM
fdnyfish fdnyfish is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 32 fdnyfish User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Calendar Size

got it... thanks

Reply With Quote
Reply

Viewing: Codewalkers ForumsProjectsltwCalendar > Calendar Size


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 1 hosted by Hostway