Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Event_calendar --> showing $Event_Title on hover


Go to End
Reply


10 Posts   1296 Views

Avatar
wilsonStaff

Community Member, 142 Posts

29 January 2012 at 5:53am

Edited: 29/01/2012 5:54am

UDATE

Here's my next attempt.

<td class="$Today $OutOfMonth $CurrentDay $HasEvent">
               <% if Events %>
               $Number
                  <% control Events %>
                     <a href="$Event.Link" title="{$Event.Title} - {$Event.Conferencier}"></a>
                  <% end_control %>
               <% else %>
                  <a href="" title="Pas d'évènements pour cette journée">$Number</a>
               <% end_if %>
            </td>

if $Number is declared after <% if Events %>, it displays dates correctly. As pic below describes (more below pic)

But it causes problems:

1) as it has no <a href> it BLOCKS the hovering of the event under the numbering
2) therefore, cant be clicked to get to the $Event.Link nor hovered to access $Event.Title

So i REALLY need to access that $Number INSIDE this

<% control Events %>
   <a href="$Event.Link" title="{$Event.Title} - {$Event.Conferencier}">$Event.Number</a>
<% end_control %>

is there such a thing as $Event.Number????

I cant use $Event.Dates because of repeating events (it displays ALL dates that the event occures).

Avatar
wilsonStaff

Community Member, 142 Posts

30 January 2012 at 6:38am

Edited: 30/01/2012 6:44am

Hi, still looking.... The code below....

<td class="$Today $OutOfMonth $CurrentDay $HasEvent">
      <% if Events %>
         $Number
            <% control Events %>
               <a href="$Event.Link" title="{$Event.Title} - {$Event.Conferencier}"></a>
            <% end_control %>
      <% else %>
            <a href="" title="Pas d'évènements pour cette journée">$Number</a>
      <% end_if %>
</td>

returns this (which is ALMOST what i want), i.e. :

   - shows $Event.Title on hover
   - goes to $Event.Link when clicked

Problem is this (see pic);

- i want whats in red to be clickable / hoverable
- actually, the code $Number (that works best that i can have it to....) correctly displays dates that has an event
BUT
- it blocks whats behind (<a href="$Event.Link" title="{$Event.Title} - {$Event.Conferencier}"></a>) to be clicked or hovered
RESULTS
only a tiny part (in blue) is actually clickable / hoverable

QUESTION

Is there a way to MAKE that $Number data kinda "see-thru" via HTML?????

OR BETTER

to access that $Number INSIDE the <% control Event %> ??

Thanks!

Go to Top