Battle Royale , watch for free

Just found this UK site that has loads of movies that stream for free, just watched Battle Royale again. nice More »

TinEye Reverse Image Search

This is a nice reverse image search lookup tool TinEye Reverse Image Search.   More »

1927 Ford Model T Rat Rod – Lena’s First Drive – YouTube

Really like this 1927 Ford Model T Rat Rod   via 1927 Ford Model T Rat Rod – Lena’s First Drive – YouTube. More »

California Cars

Ford 302 truck

Wow! What an awesome all steel 1940 Ford Pickup! This matte black with gloss black fenders has a Ford 302 small block, C4 automatic transmission, power front disc brakes, aluminum radiator, vintage More »

Ford 302 power rat rod

I love the stance of this and I love the fact that the gear shifter pokes out of the roof!  Ok , so no side or rear glass, no heater and lots More »

Battle Royale , watch for free

Just found this UK site that has loads of movies that stream for free, just watched Battle Royale again. nice

Jquery Calendar MinDate

After driving myself nuts, discover that when you have a minDate

you have to put -1 after the month as they start from 0 , nice

 

http://stackoverflow.com/questions/847287/changing-mindate-option-in-jquery-datepicker-not-working

TinEye Reverse Image Search

This is a nice reverse image search lookup tool

TinEye Reverse Image Search.

 

Turning The Tables – PHP

Turning The Tables – PHP

Want to log script activity in your Web application, but haveno clue where to begin? Take our handy tour of PHP’s logging functions,and find out how simple it really is.

 

This is a nice handy little function to slip into your code to add audit/logging to your progs

via Turning The Tables – PHP.

How to ask a Confirmation of Yes/No – the “OnClick” event on a LinkButton using JavaScript : The Official Microsoft ASP.NET Forums

Re: How to ask a Confirmation of Yes/No – the “OnClick” event on a LinkButton using JavaScript

Nov 24, 2007 04:47 AM|LINK

Copy and Paste this JavaScipt:

function ConfirmDelete()

{

var ans = confirm(‘Are you sure to Delete this Record !!’);

if (ans == true || ans == 1)

{

return true;

}

return false;

}

Use this above JS function on your LinkButton like:

LinkButton1.Attributes.Add(“onclick”,”javascript:return ConfirmDelete()”);

or

LinkButton1.OnClientClick = “javascript:return ConfirmDelete()”;

That’s it !

via How to ask a Confirmation of Yes/No – the “OnClick” event on a LinkButton using JavaScript : The Official Microsoft ASP.NET Forums.

Force Vertical Scrollbar | CSS-Tricks

Force Vertical Scrollbarhtml { overflow-y: scroll;}

This is invalid CSS, but it works in everything except Opera. The reason for this is to prevent “centering jumps” when navigating back and forth between pages with enough content to have a vertical scroll bar and pages that do not.

via Force Vertical Scrollbar | CSS-Tricks.

Switch To Firefox’s Old Default Image Style

If you have been running a recent version of the Firefox web browser on your computer you’ve probably noticed that the image viewer has changed considerably in recent time.

A right click on an image link in the browser displays the new image now centered on the screen with a black background. Veteran Firefox users know that the image previously was displayed on the regular browser background without being centered in the browser.The new feature has seen heavy complaints from part of the Firefox user base. Users who did complain about it did not like the black background, and only to a lesser degree the centering of the image in the browser window.

Some users noticed that the new style had issues displaying transparent images with a lot of alpha correctly in the browser. And while those may be minor issues, it is still not really clear why Mozilla did not add a switch, or an about:config parameter, to enable or disable the feature.firefox image viewer centered black backgroundAccording to Bugzilla, the original request has been filed in 2007 to display images on a neutral background and not white. Makes me wonder why dark gray or black has been selected, and not a neutral grayish background.

Especially the switching from a light-themed website to the black image background is something that a growing number of users feel is not pleasing to the eye, so Old Default Image Style is a Firefox add-on that returns the display of images to the way it has been in the browser. The images are again displayed on a white background in the upper left corner of the screen. Firefox users who like the new centering of images can enable that option in the add-on preferences. Here they can also change the default white background to another color. The background color input field supports both hex color values as well as HTML colors so red and #cecece both work. Especially the ability to change the color of the background comes in quite handy for Firefox users who do not want images displayed on a dark background in the browser. The extension itself is restartless, and changes to the background color are immediately visible on “direct” image tabs in the browser.

via Switch To Firefox’s Old Default Image Style.

Short If Statement – One Line If Statement – Short If-Then-Else

Short If Statement in PHP

PHP – One Line If Statement – Short If Statement – Condensed If Statement

I always have to look this up, so here it is for easy reference. Sometimes is makes the code look less cluttered if you can express an ‘”if” in one line.

The one line if statement is also known as the ternary operator if you want to look it up in the PHP documentation. It has also been called the short if statement and the one line if statement.

1

2

//Assign a string value to $x

$x = ($myvalue == 10) ? “the value is 10″: “the value is not 10″;

Let’s say you decide to print the value of $x after the above statement has run.

If the value of the variable $myvalue is equal to 10, the string “the value is 10” will be printed out. But if the value of $myvalue is anything other than 10, the string “the value is not 10” will be printed out.

via Short If Statement – One Line If Statement – Short If-Then-Else.

1927 Ford Model T Rat Rod – Lena’s First Drive – YouTube

Really like this 1927 Ford Model T Rat Rod

 

via 1927 Ford Model T Rat Rod – Lena’s First Drive – YouTube.

Ford 302 truck

California Cars

Wow! What an awesome all steel 1940 Ford Pickup!

California Cars

This matte black with gloss black fenders has a Ford 302 small block, C4 automatic transmission, power front disc brakes, aluminum radiator, vintage wire wheels, electric fan, ghost flames, newer oxblood interior, AM/FM/CD player, relocated fuel fill and newer wood bed. Super good-looking truck for cruising in!

via California Cars.