Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Images Help

  1. #1
    Regular Coder feras_wilson's Avatar
    Join Date
    Jul 2005
    Location
    Sweden
    Posts
    129
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Images Help

    Hi all!
    I have some images in a layer which is contenteditable and a dropdown. when i add a image, images name add to the dropdown. I need to know how to when i select the images then delete, the images name remove/delete from the drop down!
    I need the code which remove the image name from the dropdown!
    Can some one help me?
    Code:
    <html>
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Ny sida 1</title>
    </head>
    
    <body>
    
    <p><select size="1" name="D1">
    <option value="Image 1">Image 1</option>
    <option value="Image 2">Image 2</option>
    </select></p>
    <div style="border:1px solid #000000;width: 403px; height: 256px; z-index: 1" id="lager1">
    <img border="0" src="someImage" width="101" name="Image 1" height="107">&nbsp;
    <img border="0" src="someImage" width="101" name="Image 2" height="107"></div>
    
    <p>I want when i select the image and delete it, then dropdown option remove</p>
    
    </body>
    
    </html>
    Last edited by feras_wilson; 07-09-2006 at 10:39 AM.
    Exp:
    PHP
    .NET

  • #2
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,505
    Thanks
    3
    Thanked 501 Times in 488 Posts
    to save wasting someone elses time

    Help with Images
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #3
    Regular Coder feras_wilson's Avatar
    Join Date
    Jul 2005
    Location
    Sweden
    Posts
    129
    Thanks
    1
    Thanked 0 Times in 0 Posts
    But i said when i press delete, not when i select the drop down
    Exp:
    PHP
    .NET

  • #4
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,505
    Thanks
    3
    Thanked 501 Times in 488 Posts
    Code:
    I need to know how to when i select the images then delete, the images name remove/delete from the drop down!
    WHERE is 'PRESS'
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #5
    Regular Coder feras_wilson's Avatar
    Join Date
    Jul 2005
    Location
    Sweden
    Posts
    129
    Thanks
    1
    Thanked 0 Times in 0 Posts
    When i press the button Delete
    Exp:
    PHP
    .NET


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •