Re: Setting the style for the HTML_Ajax loader

From: Date: Wed, 18 Jan 2006 04:48:00 +0000
Subject: Re: Setting the style for the HTML_Ajax loader
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22575@lists.php.net to get a copy of this message
On 18/01/2006, at 2:51 PM, Joshua Eichorn wrote:
The default element is auto generated and uses style attributes to get its look. This means its not real easy to change its style using CSS. The best way to change its look is too just create your own element, if an element with an id of HTML_AJAX_LOADING exists on the page it will be used instead. An example is given below, but you can use any amount of CSS or html. The only requirements is that its a block level element and you'll want it too have an initial display of none. <div id='HTML_AJAX_LOADING' style="position: absolute; top: 0; right: 0; background-color: red; width: 80px; padding: 4px; display: none">Loading ..</div> -joshua eichorn
you'll want it too have an initial display of none.
I just tried this and i get a Loading ... come up

« previous php.pear.general (#22575) next »