HomeGENERALPrinter Friendly Version

GENERAL

1. Knowledgebase

1.1. Scroll to Top

Attached doc and png file.

1.2. Photo album

1.3. Email Privacy Statement

1.4. ATIMO Form

2. EDLINE

2.1. Access to EDLINE

Screen Name = AtimoStPatrick
PW = bf21195

3. Hosting Companies

4. FTP Servers

4.1. Bestparishwebsites

ftp.bestparishwebsites.com
user bestparish
pw Atimo239986#

5. Components

5.1. Default form and form validation

  1. What does this do?
    1. Under normal circumstances, this form will simply go to the destination page, via AJAX, and then load the response into that same <div>
    2. In order to take advantage of validation, but not utilize the "load response back into div" part, simply add the form attribute method="POST", this will tell the form that it should be submitted normally, i.e., not via AJAX

                    i.      e.g., <form action="path/to/submit/page" method="POST">

  1. Using the Form
    1. First, ensure that the form in question is wrapped in a <div> with a class of ajax_form. The function will only affect forms wrapped within this <div>
    2. The function can be called by running bind_default_form()

  2. Validating the form
    1. The function that is responsible for validation is default_validation()
    2. Any field that is mandatory should have a class of js-required – this is applied to the <input>
    3. <input type="text"> that have js-required will only be validated in one dimension, i.e., whether or not the field is blank. If the field is blank, the user is alerted and the form submission is cancelled.
    4. If validation is required in more than one dimension, validating an email address for example, we have special classes that can be used. The values of these fields will be tested again a Regular Expression and will return an error if they failed the test.

                     i.      js-email

                    ii.      js-phone

  1. To validate <input type="radio"> just make sure that at least one of the radios from the group – i.e., that have the same name – have the class js-required
  2. To validate <input type="checkbox"> all the associated checkboxes must be wrapped in a <div> with a class of js-checkbox and js-required.
  3. In order to pass a custom validation, on the <form> in question, add the following:

                     i.      <input type="hidden" name="form_validation" value="{{name_of_function_to_be_called}}">

                    ii.      This function can itself contain a call to default_validation()[1], so there is no need to reinvent the wheel when customizing a validation

  1. Alerting the user[2]
    1. If the form has been found to be invalid, two things will happen:

                     i.      The first error – aka the first invalid field – will be "focused"

                    ii.      An alert with a given message will be displayed



[1] Developer note: default_validation() will return a Boolean value that can then be used to test against.

[2] Nothing has to be done in order for this to work

5.2. Javascript Validator "Ask a Question"

Attached is the Javascript code for Ask a Question form validator.

5.3. Video HTML5

<!-- "Video For Everybody" v0.4.2 by Kroc Camen of Camen Design <camendesign.com/code/video_for_everybody>
=================================================================================================================== -->
<!-- first try HTML5 playback: if serving as XML, expand `controls` to `controls="controls"` and autoplay likewise       -->
<!-- warning: playback does not work on iPad/iPhone if you include the poster attribute! fixed in iOS4.0                 -->
<video width="640" height="360" controls>
<!-- MP4 must be first for iPad! -->
<source src="__VIDEO__.MP4" type="video/mp4" /><!-- WebKit video    -->
<source src="__VIDEO__.OGV" type="video/ogg" /><!-- Firefox / Opera -->
<!-- fallback to Flash: -->
<object width="640" height="360" type="application/x-shockwave-flash" data="__FLASH__.SWF">
<!-- Firefox uses the `data` attribute above, IE/Safari uses the param below -->
<param name="movie" value="__FLASH__.SWF" />
<param name="flashvars" value="controlbar=over&amp;image=__POSTER__.JPG&amp;file=__VIDEO__.MP4" />
<!-- fallback image. note the title field below, put the title of the video there -->
<img src="__VIDEO__.JPG" width="640" height="360" alt="__TITLE__"
title="No video playback capabilities, please download the video below" />
</object>
</video>
<!-- you *must* offer a download link as they may be able to play the file locally. customise this bit all you want -->
<p> <strong>Download Video:</strong>
Closed Format: <a href="__VIDEO__.MP4">"MP4"</a>
Open Format: <a href="__VIDEO__.OGV">"Ogg"</a>
</p>

 

Also check the link : http://www.avs4you.com/Guides/delete-part-of-video.aspx  to learn how to cut undesirable pieces from the original video...  Most cases we will cut the long blank space before the actual start of the video.

5.4. HTML5 Video without Flash

5.5. HTML Forms

5.6. Image Resizer

http://www.binarymoon.co.uk/projects/timthumb/

6. Telephone

6.1. Star Commands

*1 retrieves a call placed on Hold.


*2 will allow you to set an “Always” forwarding number.


*3 will cancel an “Always” forwarding rule.


*5 + extension will pick up a call on hold on that extension.


*8 will turn on Do Not Disturb.


*9 will turn off Do Not Disturb.


*021 allows you to set a “Busy” forwarding number.


*022 allows you to set a “Ring no answer” forwarding number.


*023 allows you to set a “Internet connection outage” forwarding number.


*031 cancels a “Busy” forwarding rule.


*032 cancels a “Ring no answer” forwarding rule.


*033 cancels an “Internet connection outage” forwarding rule.


*67 in front of a call blocks Caller ID for that call.


*68 will re-enable Caller ID if you change your mind about *67.


*69 will call back the most recent attempt to reach your extension.


*70 in front of a call disables Call Waiting for the current call.

7. CSS3

7.1. Hiding CSS3 Elements in IE

Please see the attached PDF for instructions on how to change the behavior of CSS3 elements only for Internet Explorer. The situation referenced in this PDF is a very specific one, but the general theory can apply to other situations.

It should also be noted that because it is in HTML comment, it only work in HTML pages (re: not in a CSS file).

8. Google Maps

8.1. Remove Balloon

In order to remove the balloon from the map, add the following parameter to the string:

- &iwloc=near