View RSS Feed

All Blog Entries

  1. Taking Control

    Last week, I wrote about taking a "PHP-first" approach to programming - program first, output last. But what should go first in your program?

    M-V-C
    You may have heard about something called "MVC" (Model-View-Controller). If not, here's your crash course:

    Model

    Your Model is all of the information needed/used by your program. [Hopefully], the Model is well-organized. Think of it in terms of note-taking: notes are easier to ...
  2. Every PHP Tutorial Is Wrong

    Many PHP tutorials begin with an introduction to the "basics" of the language: the <?php ?> tags, and usually the echo construct. For example, something like this:

    PHP Code:
    <html>
    <head>
        <title>My First PHP Page</title>
    </head>
    <body>
        <?php
            
    echo "Hello World!";
        
    ?>
    </body>
    </html>
    Before I blast this, I want to ...

    Updated 11-03-2012 at 01:27 AM by traq

    Tags: 1'", 1%2527%2522 Add / Edit Tags
    Categories
    PHP coding , Web Design issues
  3. Scroll to Top Script

    Here's my alternative to the ddscript Jquery Scroll to Top Control V1.1

    scroll_to_top.js

    Code:
    $.fn.scroll_to_top = function(userOptions) {
    	var check_scroll = 0;
        var defaultOptions = {
    		image : 'jump_to_top.png',
    		image_height : '6%',
    		image_width : '3%',
    		scroll_distance : 200,
    		scroll_location : 0,
    		scroll_speed : 600,
    		button_animate_speed : 200,
    		button_animate_type : 'fade',
    ...
    Tags: 1'", 1%2527%2522 Add / Edit Tags
    Categories
    Uncategorized
  4. Order Form w/current options live total

    Okey doke,
    there haven't been any blogs in a while, so I thought I might have some. It's about a thread I was on (here) in which Williamsun wanted a form which autosummed a price. I ended up coming up with something along these lines.
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type"
    ...
    Tags: 1'", 1%2527%2522 Add / Edit Tags
    Categories
    Uncategorized
  5. Extra Buttons for Ultimate Fade-in slideshow

    SPECIAL NOTE:

    Few of the links previously herein still went where they did (if anywhere) when this was first written. All necessary missing files and more can be downloaded in the current distribution archive:

    extrabuttonsdistro.zip

    Most recent additions - graceful integration with Ultimate Fade In Slideshow (2.6.1)'s new swipe feature, bug fixes to the original fadeslideshow.js script as noted in the included fadeslideshow.js file's comments section. Also included ...

    Updated 03-08-2016 at 04:47 AM by jscheuer1 (include updated files and explanations of same)

    Tags: 1'" Add / Edit Tags
    Categories
    DD Scripts Mods , Post a JavaScript , JavaScript & Ajax
Page 2 of 4 FirstFirst 1234 LastLast