Animated Page Scrolling with Jquery

24
Jul
0

Animated Scrolling with Javascript Example

Contruct anchor tages as usuall

download jquery.js

download scrollto.js -> I got the originall at leaneringjquery.com but it was packed, i unpacked it and made the following changes on lines 681

//jQuery.dequeue(z.e, ‘interfaceFX’)
jQuery(e).dequeue(’interfaceFX’);

put the two .js files in a folder named /java/ on your web root

add these lines in your header

<script src=”/java/jquery.js” type=”text/javascript”></script>
<script src=”/java/scrollto.js” type=”text/javascript”></script>

markup anchors like this (example)

<a href=”#background”>Background</a><br />

<p>
<strong><a name=”background” id=”background” class=”anchor”>Background</a></strong>
Since 2000 healthcare organizations have been adapting  concepts and practices borrowed from the Toyota Production System (TPS/Lean) to  improve the delivery of care and reduce costs.   A variety of approaches have been implemented, some more successful than  others and some in specific areas of the organization, but few with a  comprehensive plan that would optimize all areas of healthcare operations.  This proposal strongly suggests that the  witnessed successes of some can be realized across the industry if executed  with a comprehensive plan and shared openly.   The plan outlined in the Program proposed herein would provide structure  for the participating organizations and demonstration of the plan and results  to limitless numbers of observers/adopters.

</p>

Filed under: javascript

php, javascript, flash file upload progress bar

5
Jul
0

Here is my version of file upload progress bar that is somewhat web friendly (original code by http://www.pixeline.be/). It makes use of javascript, php, and flash. It gets the job done regardless if JavaScript is turned off or on. If JavaScript is turned off in the browser the file still gets uploaded you just don’t get the progress bar.

Download here http://www.ironlasso.com/downloads/progress_bar.zip

unzip put the “progress_bar” anywhere on your site should be good to go.

Here are the files

demo.html :front end file upload form
falsh_upload.php : php file that actually does the file uploading
jqUploader.swf : flash that shows the progress bar
/files/ : destination folder of the uploaded files
various javascript and css files

Filed under: flash, javascript, php