[Javascript] Drag and Drop Photo Album

Terry Riegel riegel at clearimageonline.com
Mon Sep 11 14:05:09 CDT 2006


I set up a demo site for everyone to look at.

http://www.youbelong.net/javascriptone

If you would like to log in send me an email and I can get you set up.

Terry



On Sep 11, 2006, at 2:16 PM, Terry Riegel wrote:

> Hello everyone,
>
> Thank you for all your help. I feel like I have taken another step  
> in becoming a "Real" (if there is such a thing) javascript  
> programmer. In the last few weeks I have gone from cutting and  
> pasting code to actually writing my own functions from scratch. It  
> has been very exciting to learn JS. I still feel like I am taking  
> baby steps but have found this group invaluable.
>
> I have in the last few weeks worked on 3 "major" javascript  
> applications. 1 - My file manager, 2 - an upload tool (with  
> progress indicators), and 3 - A Drag & Drop Photo Album. I am very  
> excited about my drag & Drop Photo Album because (so far) it seems  
> to work on all of the browsers I have tested it with. I also have a  
> non-javascript version in case someone can't work with the drag and  
> drop.
>
> If anyone is interested in seeing the application go to  
> youbelong.net, and look at some of the journals. The photo Album is  
> the third tab. This only shows the end user side, so if you would  
> like to see how the drag and drop part works drop me an email and I  
> will set up a demo site for you to see the drag and drop stuff.
>
> Once again thanks everyone for all your help.
>
>
> Terry Riegel
>
>
>
> On Sep 6, 2006, at 8:56 AM, Terry Riegel wrote:
>
>> Hello,
>>
>> I would like to swap out an image in an application I am writing.  
>> Basically I want to swap two image tags, the trick is I want to  
>> swap their ID and NAME tags also.
>>
>> For example, I have the following HTML...
>>
>>
>>  ...
>> <img src="image1.jpg" width="100" height="200" name="abc" id="abc">
>>  ...
>> <img src="image2.jpg" width="120" height="180" name="def" id="def">
>>  ...
>>
>>
>> that I would like to use javacscript to make into...
>>
>>  ...
>> <img src="image2.jpg" width="120" height="180" name="def" id="def">
>>  ...
>> <img src="image1.jpg" width="100" height="200" name="abc" id="abc">
>>  ...
>>
>> The important thing Is I would like to swap all of the attributes  
>> out. i.e. width,height,id,name,src
>>
>> Thanks,
>>
>> Terry Riegel
>> _______________________________________________
>> Javascript mailing list
>> Javascript at LaTech.edu
>> https://lists.LaTech.edu/mailman/listinfo/javascript
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list