bootstrap-calendar icon indicating copy to clipboard operation
bootstrap-calendar copied to clipboard

How To Show Month and year on Calendar Title while navigation.

Open mubasshar opened this issue 8 years ago • 2 comments

Hi,

I want to know wow To Show Month and year on Calendar Title while navigation, e.g if user navigate to Month November, the Title would be November 2016,

Thanks in advance.

mubasshar avatar Nov 07 '16 06:11 mubasshar

Hi mubasshar,

Here's a demo doing what you are after:

http://filmsbykris.com/scripts/javascript/bootstrap-calendar-master/

If you view the JS (see link below) you'll see that it basically populates a HTML element with the day/month string from the onAfterViewLoad hook.

view-source:http://filmsbykris.com/scripts/javascript/bootstrap-calendar-master/js/app.js

K... (despite the first name being spelt the same, this is not my demo)

kristianharmer avatar Nov 23 '16 15:11 kristianharmer

Hi mubasshar,

Here's a demo doing what you are after:

http://filmsbykris.com/scripts/javascript/bootstrap-calendar-master/

If you view the JS (see link below) you'll see that it basically populates a HTML element with the day/month string from the onAfterViewLoad hook.

view-source:http://filmsbykris.com/scripts/javascript/bootstrap-calendar-master/js/app.js

K... (despite the first name being spelt the same, this is not my demo)

this webpage is no more available,Please update.

theejhay avatar Dec 12 '19 17:12 theejhay