Solved

I need a good Calendar function for a web application !!! Help needed !!! Please !!!

Posted on 2004-08-31
15
341 Views
Last Modified: 2006-11-17
Hi !
I developed a web application with many input field and drop down menus (select boxes).
In the moment I use a Layer-based calender which appears, if I click a button beside the input filed which has to be filled with the date value. This is working fine, unless there is a <select> tag or something like this above or below the appearing calendar layer.
The problem is, that  for e.g. the <select> tags have "a higher priority" than the layers, so the tags a showing through the calendar layer. now you cannot select anything in the calendar layer because you only could see the select boxes which are showing through.

Is there anybody who has an idea to for e.g. implement a positionable pop-up calendar which is using for example windows component (or vbscript etc.) ?

I dont want to use a calendar which is opened via a new browser window or anything like that. This is to slow. It should appear immediately by clicking the "Date" button in the web application.

I made a screenshot which shows the problem, Im talking about here:

http://www.reste-kochen.de/test/index.html

Could anyone help me with this ?

regards

Michael

0
Comment
Question by:mzohner
  • 3
  • 2
  • 2
  • +5
15 Comments
 
LVL 2

Accepted Solution

by:
anilmane earned 66 total points
Comment Utility
0
 

Author Comment

by:mzohner
Comment Utility
Hi !
Thanks, but the first one is web page dialog which does not appear immediately.
The most of the second ones are layers.


What I need, sould be a vbscript or something like this.

BUT!!!: I´m using JSP , NOT ASP. TZhats the problem.

Maybe someone has an idea to implement a "windows component" likely calendar ...


regards
0
 
LVL 4

Assisted Solution

by:jcrumble
jcrumble earned 64 total points
Comment Utility
As I've faced the same dilema, I've only got two suggestions.

The first is probably very similar to the popup calendar anilmane  suggested.  It is located here:
http://developer.irt.org/script/379.htm

The only is only if you have to use layers/divs.  Basically it's like you said the <select> tags have a higher priority in the browser than the layers your trying to display.  When I've been stuck using a calendar in a division in the past what I've had to do was not only display the layer the calendar is in but also to put the <select> tags etc in layers I could hide while I show the calendar div/layer.  Then when the user selects their date and populates the textbox/dropdown boxes with the appropriate date, you just have to reshow your layers containing your <select> tags.

Hope this helps and Good Luck,
Jeff  
0
 
LVL 23

Assisted Solution

by:apresto
apresto earned 64 total points
Comment Utility
Try this:

Helped me out alot, its code in ASP.NET format but will work with classic ASP

http://aspnet.4guysfromrolla.com/articles/030202-1.aspx
0
 
LVL 6

Assisted Solution

by:Eric
Eric earned 64 total points
Comment Utility
0
 
LVL 7

Assisted Solution

by:jay_eire
jay_eire earned 64 total points
Comment Utility
HIGHLY RECOMMENDED THIS IS A WELL COOL CALENDAR

http://www.calendarxp.net/pt_pop.shtml


#Written in 100% JavaScript, no installation process needed on the client side.
#Support all major browsers on Windows, MacOS, Linux and Solaris.
#Calendar look is extremely customizable and can be switched among different themes.
#Lightweight and high-performance, main engine is only around 20KB in size.
#Bulletproof* calendar panel won't be penetrated by any form elements.
#Various fascinating effects to highlight selected date, today, agendas and holidays.
#Sophisticated dynamic date range support, visually strike-out any disabled date.
#Retrieving agendas from either script file or backend database.
#Auto-adaptive or static positioning with localizer support.
#Powerful date parsing and auto-correction.
#Contextual agenda messages in status-bar and/or tooltips.
#Versatile and removable top/bottom sections.
#Diversified context-sensitive behaviors, like popups, auto-mail or any JavaScript statement.
#USA/Europe/ISO-8601 conformant calendar formats and week numbers.
#Build-in major date formats support and can be expanded to deal with any format via your own plugins.
#Unicode compliant and ready for localization and/or internationalization.
#Unique plug-in design maximizes the extensibility.
#Expandable holiday function can accommodate most sophisticated holiday algorithms.
#Unlimited date pickers on the same page and the engine only need to be loaded once.
#Agenda can be shared across multiple calendars, even with FlatCalendarXP.
#Easy to install, easy to use. (NN4 needs more care)
#Fully compatible with ASP.NET, JSP, PHP, ColdFusion and other cgi technologies.
and a lot more ...
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Assisted Solution

by:miyako
miyako earned 64 total points
Comment Utility
You may be able to fix the layer you were originally using by assigning it a z-index value that is higher than all other elements on the page.  That way, it will display above everything else.
You can do this two ways, either use a style attribute in the tag:

<DIV style="z-index=1000".......>

or, using css to assign a class or id, then set z-index:1000; in the style rule.
0
 
LVL 9

Assisted Solution

by:jmanGJHS97
jmanGJHS97 earned 64 total points
Comment Utility
Here's a JavaScript calendar I and a buddy of mine wrote.  Is it along the lines of what you're looking for?

http://www.jeffbottger.com/calendar.asp

Jeff
0
 

Expert Comment

by:miyako
Comment Utility
Sorry, in my previous post, there is a syntax error...should have been:
<DIV style="z-index:1000" ... >

Also, I have a PHP calendar that is pretty good if you are interested...
0
 
LVL 9

Expert Comment

by:jmanGJHS97
Comment Utility
I talked to the guy who helped write the calendar, and he's not up for giving away the source code for it.  Sorry about that.

Jeff
0
 
LVL 23

Expert Comment

by:apresto
Comment Utility
Is anythinf actually happening with this thread? Have you found your answer here - if you havent you should contact EE admin and get them to close it or something
0
 
LVL 23

Expert Comment

by:apresto
Comment Utility
i think that we all gave quite valid responses to the initial request, in my eyes the question was for a calendar function and this thread is a reference for a good few! i would suggest split the points between all responses classed as 'valid' in your opinion
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
extra space below iframe 9 51
Question to locate the problem 18 52
Set cookies HttpOnly and Secure 4 50
modify h2 4 8
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
This video teaches users how to migrate an existing Wordpress website to a new domain.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now