DeDestruct - Tutorials and Easy to Use Tips for Web Developers and Web Designers

DeDestruct Home

Javascript Image Zoom Effect

Thursday
Aug 7,2008

Javascript Fanc Zoom

Simple Image Zoom Effects

Asked by Gina a design student

how do i write code in javascript or html.. for..when i click on the image , the image shoud enlarge

(more…)

Saturday
Mar 22,2008

How do I get the current position of the cursor in a TEXTAREA using Javascript?

Asked by Frank Peterson a design student from New York

How do I get the current position of the cursor in a TEXTAREA using Javascript? I’ve only found scripts on inserting at the current position but not on returning the number of the cursor’s position.

(more…)

Interactive Shopping Carts With Shopify

  • Filed under: Resources
Tuesday
Feb 26,2008

“This site (http://shop.uppercasegallery.ca/) has a shopping cart the likes of which I’ve never seen before. It’s pretty slick; it slides in and persists at the bottom of the screen, unless the user closes it. With my limited knowledge of the newer technologies of the web, I’m assuming it employs JavaScript and maybe a little bit of Ajax.”

It is indeed a nice shopping cart application, but it actually uses a 3rd party provider called Shopify made by Jaded Pixel. While I don’t want to do a product review or endorsement you can set Shopify to work on your domain and even have control of the interface. They’ve even released their templating language called Liquify as open source for Ruby on Rails applications (similar to Smarty on PHP).

You have options to leverage JavaScript frameworks to build something similar such as the shop module in script.aculo.us. Many JavaScript frameworks offer a combination of drag-n-drop/Ajax that can be used to build similar functionality. Unfortunately, code samples are impractical in this example, because it varies on what framework utilized and programming language.

How-To: Embed Flash / SWFs With Valid Code

Saturday
Dec 22,2007

How can you embed flash on a page and still have it validate?

notValid
asked by Dion Davis, a student in Phoenix

Maintaining page validation while embedding flash can be a pain for anyone. Most people try to drop the swf onto their page in dreamweaver, in this case dreamweaver will try its best to write a little code for you to make it work. The problem is that it doesn’t validate. In my opinion the easiest way to accomplish this is use the SWFObject JavaScript.

(more…)

Friday
Dec 21,2007

Is it possible to create a private variable in a Javascript “object”?

asked by Caustic Dave from Michigan

Private variables can be created by using the ‘var’ syntax before defining the variable.
That limits its scope to within the object it was created in.

Example

function fName(){
   //functions are objects in javascript
   var firstname = “steve”;
   // firstname is a private variable for the object fName 
}

lastname = “albridge” ;
// lastname is a global/public variable 

Additional Reference

OOP in JS, Part 1 : Public/Private Variables and Methods
Private Static Members in Javascript
Private Members in JavaScript - Douglas Crockford

Friday
Dec 21,2007

How do you debug Javascript in IE6?

js_error
asked by Jake, a Web Developer from New York

The lack of proper error reporting in IE is daunting for new developers, but there are some add-ons that can help manage javascript errors for IE6.
(more…)


Ayush Saran Alex Hackbart Kris Crousore

Flickr Delicious myspace

Hackbart

Alex Hackbart wants to be your friend, and you want to be his.

He was born and raised in San Diego and doesn't plan on leaving soon.

When not training jiu-jitsu he's most likely working or eating a burrito at his neighborhood taco shop.

Email: alex@dedestruct.com

URL : stylemeltdown.com
lightpostcreative.com

Flickr Last.FM Delicious Myspace

The Insomniac

Ayush Saran is a standards aware Web Developer in San Diego.

He is passionate about Interface Design, Front-End coding and Wordpress non-blogs.

When hes not drinking ketchup Ayush enjoys stencil art, english soccer and downtempo music.

Email: ayush@dedestruct.com

URL : ayushsaran.com

Flickr Twitter Twitter Twitter

The Krusher

Kris "krusher" is a lead web developer working NAMTRA media in Carlsbad, CA.

When the krusher isn't cheering/talking/watching the sport of MMA he's off learning all he can about front-end site development.

He likes the sport of MMA, beating up iYoosh, exercising and enjoying time with his poor, but happy family (Dont hate, Donate!)

Email: kris@dedestruct.com

URL : kriskrusher.com



Chris Poteet

Flickr Delicious

Chris Poteet

Chris Poteet is a web application developer focusing on interface design, usability and web standards.

He Also has an interest in business process re-engineering and content/knowledge management with technological interests from open source to commercial.

He owns a web design company, Siolon.

URL : siolon.com

Coming-soon [Flickr Group]

San Diego County Fair

Subscribe to the RSS Feed