<script type="text/javascript">
function preloader(){
document.getElementById("preloader").style.display = "none";
document.getElementById("container").style.display = "block";
}
window.onload = preloader;
</script>
<style type="text/css">
div[id="container"]{
display: none;
}
div[id="preloader"]{
position: absolute;
z-index: 1000;
width: 100%;
height: 100%;
background: url(http://www.vinavu.com/wp-content/themes/comfy/styles/default/img/loading.gif) no-repeat 20px 20px;
cursor: wait;
}
</style>
<div id="preloader"></div>
<div id="container"></div>
Thursday, April 8, 2010
Wednesday, January 20, 2010
install mac style dock menu in ububtu
To install this type
sudo apt-get install avant-window-navigator awn-manager awn-applets*
or
yum install avant-window-navigator awn-manager awn-applets*
in the terminal. Its done. u can see the dock menu application->accesssories->awant window manager.
Try this which is really cool one to have in ur desktop.
Credit: http://www.hackourlives.com/?p=750
once its started the dock menu then right click on the menu click'dock preferences'.
Here, check the checkbox in General-> Start up behaviour -> Automatically start.
Then confirm yes
its done. Next time the dock menu will be launched automatically.
sudo apt-get install avant-window-navigator awn-manager awn-applets*
or
yum install avant-window-navigator awn-manager awn-applets*
in the terminal. Its done. u can see the dock menu application->accesssories->awant window manager.
Try this which is really cool one to have in ur desktop.
Credit: http://www.hackourlives.com/?p=750
once its started the dock menu then right click on the menu click'dock preferences'.
Here, check the checkbox in General-> Start up behaviour -> Automatically start.
Then confirm yes
its done. Next time the dock menu will be launched automatically.
Tuesday, January 12, 2010
virtual host in apache XAMPP & XP Environment
How to enable virtual hosts in local xampp installation in XP OS:
Edit the setting files:
xampp/apache/conf/httpd.conf
xampp/apache/conf/extra/httpd-vhosts.conf
step 1: Edit xampp/apache/conf/httpd.conf
Edit the Document Root variable settings @ line nr : 188
--------------------------------------------------------
change DocumentRoot "C:/xampp/htdocs" into
DocumentRoot "C:/SVN/test-site/sitefolder"
Then come to the line looks like "
#
# This should be changed to whatever you set DocumentRoot to.
#
# "
remove the entire directory tag or comment all the lines using # .
--------------------------------------------------------
Add the following in that place
< VirtualHost *:80 >
ServerName sitelocal.com
ServerAlias www.sitelocal.com
DocumentRoot C:/SVN/test-site/sitefolder
< Directory C:/SVN/test-site/sitefolder >
Order allow,deny
Allow from all
step 2: open the file xampp/apache/conf/extra/httpd-vhosts.conf and add the following lines
< VirtualHost *:80 >
DocumentRoot "C:/SVN/test-site/sitefolder"
ServerName sitelocal
step 3:Edit the hosts file in the path:C:\WINDOWS\system32\drivers\etc
add the line 127.0.0.1 sitelocal.com
Edit the setting files:
xampp/apache/conf/httpd.conf
xampp/apache/conf/extra/httpd-vhosts.conf
step 1: Edit xampp/apache/conf/httpd.conf
Edit the Document Root variable settings @ line nr : 188
--------------------------------------------------------
change DocumentRoot "C:/xampp/htdocs" into
DocumentRoot "C:/SVN/test-site/sitefolder"
Then come to the line looks like "
#
# This should be changed to whatever you set DocumentRoot to.
#
#
remove the entire directory tag or comment all the lines using # .
--------------------------------------------------------
Add the following in that place
< VirtualHost *:80 >
ServerName sitelocal.com
ServerAlias www.sitelocal.com
DocumentRoot C:/SVN/test-site/sitefolder
< Directory C:/SVN/test-site/sitefolder >
Order allow,deny
Allow from all
step 2: open the file xampp/apache/conf/extra/httpd-vhosts.conf and add the following lines
< VirtualHost *:80 >
DocumentRoot "C:/SVN/test-site/sitefolder"
ServerName sitelocal
step 3:Edit the hosts file in the path:C:\WINDOWS\system32\drivers\etc
add the line 127.0.0.1 sitelocal.com
Subscribe to:
Posts (Atom)