Its Done

Thursday, 8 January 2009 15:50 by frimbooze

I done some more work on the photo display widget. I have done the following today. I would say I have done a fair days work.

blog_08012009

  • Fixed the upload handler , now returns text/html instead of text/plain, the upload control uses a normal submission inside and temp Iframe. When the content type was set as ‘plain’ the returned JSON would be encapsulated insde <pre> html tags causing a eval error.
  • Since the above was fixed had the upload form refresh the datastore to include the new images.
  • I added a click listener to the dataview control, when an image is clicked it will load a new window positioned at the top of the screen(useful for the large screen shots) with the image inside, though not as pretty as say ‘lightbox’, it works.
  • Implemented a pass key on the image upload form a security to stop unwanted uploads.
  • Fixed a CSS issue with the dataview, overflows of floated elements.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Comments

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading