User Code List
New Snippet
CSS2
---Reset all elements
------New Snippet
---Floats: Clearing floats
---min-height
---css diagnostic script
---ie conditional statement
---opacity
---New Snippet
---New Snippet
---New Snippet
---New Snippet
---V & H centering
---box model hack
---css timeline
---Form made of

  • ---Append icons at end or begining of links
    ---Sprite btn
    ---Background Image with a color at the bottom to blend
    vert & hor aligning
    ---box model hack
    variables: Create a variable
    PHP
    ---creativing a variable
    ---array
    ---functions
    ------New Snippet
    ---Form
    ---functions with parameters
    ---email validater
    ---placing strings within strings
    ---passing values through urls strings
    ---rotating banner
    ---if elsif switch
    ---while for foreach
    ---URL values
    ---PHP REDIRECT
    ---DISPLAYING TIME IN DIFFERENT TIME ZONES
    ---String Functions
    ---Mondy formatting
    New Snippet
    AS3
    ---Variable: Data typing for Numbers.
    ---Functions
    ---Dot Syntex
    ---Displaying mc_Clips
    ---Displaying _mc from library.
    ---Targeting nested _mc
    ---Events
    ---Managing Depth with as3
    ---Drag and Drop
    ---Loading images
    ---toggle button
    ---TweenMax: Tweening to a curve path
    SQL
    ---New Snippet
    ---DB connection
    ---SELECTS
    ---WHERE
    ---NOTES
    ---OPERATORS FOR WHERE
    ---AND
    ---OR
    ---AND OR
    ---ORDER BY
    ---INSERT INTO
    ---UPDATE
    ---New Snippet
    ---FORGOT PASSWORD FORM
    ---LOGIN FORM
    ------New Snippet
    ---Encrypting Password using md5() functiont
    HTML 5
    ---New DOCTYPE
    ---Elements: New
    ---Coding a HTML 5 layout
    ------New Snippet
    ---HTML 5 .js File
    ---Grey Scale Hover
    ---HTML5 video syncing
    ---Canvase
    New Snippet
    Freelance Assets
    ---Formula for pricing
    ---New Snippet
    New Snippet
    New Snippet
    New Snippet
    New Snippet
    New Snippet
    New Snippet
    AS3
    ---toggle button
    GREENSOCK TWEENS
    ---TimelineMax
    ------New Snippet
    ------New Snippet
    ---TweenMax
    ---New Snippet
    ---New Snippet
    ---New Snippet
    ---New Snippet
    ---New Snippet
    New Snippet
    New Snippet
    New Snippet
    TweenMax
    CSS3
    ---Make Your Mockup in Markup
    ------New Snippet
    ------New Snippet
    ------New Snippet
    ------New Snippet
    ---Cleaner Code with CSS3 Selectors
    ---Breaking Out The Edges of The Browser
    ---Stronger, Better, Faster Design with CSS3
    ---Pushing Your Buttons With Practical CSS3
    ---New Snippet
    ------New Snippet
    ---CSS3 button
    ---CSS3 Media Querys
    ---css3 3 column module
    Design Trends 2009
    ---Trends
    New Snippet
    JAVASCRIPT
    ---If else
    ---Math
    ---Dot Syntax
    ---veriables
    ---Operaters
    ---switch, case, break Statement
    ---For Loop
    ---Array
    ---Functions
    ---Alert window popup with button click
    ---setTimout For Timers
    ---Select List with links
    ---Form Validation before sending to php
    ---Loading Alt Versions of your site
    ---Time on your site
    ---Navigating within same page
    ---Toggling content in same div w/ btns
    ---Short notation
    ---Formatting money
    ---onlclick on buttns, rollover, and on text links
    ---New Snippet
    ---External Script
    ---New Snippet
    New Snippet
    JQUERY - XML
    ---Retrieving data from an xml file
    IE FIXES
    ---New Snippet
    New Snippet
    ---New Snippet
    New Snippet
    JQUERY MASTER
    ---JQUERY - Retrieving Page Content
    ------Attribute Targeting
    ------jquery wrapper
    ---------New Snippet
    ---------New Snippet
    ------Jquery Transition Plugin
    ---------New Snippet
    ------Smart Columns CSS & jQuery
    ------No conflict with other libraries
    ---------New Snippet
    ------New Snippet
    ------Add Class
    ------Jqery wrapper
    ---------New Snippet
    ------Content & Visibility
    ------Filters
    ------Form Selectors
    ------Targeting Elements
    ------Chaining
    ------Targeting attributes
    ------New Snippet
    ---------New Snippet
    ------Anotation
    ---JQUERY - Manipulatin Page Content
    ------Creating, Setting and Getting Content
    ------Change values of an element using [attr]
    ------Inserting Content
    ------Wrapping, Replacing and Removing Content
    ------CSS Function
    ------Add Class
    ------Rollovers
    ------animate
    ------Create elements on button click
    ---JQUERY - Creating Dom Elements
    ------Generating new HTML
    ---JQUERY - Targeting Attribute Values
    ------attr
    ---Binding- Multiple Events
    ---Display text of an element
    ---Getting images and copy from an array
    New Snippet
    JQUERY - Events
    ---New Snippet
    New Snippet
    JQUERY - Events
    ---ToggleClass
    New Snippet
    XML
    ---Displaying xml data an styling it with css
  •  
     
    functions
     

    Passing in multiple values into a function.

    <?php

    $person = "Robert";

    function myGreeting($greeting,$person,$endComment){

    echo $greeting . $person . "," . $endComment;

    }

    myGreeting("Hello ", $person, "nice to see you again.");

    ?>

    //////////////////////////////////////////////////////////////////////////////////////////////////////

    Passing in math values, assigning the total to a variable, retuning the

    value to the function. Then assign the function to a variable. After that

    we check to see if the answer is a specif value by using a if statement.

    <?php

    function mySum($val1,$val2,$val3){

    $sum = $val1 + $val2 + $val3;

    return $sum;

    }

    $myTotal = mySum(20, 20, 20);

    echo $myTotal;

    if($myTotal == 60){

    echo "<br><br>Yes the answer is 60.";

    }else{

    echo "<br><br>Nah nigga the answer is not 60.";

    }

    ?>

    ///////////////////////////////////////////////////////////////////////////////////////////////////////

    Using deult values to surpress errors in function if all the parameter have not

    been assigned.

    <?php

    function paint($color="blue",$room="office."){

    echo "I am going to use the color {$color} to paint my {$room}.";

    }

    paint("tope","bedroom");

    ?>

    ///////////////////////////////////////////////////////////////////////////////////////////////////////

    Order of operation in a mathamatical problem. You process whats in double quotes first.

    <?php

    $var1 = 10;

    $var2 = 20;

    $result = (($var1 + 100) - $var2) * 5;

    echo $result += 5 - 20;

    ?>

    ////////////////////////////////////////////////////////////////////////////////////////////////////////

    Using variable within a echo string. Just add the variable within curley braces.

    <?php

    function aName($names){

    echo "Hello {$names}, welcome back to the site.";

    }

    aName("Robert Atkinson");

    ?>

     
    Sub-Article List
    New Snippet