Categories
Uncategorised

SVG Gradient – x1 y1 x2 y2 visualised

[av_notification title=’Correction’ color=’blue’ border=” custom_bg=’#444444′ custom_font=’#ffffff’ size=’large’ icon_select=’yes’ icon=’ue8d2′ font=’entypo-fontello’]
Thanks to @woodnathan for pointing out my visualisations confused the starting point of the axis.

Fixed.
[/av_notification]

Made this to help visualise the start and end gradients for a CSS SVG transformation on hover.

This displays the variations of 0% and 100% of x1 y1 x2 y2 for a linear gradient with:

<stop offset="0%" style="stop-color:rgb(0,255,255);stop-opacity:1" />
<stop offset="100%" style="stop-color:rgb(0,175,255);stop-opacity:1" />

 


Categories
Uncategorised

Book Creator to iBooks Author

Creating content is not always an easy task. Last semester I had the opportunity to work with some teachers on creating a simple iBook for a Pre-Primary class. The teachers had made plenty of books using Book Creator with the students so it was an easy jump to understand how they could make an interactive book for their students. However, they weren’t quite ready for iBooks Author.

 

To give them a stepping stone, I asked the teachers to create what they wanted in Book Creator. They were able to come up with what they wanted, but quickly understood the limitations with formatting with this program.

img_0947img_0948

From here, I exported it as an ePub, then opened it in iBooks Author to apply the school’s iBook template and address other formatting issues. The sound recordings even came across to iBook Author without any issues, removing the need to record again!

img_0949img_0950

A simple solution to start the teachers on the path to create iBooks for the public iBook store, but more importantly, appropriate tools for their students!

 

If you are interested in the finished product of the teacher’s Community book  or the set of Phonics books that the teacher went onto create next, they are available on the iBooks Store.

Categories
Uncategorised

Concern – Announcing the launch of our long awaited Digital Citizenship tool

For a number of years Eyks has been taking registrations of interest for Concern, it’s taken a long time to sort out all the legal and privacy requirements and even though we hoped to announce this sooner:

Eyks is launching Concern.net.au

Today is Australia’s 2016 National Day of Action against Bullying and Violence an auspicious day to to announce we are finally finished preparing Concern.

Concern is designed for students to let someone know something is wrong. It creates a path to dialogue that is open and safe, a simple way to let the right person know.

For some schools Concern will slot into place as the missing piece of a puzzle and for others it will be the starting point you have been looking for to take action on your schools Digital Citizenship.

We know Concern can make a difference and we are delighted to finally announce Concern.net.au is now available!

Categories
Uncategorised

Open PDF in new tabs – WordPress

To force WordPress to open all PDFs in a new tab, add the following to your theme-functions.php.

function pdf_target_blank(){ ?>
<script type="text/javascript">
  jQuery(document).ready( function(){
      jQuery('a[href$=".pdf"]').attr('target', '_blank');
  } );
</script>

<?php }
add_action( 'wp_print_footer_scripts', 'pdf_target_blank' );

This code can be added as just the Script into the header.php of your site, though in certain interfaces it won’t always work.

Why would you use this?

We use WordPress as a College intranet that is then rendered as an iframe inside their management system SEQTA. This interface means that certain jQuery and Javascript won’t work as expected, specifically linking to pdfs.

Categories
Uncategorised

Mac CSV won’t upload?

Depending on the device that downloads or the system that generates a CSV (or other) text file, the file can be given 1 of 3 end of line styles.
  1. Mac = Carriage Return (CR)
  2. Unix = Line Feed (LF)
  3. Windows =  Carriage Return + Line Feed (CRLF)
When uploading a file most servers will run the CSV through a Windows system for processing and this requires a (CRLF) file.

Thanks but now what?

So on a Mac you’ll run into this with a few 3rd party uploads you need to do. The data and layout is correct but it just won’t let you upload. The easiest way I am aware of to fix this is to use TextWrangler.
textwrangler
Opening up the CSV file you will see what kind of end of line style it uses. Changing this to CRLF as per the image below should make it good to upload (assuming you have the correct data types and layout).
 fake-data
If this does not fix the upload – you have a different problem, good luck.
Also thanks to List of Random Names – honestly making fake names up is hard (read as: time consuming).