PDA

View Full Version : [Require] Javascript Code



Snex
02-09-2009, 10:50 PM
Hello, I currently wonder if anyone knows a code which can do what the diagam shows below, easiest way to explain.

http://www.uploadstuff.co.uk/u/1251923642.png

Basically, I need a code which when you click on it, it makes the box expand however this can ONLY be Javascript not flash which when when click on it we already have the script to change the boxes below.

Thanks Snex.

VirtualG
03-09-2009, 08:28 AM
why dont you use iframes. Then use the onload="calcheight()" tool to make it increase/decrease to the correct size then just mkae it so when each image is clicked/unclicked it changes colour.

Heinous
03-09-2009, 08:46 AM
Look into DOM. Use JavaScript to manipulate it.

BoyBetterKnow
03-09-2009, 08:56 AM
Snex I'll write this later. Just making breakfast + family round..

Just letting you know. Look into jQuery and css changer. And an AJAX loader. It's so easy man.

Want to hide these adverts? Register an account for free!