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 CommunityMaking CalendarScript BetterSuggestions and Ideas (Moderators: scott, DanO, Marty)Show description when you hover the mouse over the title
Pages: [1]   Go Down
Print
Author Topic: Show description when you hover the mouse over the title  (Read 3193 times)
0 Members and 1 Guest are viewing this topic.
cdubbs94
New Member
*

Karma: 0
Offline Offline

Posts: 0

Software Engineer


« on: July 14, 2003, 11:53:00 AM »

Here's a suggestion. I have updated my script to show the event description when you hover the mouse over the event title in the regular calendar view. All I did was added

title="<%= $EVENT->{'details'}->{'description'} %>"

to the href in the default.html template files. My suggestion would be to add this feature to the script so everyone can enjoy it.

Another suggestion that I have is to add a Forgot Password feature, where if a user supplied an email address, including the Administrator, the user can have their password emailed to them in case they forgot it.

[This message has been edited by cdubbs94 (edited July 14, 2003).]

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: July 29, 2003, 01:42:00 PM »

** add a Forgot Password feature, where if a user supplied an email address, including the Administrator, the user can have their password emailed to them in case they forgot it. **

User passwords are only stored in an encrypted format, there is no way for CalendarScript to retrieve them. Such a feature could be designed as a plug-in however storing the passwords unencryped could be a security risk.

Dan O.

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

Logged
King-Kong
Guest
« Reply #2 on: October 08, 2003, 11:03:00 AM »

thanks dubbs!

this worked well for me, though, anyway to allow it to pop up at a faster rate, or are we now talking about DHTML?

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: October 08, 2003, 01:00:00 PM »

** anyway to allow it to pop up at a faster rate **

That is entirely up to the operating system the browser is running on. In Windows, I'm sure it is configurable but would likely require manually editing the registry file. Doing so wouldn't help other users though.

The only other way would be to use DHTML or maybe JavaScript. A different JavaScript implementation is available at the Unofficial CalendarScript - Mods and Plugins site in the 'Hacks' section called "Popup Description". Maybe you might like it instead?

Dan O.

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

[This message has been edited by DanO (edited October 08, 2003).]

Logged
Bartman
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #4 on: November 06, 2003, 02:07:00 PM »

This didn't seem to work for me.  Here is my code for the Grid view.
<TR><TD BGCOLOR="<%=(($STYLE eq "Grid")?$_COMMAND_OPTION_SELECTED_BGCOLOR:$_COMMAND_OPTION_BGCOLOR)%>"><a href="<%= $CG
I_URL_QUERYSTRING %>style=Grid" title="<%= $EVENT->{'details'}->{'description'} %>" CLASS="<%=(($STYLE eq "Grid")?"selectedcommandtext":"commandtext")%>">Grid</A></TD></TR>


Basically, I added it before the CLASS tag.

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

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: November 06, 2003, 09:06:00 PM »

** This didn't seem to work for me. Here is my code **

So are you saying your code did work?

Dan O.

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

Logged
Bartman
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #6 on: November 07, 2003, 08:43:00 AM »

No, That is a piece of my code from default.html that shows where I added 'dubbs' line of code.
However, I am not getting the pop up.

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

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: November 07, 2003, 02:46:00 PM »

** I am not getting the pop up. **

It isn't a "pop up" but a 'tool tip' and will likely be dependent on the browser and operating system being used by the viewer. If you post a link to your calendar I and others can tell you if it is working as it is suppose to on our systems.

If it is, the problem is likely on your end (ie. browser and/or operating system).

Dan O.

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

Logged
Bartman
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #8 on: November 10, 2003, 08:47:00 AM »

**It isn't a "pop up" but a 'tool tip' and will likely be dependent on the browser and operating system being used by the viewer. If you post a link to your calendar I and others can tell you if it is working as it is suppose to on our systems.

If it is, the problem is likely on your end (ie. browser and/or operating system).
**

My calendar sits behind the corporate firewall so there isn't a way for me to post a link to it.  We use Windows 2000 for the operating system and IE 6.0 for the browser.
One thing that I did notice is that when I do a search in my default.html file for 'description', the entry that I added is the only entry for that.  It is not defined earlier in my html.

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #9 on: November 10, 2003, 08:25:00 PM »

** when I do a search in my default.html file for 'description', the entry that I added is the only entry for that. It is not defined earlier in my html. **

It isn't usually used anywhere in the default.html template to my knowledge so it shouldn't be there otherwise.

I don't know what else to tell you without being able to see what HTML code is output. Sorry.

Dan O.

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

Logged
Bartman
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #10 on: November 11, 2003, 09:00:00 AM »

That's Ok Dan.  
Thanks Anyways.

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

Logged
caputo737
New Member
*

Karma: 0
Offline Offline

Posts: 14


« Reply #11 on: July 03, 2007, 01:55:43 PM »

Would love to have this feature but a, having difficulties.  Any help much appreciated. 

Here is code with the added code highlighted in red:

<%-- LIST STYLE DISPLAY --%>
            <CENTER><TABLE BORDER="0" WIDTH="90%"><TR><TD ALIGN="left">
            <SPAN CLASS="text">
            <DL>
            <%$total_events=0;%>
            <%FOREACH EVENTLIST%>
               <%IF EVENTS EXIST%>
               <%$total_events++;%>
               <DT><B><A HREF="<%=$CGI_URL_QUERYSTRING%>selected_datestring=<%=$DAY->{'datestring'}%>&datestring=<%=$DAY->{'datestring'}%>&view=Day" CLASS="text"><%=$DAY->{dayname}%>, <%=$DAY->{monthname}%> <%=$DAY->{dd}%></A></B>
               <DD>
                  <%FOREACH EVENT%>
                     <% if ($_SHOW_GRID_EVENT_BULLET) {%>&#149;<%}%>
                     <% if ($_SHOW_EVENT_TIMES eq "ALL" || $_SHOW_EVENT_TIMES eq "START") { %>
                        <% if ($EVENT->{'schedule'}->{'start_time'}) { %><%= SCHEDULE FIELD(start_time) %><% } %>
                     <% } %>
                     <% if ($_SHOW_EVENT_TIMES eq "ALL") { %>
                        <% if ($EVENT->{'schedule'}->{'end_time'}) { %>-<%= SCHEDULE FIELD(end_time) %><% } %>
                     <% } %>
                     <% if (($_SHOW_EVENT_TIMES eq "ALL" || $_SHOW_EVENT_TIMES eq "START") && ($EVENT->{'schedule'}->{'start_time'})) { %> : <% } %>
                     <A HREF="<%=$CGI_URL_QUERYSTRING%>view=Event&event_id=<%= EVENT FIELD(id) %>" STYLE="text-decoration:underline;" title="<%= $EVENT->{'details'}->{'description'}%>" CLASS="smalltext"><%= EVENT FIELD(title) %></A><BR>

here is the page where the calendar lives: www. juneauhotspot. com.

Thanks for any help.

NOTE: The site is preproduction and has just dummy info in it right now for development.

Jason

Logged
Lady Di
Jr. Member
**

Karma: 0
Offline Offline

Posts: 51


WWW
« Reply #12 on: August 20, 2007, 03:02:13 PM »

Quote from: cdubbs94 link=topic=1566.  msg6617#msg6617 date=1058201580
Here's a suggestion.   I have updated my script to show the event description when you hover the mouse over the event title in the regular calendar view.   All I did was added<P>title="<%= $EVENT->{'details'}->{'description'} %>"<P>to the href in the default.  html template files.   My suggestion would be to add this feature to the script so everyone can enjoy it.  <P>[This message has been edited by cdubbs94 (edited July 14, 2003).  ]

I like this idea too cdubbs.   But I've taken the liberty of adding banners, flyers and other graphics to my descriptions.   Wonder who this line added would affect that? And I am not sure where to add your line exactly?!?!
Logged

My long running account in here is under 'LadyDi' and my calendar is located here.
wakalapi
New Member
*

Karma: 0
Offline Offline

Posts: 2


« Reply #13 on: November 07, 2007, 02:45:08 AM »

I used overLIB javascript to create popups.    It is described here:

(change hxxp to http and get rid of spaces . . .  forum adds them for security reasons)

hxxp: www. calendarscript. com/support/forum/index. php/topic,1530. 0. html
« Last Edit: November 07, 2007, 02:46:43 AM by wakalapi » Logged
Pages: [1]   Go Up
Print
Jump to: