Solved

drupal calendar drop down content

Posted on 2010-08-18
3
536 Views
Last Modified: 2012-05-10
is there a way to achieve the same effect on this calendar?
http://www.dallasopera.org/


by using drupal calendar module and beauty tips module?
0
Comment
Question by:charmingduck
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 16

Expert Comment

by:HagayMandel
ID: 33473302
The closest thing (ready made) is jcalendar - part of the calendar module: http://drupal.org/project/calendar
With some effort, you can theme it to be displayed in a predefined div in your page.
This is theme dependent and need work!
Check this link http://rinatya.co.il/calendar/2010-07 on the 27th of the month) for a live demo of jcalendar capability (it's in Hebrew, but self explanatory.
0
 

Author Comment

by:charmingduck
ID: 33475751
thanks.

I checked the link
http://rinatya.co.il/calendar/2010-07 

that's a calendar pop up can be easily achieved by date pop up module, not really what im looking for.

can you be more specific on how to display it in a div?
0
 
LVL 16

Accepted Solution

by:
HagayMandel earned 500 total points
ID: 33481027
You can use css to set the position and size of the div containing the data.
Another approach, in case you don't have many data items to display (and I think that this is the case with the linked site you gave), is to load all events into an array (values can be the actual dates), and use JavaScript to display the data, you can do it in (at least) 2 ways:
1. Use the  innerHTML property of the data div to set it's content on hover event.
2. Put the data of each day in a different div, and give this div an ID based on the day of month value. use on hover event to show this div and hide all others. (This is what is done the linked site).
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question