This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Dear folks, I have a question! How can we download a GIF file from server on Load of an HTML Document. I am getting a stream for that Graphic from the server. Also I am invoking this url (of stream) in a IFrame. Main page contains an Iframe. On click of a button in the Main Page, IFrame will be targetted to get the Graphic in it. as a response in that IFrame, I am getting the following : <script> var graphicURL = "GRAPHIC URL"; document.lcation.href = graphicURL; </script> graphicURL is the ultimate GRAPHIC stream which comes from the Database as a Blob with proper mime-type. I am able to download all of other formats. (JPG and JPEGs are shown in another pane with a third-part tool component.) Only with GIFs I got stuck. I have seen in Yahoo, they are able to download GIF attachments straightly with a window dialog for download. I want it in the same way. I appreciate if anybody could help me out regd this. Thanks alot! Nagesh.