COBOLdinosaur


Member since 12/30/2012

Website: coboldinosaur.com

22 snippets

4833 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

COBOLdinosaur's Recent Snippets



« Prev 1 Next »
If you syndicate your content with an RSS feed it can help to drive additional traffic to the content pages.
0 1009 posted 9 years ago by COBOLdinosaur
This is a simple PHP class that can be used to produce nicely formatted reports from unorganized data.
0 1034 posted 9 years ago by COBOLdinosaur
This snippet allows an array or multiple arrays to be re-sorted using multiple key fields.
0 926 posted 9 years ago by COBOLdinosaur
The key to making it work is the event listener that get added using the DOM method that binds it to the mousemove event and declares the event handler. Most event can be bound to a handler this way.
0 1017 posted 9 years ago by COBOLdinosaur
A simple transition from a linear gradient to a radial gradient can be made very dramatic by including a color change transition. One of 10 effects presented.
0 1066 posted 9 years ago by COBOLdinosaur
The base rotation can be in three different planes; though as we will see later combinations can make it look like we rotate through many perceived planes. In the examples below instead of rotate we specify the plane by using rotateZ (The default we...
0 1202 posted 9 years ago by COBOLdinosaur
A simple effect using simple CSS. This is part of a collection of gradient effects
0 1073 posted 10 years ago by COBOLdinosaur
Having a handle for groups of options allows script driven dynamic effects to manage changes of presentation with in the select without having to refresh or use other inefficient methods of updating the display.
0 1062 posted 11 years ago by COBOLdinosaur
Doing the echo with multiple concatenated bits of strings was very error prone and I was always getting parsing errors. The toggle format where you flip PHP on and off throughout the HTML is less error prone but is a real pain in the ass if you have...
0 873 posted 11 years ago by COBOLdinosaur
The first thing you might notice is that I am not using nested lists to layout the menu. That is an old XHTML layout technique. I am using the more semantically correct HTML5 <nav> tag. Menus are not lists, they are navigation so using the more moder...
0 1225 posted 11 years ago by COBOLdinosaur
The CSS calc() function can be used anywhere a length, frequency, angle, time, number, or integer is required. It can be used to apply values for width/height; font-size; margins; padding; borders; shadows; border radius; text-indent;top/right/bottom...
0 944 posted 11 years ago by COBOLdinosaur
Each image is positioned, dimensioned, and repeated according to the comma separated values in the other background properties. The images in the list are layered front to back in the same order they are listed in the rule declaration. If a backgroun...
0 1101 posted 11 years ago by COBOLdinosaur
The colgroup and col structure is like a directive that specifies table formatting outside of the normal flow. Notice that the col tags do not get closed in HTML5, and the cascade is irregular. Normally the cascade applies to children, but the rows a...
0 923 posted 11 years ago by COBOLdinosaur
One of the limits of using lists (ordered and unordered) is that they have no provision for a heading. You can do something like: <ul>This is a Title<li> etc... but it is invalid because the list containers can only contain List Items. One way common...
0 918 posted 11 years ago by COBOLdinosaur
Changes shape back and forth from a round element to a square element.
0 802 posted 11 years ago by COBOLdinosaur
The use of dynamic data acquisition on modern web sites and in a lot of intranet applications, sometimes means we have to build structures dynamically as data comes in from a feed or AJAX operations. The problem is not with the data, but rather that...
0 846 posted 11 years ago by COBOLdinosaur
The nice part about it is that the caption is locked to the image. The figure can be positioned and styled and the caption can be rendered with any affect that can be applied to any other text element.
0 887 posted 11 years ago by COBOLdinosaur
Simle markup, simple CSS combined with ver straight forward javascript to produce some really cool effects.
0 848 posted 11 years ago by COBOLdinosaur
In modern browsers select options can now be style using most css properties. Of course, IE is still behind but it does support some styling as well. There are a lot more options on the site.
0 929 posted 11 years ago by COBOLdinosaur
To keep up on important incidents on your site without having to dig through server logs the alternative can be custom logs.
0 877 posted 11 years ago by COBOLdinosaur
Using an image background for a photo allows all kinds of framing possibilities
0 771 posted 11 years ago by COBOLdinosaur
Uses the table display properties in div tags to merge the attributes of multiple tags.
0 925 posted 11 years ago by COBOLdinosaur
« Prev 1 Next »