Author Archives: Amr ElGarhy

29!

29!!

Posted in Stream | Comments Off on 29!

How to hide users files and folders on your website?

Sometimes you want to hide some files or folders on your website, so that no one can access them directly. If you have an upload feature in your website, and your website users upload their files or images to your … Continue reading

Posted in Technical | 2 Comments

Javascript hints and intro to JQuery

High performance websites session1 View more presentations from amr elgarhy.

Posted in Technical | Comments Off on Javascript hints and intro to JQuery

Submit form using javascript

Simply to submit a form using javascript you can write:

In the following code you will see a special case where the form is not appearing directly on the page but through an iFrame element.

  This code … Continue reading

Posted in Technical | 2 Comments

Call container page function from child iframe

The simplest way i got to call a function that exists in the iframe container page is using:

  <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title>title> head> <body>     <form id="form1" runat="server">     <div>         <script language="javascript" type="text/javascript">             function AlertFromParent() … Continue reading

Posted in Technical | Comments Off on Call container page function from child iframe

Flash Javascript communication first look

  I did a fast research about how to make flash interact with the container website, and i collected some good information. There are 2 main techniques to implement communications between flash and the container website: Example: http://www.kongregate.com/developer_center/docs/kongregate-api 1- Client … Continue reading

Posted in Technical | Comments Off on Flash Javascript communication first look

Me in a cartoon

Posted in Geeky Life | 2 Comments

HOW TO TELL WHEN IMAGES HAVE LOADED

Its a common requirement in some websites specially which are dealing with many images and JavaScript, such as image galleries websites or websites that has images slide shows made using JavaScript. In a project i just finished, i was making … Continue reading

Posted in Technical | 2 Comments

Nice article about large file upload using asp.net

http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx

Posted in Technical | Comments Off on Nice article about large file upload using asp.net

Different ways to watermark html input text

  There are many ways to add a watermark text to an input text, which will go when you focus the control or start writing inside. I will list here some good ways to this behavior:

This is an … Continue reading

Posted in Technical | Comments Off on Different ways to watermark html input text