Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityEverything ElseGeneral Use (Moderators: scott, DanO, Marty)Full Discription is not shown.
Pages: [1]   Go Down
Print
Author Topic: Full Discription is not shown.  (Read 487 times)
0 Members and 1 Guest are viewing this topic.
JJones
New Member
*

Karma: 0
Offline Offline

Posts: 0

Information Services


« on: January 12, 2005, 08:46:00 AM »

When I open an event the bottom portion of the discription is not shown. I am using the oldstyle template It doesn't matter which browerser that I use IE or FireFox. It appears that it should have a scroll bar to the right but is doesn't. I can click the discriptions and drag the mouse down and view everything but that is the only way.

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: January 12, 2005, 01:02:00 PM »

If your calendar is 'popping up' the event description, it sounds like either the JavaScript code being use for that isn't quite correct or maybe your browser isn't interpreting that code properly.

If you can post the JavaScript code used to popup the screen, I'll see if I can suggest a fix.

Dan O.

------------------

Logged
JJones
New Member
*

Karma: 0
Offline Offline

Posts: 0

Information Services


« Reply #2 on: January 12, 2005, 02:08:00 PM »

Where do I get the Java Script code??

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #3 on: January 12, 2005, 04:01:00 PM »

Either by looking at the source code of the page the links are on or by looking at the code of the template being used to generate that display.

Dan O.

------------------

Logged
JJones
New Member
*

Karma: 0
Offline Offline

Posts: 0

Information Services


« Reply #4 on: January 13, 2005, 08:29:00 AM »

This is the code from the default.html in the templates/oldstyle folder. I hope this is what you are talking about.

<%
$STYLE = $in{style} | | $in{calendar_style} | | "Grid";
$VIEW = $in{view} | | $in{calendar_view};
if (!$in{duration} && !$in{range} && !$in{startdate} && !$in{enddate}) {
   $VIEW | |= "Month";
   }
if ($VIEW eq "Month") { &getEvents( { 'range'=>'month' , 'month'=>$MONTH } ); }
elsif ($VIEW eq "Week") { &getEvents( { 'range'=>'week' } ); }
elsif ($VIEW eq "Two-Week") { &getEvents( { 'range'=>'twoweek' } ); }
elsif ($VIEW eq "Three-Week") { &getEvents( { 'range'=>'threeweek' } ); }
elsif ($VIEW eq "Four-Week") { &getEvents( { 'range'=>'fourweek' } ); }
else { &getEvents( {'duration'=>$in{duration}, 'range'=>$in{range}, 'startdate'=>$in{startdate}, 'enddate'=>$in{enddate} } ); }

if ($Grid->{'rowcount'} > 0) {
   $rowheight = "HEIGHT=\"".int(80/$Grid->{'rowcount'})."%\"";
   }
if ($STYLE eq "Grid") {
   $TABLE_WIDTH="WIDTH=100%";
   $TABLE_HEIGHT="HEIGHT=100%";
   }
%>
<HTML>
<HEAD>
   <TITLE>Calendar</TITLE>
<META HTTP-EQUIV="expires" CONTENT="now">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<!--#include file="styles_scripts.html"-->
</HEAD>
<BODY BGCOLOR="#ffffff" LINK="#000080" ALINK="#000080" VLINK="#000080">
<CENTER>
<TABLE BORDER=1 CELLPADDING=0 CELLSPACING=0 CLASS="thinborder" <%=$TABLE_WIDTH%> <%=$TABLE_HEIGHT%>>
<TR>
   <TD CLASS="thinborder" ALIGN="center" COLSPAN="<%=$Grid->{'colcount'}%>" BGCOLOR="#000080">
   <FONT COLOR="#fffffe">
   <% if ($VIEW eq "Month") { %>
      <A STYLE="color:#fffffe" HREF="<%=$CGI_URL_QUERYSTRING%>month=<%=$LAST_MONTH%>&year=<%=$LAST_MONTH_YEAR%>"><< <%=$LAST_MONTH_NAME%></A>
         
      <FONT SIZE="+3"><%= $MONTH_NAME %> <%= $YEAR %></FONT>
         
      <A STYLE="color:#fffffe" HREF="<%=$CGI_URL_QUERYSTRING%>month=<%=$NEXT_MONTH%>&year=<%=$NEXT_MONTH_YEAR%>"><%=$NEXT_MONTH_NAME%> >></A>
   <% } else { %>
      <A STYLE="color:#fffffe" HREF="<%=$CGI_URL_QUERYSTRING%>year=<%=$LAST_WEEK_YEAR%>&month=<%=$LAST_WEEK_MONTH%>&date=<%=$LAST_WEEK_DATE%>"><< Last Week</A>
         
      <FONT SIZE="+3"><%=$RANGE_START_MONTH%>/<%=$RANGE_START_DATE%>/<%=$RANGE_START_YEAR%> - <%=$RANGE_END_MONTH%>/<%=$RANGE_END_DATE%>/<%=$RANGE_END_YEAR%></FONT>
         
      <A STYLE="color:#fffffe" HREF="<%=$CGI_URL_QUERYSTRING%>year=<%=$NEXT_WEEK_YEAR%>&month=<%=$NEXT_WEEK_MONTH%>&date=<%=$NEXT_WEEK_DATE%>">Next Week >></A>
      <BR>
   <% } %>
   <!--#include file="_view.html"-->
   </FONT>
   </TD>
</TR>
<%IF USER LOGGED IN%>
<TR>
   <TD CLASS="thinborder" ALIGN="right" COLSPAN="<%=$Grid->{'colcount'}%>">
   Logged in as: <B><%=($User->{name} | | $User->{username})%></B> [<a href="<%= $CGI_URL_QUERYSTRING %>&command=logout" onClick="return confirm('Are you sure you want to logout?')">Logout</a>]
   </TD>
</TR>
<%/IF%>

<!-- GRID STYLE DISPLAY -->
<% if ($STYLE eq "Grid") { %>
<TR>
<%FOREACH GRID COLUMN%>
   <TH CLASS="thinborder"><%= $Grid->{'daynames'}->[$COL] %></TH>
<%/FOREACH%>
</TR>
<%FOREACH GRID ROW%>
<TR <%=$rowheight%>>
   <%FOREACH GRID COLUMN%>
   <TD CLASS="thinborder" VALIGN=TOP WIDTH=14% <%=$rowheight%> <%IF SELECTED%>BGCOLOR="yellow"<%/IF%>>
      <%IF DISPLAY%>
         <SPAN BGCOLOR="#CCCCCC" STYLE="background-color:#cccccc"> <NOBR><b><A HREF="<%=$CGI_URL_QUERYSTRING%>selected_datestring=<%=$DAY->{'datestring'}%>&datestring=<%=$DAY->{'datestring'}%>&template=day.html"><%if($DAY->{'d d'}==1&&$VIEW ne "Month"){%><%=$DAY->{'monthname'}%> <%}%><%=$DAY->{'dd'}%></A></b> </NOBR></SPAN>
         <%FOREACH EVENT%>
            <FONT FACE="arial" SIZE="-2">
            •
            <% if ($EVENT->{'schedule'}->{'start_time'}) { %><%= $EVENT->{'schedule'}->{'start_time'} %><% } %>
            <% if ($EVENT->{'schedule'}->{'end_time'}) { %>-<%= $EVENT->{'schedule'}->{'end_time'} %><% } %>
            <% if ($EVENT->{'schedule'}->{'start_time'}) { %> : <% } %>
            <A HREF="<%=$CGI_URL_QUERYSTRING%>popup=0&template=event_detail.html&event_id=<%=$EVENT->{'details'}->{'id'}%>" onClick="showDetails('<%=$EVENT->{'details'}->{'id'}%>');return false;"><%= $EVENT->{'details'}->{'title'} %></A><BR>
            </FONT>
         <%/FOREACH%>
      <%/IF%>
    </TD>
   <%/FOREACH%>
</TR>
<%/FOREACH%>
<!-- END GRID STYLE DISPLAY -->

<!-- LIST STYLE DISPLAY -->
<% } elsif ($STYLE eq "List") { %>
<TR>
   <TD CLASS="thinborder" COLSPAN="<%=$Grid->{'colcount'}%>" VALIGN="top">
      <DL>
      <%$total_events=0;%>
      <%FOREACH EVENTLIST%>
         <%IF EVENTS EXIST%>
         <%$total_events++;%>
         <DT><B><%IF SELECTED%><SPAN STYLE="background-color:yellow"><%/IF%><A HREF="<%=$CGI_URL_QUERYSTRING%>selected_datestring=<%=$DAY->{'datestring'}%>&datestring=<%=$DAY->{'datestring'}%>&template=day.html"><%=$DAY->{dayn ame}%>, <%=$DAY->{monthname}%> <%=$DAY->{dd}%></A><%IF SELECTED%></SPAN><%/IF%></B>
         <DD>
            <%FOREACH EVENT%>
               •
               <% if ($EVENT->{'schedule'}->{'start_time'}) { %><%= $EVENT->{'schedule'}->{'start_time'} %><% } %>
               <% if ($EVENT->{'schedule'}->{'end_time'}) { %>-<%= $EVENT->{'schedule'}->{'end_time'} %><% } %>
               <% if ($EVENT->{'schedule'}->{'start_time'}) { %> : <% } %>
               <A HREF="<%=$CGI_URL_QUERYSTRING%>popup=0&template=event_detail.html&event_id=<%=$EVENT->{'details'}->{'id'}%>" STYLE="text-decoration:underline;" onClick="showDetails('<%=$EVENT->{'details'}->{'id'}%>');return false;"><%= $EVENT->{'details'}->{'title'} %></A><BR>
            <%/FOREACH%>
         <%/IF%>
      <%/FOREACH%>
      </DL>
      <%unless($total_events){%>
      <CENTER><I>No Events</I></CENTER>
      <% } %>
   </TD>
</TR>
<% } %>
<!-- END LIST STYLE DISPLAY -->

<TR>
   <TD CLASS="thinborder" COLSPAN="<%=$Grid->{'colcount'}%>" BGCOLOR="#000080" ALIGN="center">
   <FONT COLOR="white" SIZE="-1">
   Powered by <A HREF="http://www.CalendarScript.com/" STYLE="color:#fffffe;text-decoration:underline;">CalendarScript</A>
   </FONT>
   </TD>
</TR>
</TABLE>
</CENTER>

</BODY>
</HTML>

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #5 on: January 13, 2005, 12:26:00 PM »

Sorry, the JavaScript code responsible for spawning the popup window in contained in another file and just included into that template with the line:

<!--#include file="styles_scripts.html"-->

So you need to open the styles_scripts.html file which should be in the same directory as the template and find the line:

var featureString = 'left='+x+',top='+y+',width='+width+',height='+height;

You can try changing it to the following to see if scroll bars are added to the popup window.

var featureString = 'left='+x+',top='+y+',width='+width+',height='+height+', scrollbars=yes';

Dan O.

------------------

Logged
JJones
New Member
*

Karma: 0
Offline Offline

Posts: 0

Information Services


« Reply #6 on: January 13, 2005, 02:53:00 PM »

You Da Man!!!
Thanks,
That worked great.

Joey

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #7 on: January 13, 2005, 09:03:00 PM »

Glad to gear it.

Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: