Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 41

Thread: New: Calendar (event management) freebie for download

  1. #11
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    488
    Thanks
    0
    Thanked 62 Times in 58 Posts

    Default

    Quote Originally Posted by Beverleyh View Post
    I got around to prettying up the monthly calendar (grid) view: http://fast-apps.co.uk/fast_cal/exam...e_calendar.php
    Very nice. I look forward to trying the finished product!

  2. The Following User Says Thank You to styxlawyer For This Useful Post:

    Beverleyh (03-02-2016)

  3. #12
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Fast Cal download is now available http://fast-apps.co.uk/fast_cal.php
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  4. The Following User Says Thank You to Beverleyh For This Useful Post:

    bojangles (03-13-2016)

  5. #13
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    488
    Thanks
    0
    Thanked 62 Times in 58 Posts

    Default

    Thanks Beverley, it's looking good. I'm running it locally under XAMPP and there's a minor styling problem with the forward and back buttons. After moving forwards or backwards the appropriate button stays grey in Firefox and also has a pale blue square in Opera and Chrome (same rendering engine I believe). The first screendump is Firefox and the second is Opera (it's identical in Chrome). I'll have a poke around and see if I can find a fix.

    Click image for larger version. 

Name:	Calendar1.jpg 
Views:	80 
Size:	19.7 KB 
ID:	5842

    Click image for larger version. 

Name:	Calendar2.jpg 
Views:	78 
Size:	22.3 KB 
ID:	5843

  6. #14
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    That's because they've received focus (button elements are focusable). When another element receives focus instead, those styles will vanish.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  7. #15
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    488
    Thanks
    0
    Thanked 62 Times in 58 Posts

    Default

    I modified the CSS and the problem is fixed. I changed this:

    Code:
    #calendar-prev:hover, #calendar-next:hover, #calendar-prev:focus, #calendar-next:focus { background:#666; color:#222 }
    to this (the focus CSS must be before the hover for it to work) :

    Code:
    #calendar-prev:focus, #calendar-next:focus { outline:none }
    #calendar-prev:hover, #calendar-next:hover { background:#666; color:#222 }
    Just out of curiosity, is there a reason for using the same right-pointing symbol for both buttons and then transforming the left-pointing one? Wouldn't it be easier to use ◄ for the left-pointing arrow?

  8. #16
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Easier yes, but it unfortunately isn't compatible with Android. The right-facing one is though, so that's the somewhat quirky reason for using the right arrow but flipping it the other way when you want to point left.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  9. #17
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    488
    Thanks
    0
    Thanked 62 Times in 58 Posts

    Default

    Ah, now it makes sense. Thanks for the explanation.

  10. #18
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    BTW I wouldn't remove the focus styles because it will make keyboard navigation difficult (you wouldn't be able to see what element is being tabbed to). I need to add onfocus JS event equivalents to trigger the popups without a mouse, so the focus CSS will work in conjunction with that. It's on my to-do list.

    EDIT: I've now added an onfocus event to better support keyboard users. A small addition to the 'fast_cal/fast_cal_functions.php' file
    Last edited by Beverleyh; 03-04-2016 at 08:54 PM.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  11. #19
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    488
    Thanks
    0
    Thanked 62 Times in 58 Posts

    Default

    The updated version has the same behaviour in Opera & Chrome. Leaving the existing ': onfocus' CSS and adding an extra line before it (see below) removes the pale blue square, but keyboard tabbing still works. Keyboard tabbing seems to leave the 'balloons' open when moving on to the next event.

    I don't have any iThingies to test on so only Opera, Chrome and Firefox on a Windows 8.1 laptop.

    Code:
    #calendar-prev:focus, #calendar-next:focus { outline:none }
    #calendar-prev:hover, #calendar-next:hover, #calendar-prev:focus, #calendar-next:focus { background:#666; color:#222 }
    I hope that helps.

  12. #20
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Browser borders on focusable elements are an accessibility aid to give a visible indication of position, and shouldn't really be removed. If you want to do it, that's fine and its you're call, but it isn't a practise I can recommend.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  13. The Following 2 Users Say Thank You to Beverleyh For This Useful Post:

    ajfmrf (03-06-2016),bojangles (03-13-2016)

Similar Threads

  1. event calendar
    By jinu227 in forum PHP
    Replies: 0
    Last Post: 12-02-2011, 08:57 AM
  2. Problem in PHP Calendar Event
    By rhodarose in forum PHP
    Replies: 16
    Last Post: 09-24-2010, 12:48 PM
  3. dynamic event calendar
    By chechu in forum Looking for such a script or service
    Replies: 10
    Last Post: 11-29-2009, 03:29 PM
  4. event calendar
    By denoteone in forum Looking for such a script or service
    Replies: 2
    Last Post: 01-19-2008, 01:58 AM
  5. Event calendar needed
    By doug57 in forum HTML
    Replies: 3
    Last Post: 02-21-2007, 01:52 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •