linein designs

Archive for the ‘javascript’ Category

Earlier this week I had an interesting problem. I needed to have some javascript code run from within the page being called via AJAX. The javascript relied on the values being set in the page being called so it could not be setup on the page before hand. It had to be called afterward.
It basically [...]

This one about drove me crazy all night trying to think of why this does not work and to be honest I still don’t understand why it doesn’t. But below is a solution to the problem.
The problem was I was trying to close a popup and force the parent page to load a URL using [...]

A while back we wrote an article on how to fade images in and out from a single directory using jQuery and another plugin, but today we’re going to add…actually we’re going to totally redo the way we did it in the past. The new way should leave a much smaller footprint.
View Demo

I’m just finishing up a little project to improve the search ability on a website and I want to display an image and message say “loading…” until the script finished running. Below is an easy way to do that.
First just make sure you have the latest version of jQuery.

$(document).ready(function () {
$.get(“script.php”, { keyword: “linein”},
function(data){
document.getElementById(‘text_box’).innerHTML = [...]

06 Feb, 2008

Alternate Background Colors Using PHP

Posted by: john In: javascript| php| programing

You now can look in almost any website or web application where the background colors are alternating. This is a great (and easy) way to improve the user interface for the end users.
Here’s a quick explanation of what’s going on in the demo file below:
First we set the alternating backgrounds we want to use.

$bg1 = [...]

A friend of mine recently requested a quick image rotator script that was not using Flash, but would use Javascript. Below is a script that will read through a single directory and look for any image file (jpg, gif, or png) and rotate it.
Requirements:

PHP
jQuery (latest version)
InnerFade plugin (see docs for variables explanations and additional vars)

// [...]

More javaScript resources than you could ever ask for. Jason does another great job getting them all together in one convenient place.
read more | digg story




Please Support Our Sponsors

A Payday advance can be a great way to get back on track.

Banner

About

My name is John Veldboom and have been in design and web programing for just over 8 years now. Started off as a hobby in high school but it has developed into a full time job now. I always tell people that if I wasn't doing this at work each day, I would be at home doing it for free. I love it!

Please visit the contact page to drop me a message.