I have calendar.html file it is working fine in IE & crome but in firefox hyperlinks are not active... anyone can please help me ..

<pre><nowiki><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Calendar</title>
<script language="JavaScript">
var dDate = new Date();
var dCurMonth = dDate.getMonth();
var dCurDayOfMonth = dDate.getDate();
var dCurYear = dDate.getFullYear();
var objPrevElement = new Object();
var objPrevCalDateText = new Object();
function fToggleColor(myElement) {
var toggleColor = "#0000ff";
if (myElement.id == "calDateText") {
if (myElement.color == toggleColor) {
if (myElement.innerText == dCurDayOfMonth && frmCalendar.tbSelYear.value == dCurYear && frmCalendar.tbSelMonth.value == dCurMonth+1) {
myElement.color = "red";
else {
myElement.color = "";
else {
myElement.color = toggleColor;
else if (myElement.id == "calCell") {
for (var i in myElement.children) {
if (myElement.children[i].id == "calDateText") {
if (myElement.children[i].color == toggleColor) {
if (myElement.innerText == dCurDayOfMonth && frmCalendar.tbSelYear.value == dCurYear && frmCalendar.tbSelMonth.value == dCurMonth+1) {
myElement.children[i].color = "red";
else {
myElement.children[i].color = "";
else {
myElement.children[i].color = toggleColor;
function fSetSelectedDay(myElement){
if (myElement.id == "calCell") {
if (!isNaN(parseInt(myElement.children["calDateText"].innerText))) {
myElement.background = "images/cal_cell_down.gif";
objPrevElement.background = "images/cal_cell_up.gif";
document.all.calSelectedDate.value = parseInt(myElement.children["calDateText"].innerText);
objPrevElement = myElement;
if(frmCalendar.tbSelMonth.value < 10)
sMonth = "0" + frmCalendar.tbSelMonth.value
else
sMonth = frmCalendar.tbSelMonth.value
if(myElement.children["calDateText"].innerText < 10)
sDay = "0" + myElement.children["calDateText"].innerText
else
sDay = myElement.children["calDateText"].innerText
window.returnValue = sMonth + sDay + frmCalendar.tbSelYear.value
window.close();
function fGetDaysInMonth(iMonth, iYear) {
var dPrevDate = new Date(iYear, iMonth, 0);
return dPrevDate.getDate();
function fBuildCal(iYear, iMonth, iDayStyle) {
var aMonth = new Array();
aMonth[0] = new Array(7);
aMonth[1] = new Array(7);
aMonth[2] = new Array(7);
aMonth[3] = new Array(7);
aMonth[4] = new Array(7);
aMonth[5] = new Array(7);
aMonth[6] = new Array(7);
var dCalDate = new Date(iYear, iMonth-1, 1);
var iDayOfFirst = dCalDate.getDay();
var iDaysInMonth = fGetDaysInMonth(iMonth, iYear);
var iVarDate = 1;
var i, d, w;
if (iDayStyle == 2) {
aMonth[0][0] = "Sunday";
aMonth[0][1] = "Monday";
aMonth[0][2] = "Tuesday";
aMonth[0][3] = "Wednesday";
aMonth[0][4] = "Thursday";
aMonth[0][5] = "Friday";
aMonth[0][6] = "Saturday";
else if (iDayStyle == 1) {
aMonth[0][0] = "Sun";
aMonth[0][1] = "Mon";
aMonth[0][2] = "Tue";
aMonth[0][3] = "Wed";
aMonth[0][4] = "Thu";
aMonth[0][5] = "Fri";
aMonth[0][6] = "Sat";
else {
aMonth[0][0] = "Su";
aMonth[0][1] = "Mo";
aMonth[0][2] = "Tu";
aMonth[0][3] = "We";
aMonth[0][4] = "Th";
aMonth[0][5] = "Fr";
aMonth[0][6] = "Sa";
for (d = iDayOfFirst; d < 7; d++) {
aMonth[1][d] = iVarDate;
iVarDate++;
for (w = 2; w < 7; w++) {
for (d = 0; d < 7; d++) {
if (iVarDate <= iDaysInMonth) {
aMonth[w][d] = iVarDate;
iVarDate++;
return aMonth;
function fDrawCal(iYear, iMonth, iCellWidth, iCellHeight, sDateTextSize, sDateTextWeight, iDayStyle) {
var myMonth;
myMonth = fBuildCal(iYear, iMonth, iDayStyle);
document.write("<table border='0' width='280' cellspacing='0' bordercolorlight='#808080' bordercolordark='#808080'>")
document.write("<tr>");
document.write("<td align='center' style='FONT-FAMILY:Verdana;FONT-SIZE:12px;FONT-WEIGHT: bold'>" + myMonth[0][0] + "</td>");
document.write("<td align='center' style='FONT-FAMILY:Verdana;FONT-SIZE:12px;FONT-WEIGHT: bold'>" + myMonth[0][1] + "</td>");
document.write("<td align='center' style='FONT-FAMILY:Verdana;FONT-SIZE:12px;FONT-WEIGHT: bold'>" + myMonth[0][2] + "</td>");
document.write("<td align='center' style='FONT-FAMILY:Verdana;FONT-SIZE:12px;FONT-WEIGHT: bold'>" + myMonth[0][3] + "</td>");
document.write("<td align='center' style='FONT-FAMILY:Verdana;FONT-SIZE:12px;FONT-WEIGHT: bold'>" + myMonth[0][4] + "</td>");
document.write("<td align='center' style='FONT-FAMILY:Verdana;FONT-SIZE:12px;FONT-WEIGHT: bold'>" + myMonth[0][5] + "</td>");
document.write("<td align='center' style='FONT-FAMILY:Verdana;FONT-SIZE:12px;FONT-WEIGHT: bold'>" + myMonth[0][6] + "</td>");
document.write("</tr>");
for (w = 1; w < 7; w++) {
document.write("<tr>")
for (d = 0; d < 7; d++) {
document.write("<td background='images/cal_cell_up.gif' align='left' valign='top' width='" + iCellWidth + "' height='" + iCellHeight + "' id=calCell style='CURSOR:Hand' onMouseOver='fToggleColor(this)' onMouseOut='fToggleColor(this)' onclick='fSetSelectedDay(this)'>");
if (!isNaN(myMonth[w][d])) {
document.write("<font id=calDateText onMouseOver='fToggleColor(this)' style='CURSOR:Hand;FONT-FAMILY:Verdana;FONT-SIZE:" + sDateTextSize + ";FONT-WEIGHT:" + sDateTextWeight + "' onMouseOut='fToggleColor(this)' onclick='fSetSelectedDay(this)'>" + myMonth[w][d] + "</font>");
else {
document.write("<font id=calDateText onMouseOver='fToggleColor(this)' style='CURSOR:Hand;FONT-FAMILY:Verdana;FONT-SIZE:" + sDateTextSize + ";FONT-WEIGHT:" + sDateTextWeight + "' onMouseOut='fToggleColor(this)' onclick='fSetSelectedDay(this)'> </font>");
document.write("</td>")
document.write("</tr>");
document.write("</table>")
function fUpdateCal(iYear, iMonth) {
myMonth = fBuildCal(iYear, iMonth);
objPrevElement.bgColor = "";
document.all.calSelectedDate.value = "";
objPrevCalDateText.color = ""
for (w = 1; w < 7; w++) {
for (d = 0; d < 7; d++) {
if (!isNaN(myMonth[w][d])) {
if (myMonth[w][d] == dCurDayOfMonth && iYear == dCurYear && iMonth == dCurMonth+1){
calDateText[((7*w)+d)-7].color = "red"
objPrevCalDateText = calDateText[((7*w)+d)-7]
calDateText[((7*w)+d)-7].innerText = myMonth[w][d];
else {
calDateText[((7*w)+d)-7].innerText = "";
</script>
<script id=clientEventHandlersJS language=javascript>
<!--
function Select1_onblur() {
//-->
</script>
</head>
<body topmargin="0" leftmargin="0">
<script language="JavaScript" for="window" event="onload">
var dCurDate = new Date();
frmCalendar.tbSelMonth.options[dCurDate.getMonth()].selected = true;
for (i = 0; i < frmCalendar.tbSelYear.length; i++)
if (frmCalendar.tbSelYear.options[i].value == dCurDate.getFullYear())
frmCalendar.tbSelYear.options[i].selected = true;
</script>
<form name="frmCalendar" method="post" action="">
<input type="hidden" name="calSelectedDate">
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#c0c0c0">
<tr>
<td>
<select name="tbSelMonth" onchange='fUpdateCal(frmCalendar.tbSelYear.value, frmCalendar.tbSelMonth.value)'
style='FONT-FAMILY:Verdana;FONT-SIZE:12px;FONT-WEIGHT:normal' id="Select1" onblur="return Select1_onblur()">
<option value="1" selected>January</option>
<option value="2">February</option>
<option value="3">March</option>
<option value="4">April</option>
<option value="5">May</option>
<option value="6">June</option>
<option value="7">July</option>
<option value="8">August</option>
<option value="9">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select>
<select name="tbSelYear" onchange='fUpdateCal(frmCalendar.tbSelYear.value, frmCalendar.tbSelMonth.value)'
style='FONT-FAMILY:Verdana;FONT-SIZE:12px;FONT-WEIGHT:normal'>
<option value="1998">1998</option>
<option value="1999">1999</option>
<option value="2000">2000</option>
<option value="2001">2001</option>
<option value="2002">2002</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
<option value="2011">2011</option>
<option value="2012" selected>2012</option>
<option value="2013">2013</option>
<option value="2014">2014</option>
<option value="2015">2015</option>
</select>
</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td>
<script language="JavaScript">
<!-- -->
var dCurDate = new Date();
fDrawCal(dCurDate.getFullYear(), dCurDate.getMonth()+1, 30, 30, "12px", "normal", 1);
fUpdateCal(dCurYear, dCurMonth+1)
</script>
</td>
</tr>
</table>
</form>
</body>
</html></nowiki></pre>

You will at least have to use style.color= "#0000ff" instead of color.<br />
Also document.all doesn't work in Firefox, so use getElementById() to address specific elements.
A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
*http://forums.mozillazine.org/viewforum.php?f=25
The helpers at that forum are more knowledgeable about web development issues.<br>
You need to register at the MozillaZine forum site in order to post at that forum.

Similar Messages

  • HT1937 My iPod is working fine , syncing with itunes  but screen still dark and not responding !! Please help thanks

    hello everybody , I have an iPod touch 4g . Now a few  days ago it got wet in water . i didnt notice that but when i came to know , i saw it very hot . i kept it away in open , after some time it cooled down but it was dead . it wasnt turning on . then i searched it on net for fixes... finally i tried the rice method , i kept it in rice filled in a sealed box for 1 full day . now i kept it in charging ...its syncing with itunes and making that sound but the screen is stilll dark and wont respond . What should i do ? please help! thanks

    Apple will exchange your iPod for a refurbished one for $199 for 64 GB 4G and $99 for the other 4Gs. They do not fix yours.
    Apple - iPod Repair price                       
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • I have MacBookpro with OSX 10.9, and my Tata Photon plus  is not working on it. When I try to connect, Its not connecting.. Please Help

    I have a MacBookPro with OSX 10.9, and my Tata Photon plus  is not working on it. When I try to connect, Its not connecting.. Please Help
    <Email Edited by Host>

    Current Firefox versions require a Mac with an Intel processor and OS X 10.6 (Firefox 16 runs on Intel Mac OS X 10.5).
    *http://www.mozilla.org/firefox/25.0/system-requirements/
    For an unofficial Firefox 17.0.10 ESR compatible version that runs on a PowerPC Mac with OS X 10.4.11 or OS X 10.5.8 you can look at TenFourFox.
    *http://www.floodgap.com/software/tenfourfox/
    *http://www.macupdate.com/app/mac/37761/tenfourfox
    *http://code.google.com/p/tenfourfox/wiki/ReleaseNotes1710
    See also:
    *http://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
    *http://code.google.com/p/tenfourfox/wiki/QuickTimeEnabler
    *http://code.google.com/p/tenfourfox/wiki/AAATheFAQ

  • I upgraded my 3gs to ios5 and the sound of the messages is not working well, it's slow and my bluetooth definitions are not stable how can i get back to the ios4

    I upgraded my 3gs to ios5 and the sound of the messages is not working well, it's slow and my bluetooth definitions are not stable how can i get back to the ios4

    App Store->Purchased
    iTunes->Purchased->Download All

  • HT4993 hello I have a I phone 5 and I want to reset it but I don't know my restrictions passcode. can you help me?

    hello I have a I phone 5 and I want to reset it but I don't know my restrictions passcode. can you help me?

    You would need to restore as new if you cannot remember the restrictions code you set.

  • I run Win 7 (64-bit) on a Core i7 PC. iTunes always worked fine on Win XP, but now it will usually not recognise or display a CD for me to import. I have followed the suggestions on the iTunes site and my CD/DVD reader/writers are fine.

    iTunes always worked well for me in Windows XP, but now I'm using Windows 7 (64-bit) and iTunes usually won't display the CD's contents, won't access Gracenote and won't import. Occasionally, for no apparent reason, it all works as it should.
    I have reinstalled iTunes, checked and updated all drivers, turned off (and on) the "Use error correction", checked and verified that my CD/DVD burner/writers are connected and working fine - and still, occasionally it works but mostly it doesn't.
    I can get around the problem by using another program (dBpower AMP Converter) to convert all tracks on the CD to Apple Lossless format and save them to "Automatically add to iTunes", and then manually inputting all the music track information in iTunes; but this is cumbersone even if effective, and it annoys me that iTunes seems to have this common glitch that should have been corrected by now.

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Re: DSL worked fine for 6 months but now is downloads are at 100 Kb/s!

    Can someone please help me?  I have spent 3 days trying to increase my speed on the internet.  I have Verizon DSL with a Verizon Model 7500 Modem/router/wireless. 
    I have taken numerous tests (dslreports.com) which show 100 Kb/s download and 378 Kb/s Upload.  The last test said I really needed help - I was receiving 1% of what everyone else receives.  I am signed up for 678-1MB service which worked fine until Saturday morning.
    I have removed McAfee, I have Windows 7 and I have not added, changed or done anything that would make this drastic change in my DSL service.
    Someone at Broadband recommended I use Verizon Direct Forum but Verizon's support is so poor, I don't even know if I am in the right forum.  I did attempt a chat with someone in India but he promised me a phone call back and I am still waiting.
    Can someone help me here?  I do not believe that it is on my end.  I did go to Speedguide.net and used their TCP Optimizer.  It did not make a big difference.
    The Verizon speed test is giving my numbers like .089 Mbps Download and .384 Mbps Upload. 
    One site talked about 10% loss latency 58.6 ms and another talked about packet loss.
    I am without a clue what it all means.
    Thanks,
    Lisa

    Try rebooting your DSL modem and wireless router.  Unplug it and then phone line going into it for about 1 minute and then restart it.
    If that doesn't work it would be helpful to know whether you are you using a wired or wireless connection?
    If you are using wireless try right clicking on the wireless icon in your system tray and then click "repair".
    Do you have a 'secure' wireless connection.  If you do not it is possible that others are connecting to your wireless network, especially if you live in an apartment or townhouse.
    Post back if any of these worked.
    Check here for more troubleshooting options:
    http://forums.verizon.com/t5/High-Speed-Internet-D​SL-and-Dial/Slow-DSL-Speeds-Please-post-here/td-p/​...
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution" button so that others can more easily find it.
    If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • I keep getting an error message saying "There was a problem connecting to the server.  URLs with the type "file:" are not supported."  Can someone help me get rid of it.

    I keep getting an error message saying "There was a problem connecting to the server.  URLs with the type "file:" are not supported"  Can someone help me locate and get rid of this error.

    Open the Time Machine pane in System Preferences. If it shows that Time Machine is ON, click the padlock icon in the lower left corner, if necessary, to unlock it. Scroll to the bottom of the list of backup drives and click Add or Remove Backup Disk. Remove all the disks, then add them back. Quit System Preferences. Test.

  • Yahoo Mail works fine on I.E., but on Firefox formatting is missing, only have attachment button & all apps such as photo edit are missing.

    '''''All I can do is send a Blk & Wht email with preset font and size. Also, ALL, 100% of the apps below the left column of folders are missing. Large files, photo editing, stationary etc. In fact the scroll stops at the bottom of the list of folders. I have contacted Yahoo, a fix was tried but there is no change. Yahoo says since my mail works correctly on Internet Explorer, I should contact Firefox. Also, my Yahoo color theme will not hold my selection. Every time I go to mail on Firefox the theme has defaulted back to it's hard to see colors.'''''

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    See also:
    *http://kb.mozillazine.org/Website_colors_are_wrong
    *http://kb.mozillazine.org/Websites_look_wrong
    Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Accessibility settings.
    *Tools > Options > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"

  • I have a java script calulation that works fine on a PC but when the form is on a IPad it does not calculate. Why?

    var sDate = this.getField("MDate").value;
    if(sDate=="")
    event.value="";
    else{
    var oDate = util.scand("mm/dd/yy", sDate);
    oDate.setDate(oDate.getDate() +6);
    event.value = util.printd("mm/dd/yy", oDate);

    What app is involved?
    Many apps on mobile devices cannot handle from fields. They also have very limited JavaScript support. The "uiti" objects is nol fully supported by Adobe Mobile Reader.
    http://www.adobe.com/devnet-docs/acrobatetk/tools/Mobile/Enterprise_Guide_ReaderMobile.pdf

  • HT3702 for some reason suddenly itunes will not accept my visa debit cards security code and i have no idea why... all the information is correct but it wont accept the security code.. Please help i cant purchase or update any app or anything

    I don't know why but itunes just suddenly wouldn't accept the security code???

    Is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
    If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorisations have the correct information on file.
    And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Yesterday my camera was working -- after syncing Picts to my iPad, my camera will not open. Can someone help me?

    P

    I had an update on ios and my camera works like it did.  I was fooling around and found the camera icon at the bottom of my ipod next to the "slide to unlock" bar.  If
    I slid the camera up, my camera window would open.
    Thanks alot for your advise.

  • I am trying to make a signature in MS Word (2007) which includes a jpg image, but when I save it as a HTML file and attach it the text appers OK but the image doesn't. I have tried various formats but still no luck. Can anyone help?

    I am trying to make a signature in MS Word (2007) which includes a jpg image, but when I save it as a HTML file and attach it the text appers OK but the image doesn't. I have tried various formats but still no luck. Can anyone help? edit

    C'mon! Anyone???? I'm desperate!

  • I am trying to connect to my Wifi Network. It is a Galaxy Nexus. I am trying to connect to this Hotspot. I have an iMac that works fine with my network but for some reason with this computer I cannot connect.

    So far I have pulled the system configuration file, I have reset safari, I deleted all old passwords from the wifi network in Keychain I restarted both devices. I am at the end here and I cannot get it to work I have an iMac that works fine with my network but for some reason this computer will not connect. It is system wide specifically to my personal hotspot. I can connect fine to any other network (wifi) but just not mine. I have not changed any wifi settings. I have been trying to figure this out. I have a MacBook Pro Late 2006 model running Lion (10.7.5) So any ideas anyone? Please help!

    12. At a WiFi hotspot, you can't get connected.  The most frequent reason is the login screen for the WiFi hotspot is only able to be connected with a single type of browser.  If Safari doesn't work, try Firefox, Chrome, Omniweb, or Opera. 
    From my tip:
    https://discussions.apple.com/docs/DOC-6411

  • TS3999 How do I get my Macbook Pro and iphone 5 to sync calendars in 2014? It worked fine in 2013, but the 2014 dates are blank on my Macbook.

    How do I get my Macbook Pro and iphone 5 to sync calendars in 2014? It worked fine in 2013, but the 2014 dates are blank on my Macbook. The all icloud is checked on my phone and the enable icloud account and push are selected on the Macbook.
    Thanks

    Do the events from your iPhone calendar appear on icloud.com?  If not, go to Settings>Mail,Contacts,Calendars>Default Calendar (in the Calendars section) and make sure you have selected an iCloud calendar as your default.  If you haven't, make this change, then add a new event on your iPhone calendar and see if appears on icloud.com and your Mac now.

Maybe you are looking for