ok ive got a function that places all the images from a folder into a table layout. what i need is an array function to give numerical ID to those images.. here is my code
thnx a lot for the effort man.. ive also tried document.getElementById('gallery').getElementsByName('resizing'); but didnt work. i havent made any other changes to the html and it doesnt have any...
ClassName nor Name worked.. but ById worked (only for the first img) and what u said about php stopped my script :D it was working fine the original way..
oh damn it worked then i changed image for img :) but only for the first pic.. as u mentioned every object should have a unique id.. so would giving a class name instead of id work?
nope... didnt work.. look here is the link of the site http://www.erkutacar.com/senol/beauty.php and u already know the scriptcode.. (image the borders visible to see whats going on :] )
well ive done it may way coz i want the script to affect only the elements with the id 'resizing'... thanks a lot ill try ur suggestion and report back :)