Friday, July 17, 2009
Geolocalization to get lattitude and longitude values
Geolocalization is the process of getting lattitude and longitude values for given address. The code below gives you the lat long values from google for your addresses.
Copy paste options are not working in dreamweaver
In my dream weaver copy paste options are not working. Its gives an erroraneous alert "While executing DWShortcuts_HTMLSource_Find_Replace command in menus.xml, the following JavaScript error(s) occured:".
The solution that i got from somewhere was to basically clear the configurations for dreamweaver.
C:\Documents and Settings\\Application Data\Macromedia\Dreamweaver MX 2004\Configuration
To acertain if this is the case, you can simply test it by moving the configuration folder to somewhere else. If it still doesnt work, simply put it back.
Now my dreamweaver works fine again without having to reinstall it.
The solution that i got from somewhere was to basically clear the configurations for dreamweaver.
C:\Documents and Settings\
To acertain if this is the case, you can simply test it by moving the configuration folder to somewhere else. If it still doesnt work, simply put it back.
Now my dreamweaver works fine again without having to reinstall it.
Encoding and Decoding the strings in PHP
base64_encode and base64_decode functions are used to encode and decode your strings.
Ex code:
';
$encode=base64_encode($str);
echo 'Encoded : ',$encode,'
';
echo 'Decoded : ',base64_decode($encode);
?>
Ex code:
';
$encode=base64_encode($str);
echo 'Encoded : ',$encode,'
';
echo 'Decoded : ',base64_decode($encode);
?>
How to clear file upload field value using js
We can't assign or remove value through js for file upload field. We can remove value only through reset button only.
But we can do it simply as below.
First take that file field in div or any other container tags like span etc.,
and in js give that div's innerHTML as input type="file" name="img". So new file upload element is created within that div.
But we can do it simply as below.
First take that file field in div or any other container tags like span etc.,
and in js give that div's innerHTML as input type="file" name="img". So new file upload element is created within that div.
Thursday, July 16, 2009
About Joomla module
Joomla module is logic with interface which can placed at multiple pages at user defined position of the pages. We can easily make it enable / disable and change it's position at any time.
Example: “online friends” is one module which can be placed in different pages at what ever position we want.
There are so many modules available freely at http://extensions.joomla.org/
You can develop your own module for any of specific purpose and call it in all pages or some of the pages you want.
Example: “online friends” is one module which can be placed in different pages at what ever position we want.
There are so many modules available freely at http://extensions.joomla.org/
You can develop your own module for any of specific purpose and call it in all pages or some of the pages you want.
Subscribe to:
Posts (Atom)