david@stylus.co.za
stylus

Menu

Skip to content
  • about
  • portfolio
    • demos
    • digital
      • Flash
    • print
      • event flyers
      • brochure
  • contact

Category Archives: JavaScript

23Nov/15
checkbox

Mutually exclusive checkboxes

23/11/2015JavaScriptcheckbox, JavaScriptfoxbeefly

Sometimes it’s just not worth arguing. Super quick and nasty solution to a request for checkboxes that are mutually exclusive: one or no checkboxes can be selected. I know, I know; radioRead More…

Leave a comment
05Nov/15
Vintage radio [Image courtesy of sippakorn at FreeDigitalPhotos.net]

Submit a form with a radio button using Javascript

05/11/2015JavaScriptJavaScript, onClickfoxbeefly

My boss (bless his little cotton socks) wanted me to implement some code that submitted a form when the user changed the selection in a set of radio buttons. This seemed fairlyRead More…

Leave a comment
05Nov/15
Image courtesy of nonicknamephoto/FreeDigitalPhotos.net

Reloading a page with Javascript and your cache

05/11/2015JavaScriptJavaScript, location.reload(true);foxbeefly

I got caught out using Javascript’s location.reload(true); recently. I have a web-page which is destined to be displayed in a public area on a large screen, which unfortunately has a LARGE, staticRead More…

Leave a comment
27May/15
Hello World!

Google Code Prettify

27/05/2015JavaScriptGoogle Code, htmlentities(), JavaScript, PHP, Prettifyfoxbeefly

I have played with various WordPress plugins for code syntax highlighting, but recently helped answer a query with regards syntax highlighting in other projects using Google Code Prettify. If you store your codeRead More…

Leave a comment

Tags

API AppController array barcode CakePHP chmod() Chosen CSV DIRECTORY_SEPARATOR drag-and-drop filter_var() Google Code Hello World hire me hMailServer HTML5 htmlentities() INET_ATON() INET_NTOA() JavaScript jQuery jQuery plug-in jQuery UI JSFiddle makedir() multidimensional array MySQL pathinfo() PDF PHP plug-in preg_match() preg_replace() Prettify QR Code recursive Script.aculo.us Stack Overflow syntax upload urlencode() validation Word WordPress plug-in

Recent Posts

  • Microsoft Word Mail Merge and Page numbering
  • HTML5 validation
  • Swapping columns in a table in Microsoft Word document
  • Mutually exclusive checkboxes
  • Zebra-striping table using CSS3

Categories

  • CakePHP
  • CSS
  • General
  • Heroku
  • HTML
  • HTML5
  • JavaScript
  • jQuery
  • Microsoft Office
  • Misc Code
  • MySQL
  • PHP
  • QlikView
  • Social Media
  • WordPress

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Follow me on Twitter

My Tweets
Copyright © stylus
Powered by WordPress , Theme i-excel by TemplatesNext.
MENU
  • about
  • portfolio
    • demos
    • digital
      • Flash
    • print
      • event flyers
      • brochure
  • contact