dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: erkutacar

Search: Search took 0.00 seconds.

  1. ok i figured it out myself :) thnx anyways

    ok i figured it out myself :) thnx anyways
  2. what if i wanted to make the number value of i +...

    what if i wanted to make the number value of i + 1 because file names start from 0001.
    since i is equal to 0 it starts giving ids from image0.


    <img id="image0" class="resizing"...
  3. ok it worked thnx a lot

    ok it worked thnx a lot
  4. hmm ok i get it now :) what if i dont want...

    hmm ok i get it now :) what if i dont want 'image' but only number? coud i use it like this?


    <img id=". $i .'" class="resizing" src="'.$num.'" alt="">
  5. need a very simple and urgent help pleasseeee

    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


    <table id="gallery"...
  6. Replies
    17
    Views
    2,510

    well mozilla developer network said it should be...

    well mozilla developer network said it should be like that :D
    https://developer.mozilla.org/en/DOM/document.getElementsByClassName

    ok man gnite say hi to ur eyelids :D
  7. Replies
    17
    Views
    2,510

    thnx a lot for the effort man.. ive also tried...

    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...
  8. Replies
    17
    Views
    2,510

    ClassName nor Name worked.. but ById worked (only...

    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..
  9. Replies
    17
    Views
    2,510

    oh damn it worked then i changed image for img :)...

    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?

    here is my...
  10. Replies
    17
    Views
    2,510

    ok ive changed it the way u said but still not...

    ok ive changed it the way u said but still not working.. oh and ive tried img.height instead of im.style.height but still didnt work..

    function resize_images()
    {
    var img =...
  11. Replies
    17
    Views
    2,510

    hmm ok but then how do i refer only to the images...

    hmm ok but then how do i refer only to the images with the id #resizing?
  12. Replies
    17
    Views
    2,510

    nope... didnt work.. look here is the link of the...

    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 :] )
  13. Replies
    17
    Views
    2,510

    well ive done it may way coz i want the script to...

    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 :)
  14. Replies
    17
    Views
    2,510

    need urgent help on a small script!!!

    hey everyone im new to this site and javascript. i really need help coz ill go blind soon for researching :D

    what im trying to accomplish is simple but i couldnt.. i have a set of images with the...
Results 1 to 14 of 14
HTML5 Development Center



Recent Articles