473,378 Members | 1,413 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Calendar Widget Safari 1.3 Problem

101 100+
Hi,

I am using the following Calendar widget script ....



Expand|Select|Wrap|Line Numbers
  1. http://www.totallysmartit.com/examples/calendar/simple.asp
I am facing a problem with safari 1.3 in this widget...that dates (Numerics) got disabled in safari 1.3.. but in safari 2.0 it works fine ...


Please Help

Bunty
Jun 6 '07 #1
3 2031
acoder
16,027 Expert Mod 8TB
I've never used Safari, but you could check out this page in case what you're experiencing is a known bug and/or if there's a workaround.
Jun 6 '07 #2
buntyindia
101 100+
Thanks Acoder .. for info..

But i got the problem .... I want to share with you the solution.
There is a know bug of Mac 10.3.9 that it support only dates upto 2038
Beyond that it throws NaN error...
In lack of valid range Calender become disabled ...

I corrected the date variable ToDate= new Date(2037,12,31). hence problem is fixed... :)

I need some help on my last question ...related to IFrame Shim

The script i mentioned above in my question is creating problem with IE6 windowed control SELECT Element (overlapping calendar popup)... can you please give me example of Shimming so that I can change the codes accordingly...That would be gr8 help

Thanks,
Jun 7 '07 #3
buntyindia
101 100+
Or tell me how to modify this so that SELECT not overlap pop up
[PHP]
function CreateFloatingContainer(){
var container = document.createElement("DIV");
container.className="calendarWidgetContainer";
container.style.position="absolute";
container.style.zIndex=30000;
container.style.display="none";
document.getElementById('contentarea').appendChild (container);

//Only activate IFRAME as a background if running on Microsoft IE
//Since the command navigator.appName in Opera also returns 'Microsoft Internet Explorer',
//we have to check navigator.userAgent to see is this really MSIE or Opera
//Note: IFRAME causes problem in Opera, so this should only be turn on for IE
if(navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Opera") == -1){
this.calendarBackCover = document.createElement("IFRAME");
this.calendarBackCover.src = "javascript:true";//stop IE from seeing Iframe as unsecure content
this.calendarBackCover.className="calendarWidgetCo ntainer";
this.calendarBackCover.style.position="absolute";
this.calendarBackCover.style.zIndex=29999;
this.calendarBackCover.style.display="none";
//Needed in contentarea for tip to work in div scroller window
document.getElementById('contentarea').appendChild (this.calendarBackCover);
}
return container;
}[/PHP]
Jun 7 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Thomas Kemetmüller | last post by:
Hi folks! I'm searching for a cross browser compatible DHTML popup calendar, there are plenty of those on the web, but I need one, which is absolutely free, very simple and good looking, do you...
7
by: Dennis M. Marks | last post by:
Before you say anything I know that there are many monthly calendars out there. I did it for the challenge. My calendar was COMPLETLY done from scratch with no copied code except for the dynamic...
1
by: Dan | last post by:
In response to... DSAsteve@aol.com 6/20/2003 post wc_fl@NOSPAM.hotmail.com 3/26/2003 post ....The javascript event calendar found at http://www.scriptcalendar.com satsifies both...
5
by: msuk | last post by:
All, I have a calendar control that is at the bottom of a webform, now when the user selects a new date on the control the page refresh's and moves back up to the top. Does anyone know how to...
8
by: buntyindia | last post by:
Hi , I am facing a problem with Calendar widget in IE a combo is overlapping calendar widget but in mozilla it is working fine... IE http://img120.imageshack.us/img120/2908/ielh0.gif...
0
by: kang jia | last post by:
hi currently, i am doing car rental final year project. Now i need to let user choose their date and specific time to book the car from our website. however, i am not sure how to make use of...
15
by: Gilles Ganault | last post by:
Hello Since Python is such a productive language, I'd really like to be able to use it to write GUI apps for Windows, but business apps require rich widgets like (DB)grids, calendars, etc. ...
15
by: maya | last post by:
hi, this site, http://www.mta.info/lirr/ has a "google translate" widget (on left column); when you click on drop-down some languages don't display properly (encoding problem), this problem...
5
by: MartinRinehart | last post by:
THIS WIDGET RUNS CORRECTLY IN OPERA. Nothing else. (See previous post.) I've invented a new widget that I've named "clicker." It's like a slider, but it hops immediately to the spot clicked....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.