Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,638 members, 7,955,322 topics. Date: Saturday, 21 September 2024 at 10:43 PM |
Nairaland Forum / Science/Technology / Webmasters / I Want To Insert Calendar On A Website (13143 Views)
How Do I Insert Hyperlinks In A Nairaland Post? / How To Insert Mobile Adsense Into Wordpress / How To Insert A Flash Intro Page In Dreamweaver-help Needed (2) (3) (4)
I Want To Insert Calendar On A Website by A2J(m): 6:32am On Mar 02, 2008 |
I need to include a calender on a website, something like "calender of events",if you understand what i mean. anyone got what i got to do, any script i may use? or how i go about it |
Re: I Want To Insert Calendar On A Website by my2cents(m): 12:38pm On Mar 02, 2008 |
You can use, like I have, the Google calendar widget. You visit Google's calendar site, and create a calendar. You then visit their widget site, get the calendar widget you want, customize as necessary, reference your Google calendar on the page, get the code that Google provides and bingo! You're in calendar heaven Check out one I did last year: http://thechurchofchristatriverdalega.org/calendar/ I hope this helps. |
Re: I Want To Insert Calendar On A Website by A2J(m): 6:04am On Mar 04, 2008 |
hmmm, that google stuff is too big and too complex, though i could get a easy calendar |
Re: I Want To Insert Calendar On A Website by my2cents(m): 12:08pm On Mar 04, 2008 |
I don't know about too big as again, as I said earlier, you can customize it but it definitely isn't complex - you just click through some steps, as you would say, google adsense, and get the code on the last page. Then you paste the code where you want it to be. Of course there are other calendars out there many of which might be easier to use than Google's. Oh well, I just thought I should share. |
Re: I Want To Insert Calendar On A Website by webemerald(m): 11:23am On Mar 05, 2008 |
send me your email address, ive got a dreamweaver calendar extension, very easy to implement. webemerald@gmail.com |
Re: I Want To Insert Calendar On A Website by Olumide7(m): 12:40pm On Mar 05, 2008 |
I can write a javaScript code for you that u'll just have to copy and paste into your website if interested drop ur e-mail. |
Re: I Want To Insert Calendar On A Website by A2J(m): 2:36am On Mar 06, 2008 |
my email is dayo_a2j@hotmail.com am waiting friend, thanks |
Re: I Want To Insert Calendar On A Website by Olumide7(m): 1:13pm On Mar 06, 2008 |
Ok, here it is, paste it in the <body> section of your page Hope it helps. <script language="javascript"> <!-- function day_title(day_name){ document.write("<TD ALIGN=center WIDTH=35>"+day_name+"</TD>" } function fill_table(month,month_length) { day=1 document.write("<TABLE BORDER=3 CELLSPACING=3 CELLPADDING=%3><TR>" document.write("<TD COLSPAN=7 ALIGN=center><B>"+month+" "+year+"</B><TR>" day_title("Sun" day_title("Mon" day_title("Tue" day_title("Wed" day_title("Thu" day_title("Fri" day_title("Sat" document.write("</TR><TR>" for (var i=1;i<start_day;i++){ document.write("<TD>" } for (var i=start_day;i<8;i++){ document.write("<TD ALIGN=center>"+day+"</TD>" day++ } document.write("<TR>" while (day <= month_length) { for (var i=1;i<=7 && day<=month_length;i++){ document.write("<TD ALIGN=center>"+day+"</TD>" day++ } document.write("</TR><TR>" start_day=i } document.write("</TR></TABLE><BR>" } </script> <script language="javascript"> year=2008 today= new Date("January 1, "+year) start_day = today.getDay() + 1 // starts with 0 fill_table("January",31) fill_table("February",29) fill_table("March",31) fill_table("April",30) fill_table("May",31) fill_table("June",30) fill_table("July",31) fill_table("August",31) fill_table("September",30) fill_table("October",31) fill_table("November",30) fill_table("December",31) </script> |
Re: I Want To Insert Calendar On A Website by my2cents(m): 1:43pm On Mar 06, 2008 |
olumide, nice work. Question: I could have sworn what A2J wants is just one month showing up at a time. Yours loops through the entire year, or am I wrong? |
Re: I Want To Insert Calendar On A Website by Olumide7(m): 1:49pm On Mar 06, 2008 |
Oh does he want it that way? this one loops through the entire year, well let him just specify what he wants first before I do anything. |
Re: I Want To Insert Calendar On A Website by my2cents(m): 2:57pm On Mar 06, 2008 |
yeah, let him tell us what he wants although, based on this post where he is asking for a review: https://www.nairaland.com/nigeria/topic-117749.0.html , I am pretty sure that's what he wants |
Re: I Want To Insert Calendar On A Website by craziest: 5:42pm On Apr 22, 2010 |
Just just JQUERY UI Library, they have rich list of calender format (www.jquery.com) |
(1) (Reply)
Twitter’s Edit Button Is Rolling Out In The US For Paying Subscribers / Latest Free Browsing Cheats / Learn How To Design Any Website Without Coding (live On Nairaland!!!)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 18 |