sábado, 4 de octubre de 2014
PHP Javascript Alert Box
<?
echo '<script language="javascript">';
echo 'alert("Incomming call from 1111111111\n Jose")';
echo '</script>';
?>
How to make text blink with JavaScript and CSS3
There used to be CSS property called “text-decoration” and HTML tag “blink” that allowed you to do that easily, but modern browsers these days doesn’t support them anymore. so only option left is to use jQuery for that. Here in this tutorial I’m going to show you a very simple trick you can use to make text blink with JavaScript and CSS3.
jQuery
1
2
3
4
5
6
7
8
9
|
// we are blinking text using simple setInterval function
<script type="text/javascript">
$(function(){
window.setInterval(function(){
// 'blink' class is toggled into 'P' tag between the interval of 500 ms
$('P').toggleClass('blink');
}, 500);
});
</script>
|
CSS used for Blinking text
CSS
1
2
3
4
5
6
7
|
<style ="text/css">
/* We are using CSS3 Property "transition" for the animating blinking text effect */
P {transition: color 200ms ease;}
/* The class "Blink" is set to be transparent*/
P.blink {color:transparent;}
</style>
|
HTML
1
|
<p>This is a demo text that blinks.</p>
|
By default we have set the “P” element to have CSS3 transition property which creates the fade in and fade out effect every time a property changes and the class “blink” has the css property of color set to be transparent meaning it makes the text invisible, so every time the “blink” class is added the text becomes invisible and then visible again when the “blink” class is removed.
This is a really simple way to do this and might be useful sometimes.
http://www.andwecode.com/blink-text-using-simple-javascript-css3/#tab-4820-demo
POPUP WINDOW
<br><center><b>
<a href="" onclick="window.open('google.com','name','width=400,height=500')">Voices list</a></b></center>
<a href="" onclick="window.open('google.com','name','width=400,height=500')">Voices list</a></b></center>
Add edit delete rows dynamically using jquery and php
http://www.amitpatil.me/add-edit-delete-rows-dynamically-using-jquery-php/
http://www.jqueryrain.com/example/jquery-ajax-example/page/4/
Here is the live demo http://www.amitpatil.me/demos/add-edit-delete-rows-dynamically-using-jquery-and-php/with-drop-down/ and download it from here http://www.amitpatil.me/demos/add-edit-delete-rows-dynamically-using-jquery-and-php/Ajax-table-with-drop-down.zip - See more at: http://www.amitpatil.me/add-edit-delete-rows-dynamically-using-jquery-php/#sthash.44BTTzMs.dpuf
http://www.jqueryrain.com/example/jquery-ajax-example/page/4/
Here is the live demo http://www.amitpatil.me/demos/add-edit-delete-rows-dynamically-using-jquery-and-php/with-drop-down/ and download it from here http://www.amitpatil.me/demos/add-edit-delete-rows-dynamically-using-jquery-and-php/Ajax-table-with-drop-down.zip - See more at: http://www.amitpatil.me/add-edit-delete-rows-dynamically-using-jquery-php/#sthash.44BTTzMs.dpuf
Here is the live demo http://www.amitpatil.me/demos/add-edit-delete-rows-dynamically-using-jquery-and-php/with-drop-down/ and download it from here http://www.amitpatil.me/demos/add-edit-delete-rows-dynamically-using-jquery-and-php/Ajax-table-with-drop-down.zip - See more at: http://www.amitpatil.me/add-edit-delete-rows-dynamically-using-jquery-php/#sthash.44BTTzMs.dpuf
Here is the live demo http://www.amitpatil.me/demos/add-edit-delete-rows-dynamically-using-jquery-and-php/with-drop-down/ and download it from here http://www.amitpatil.me/demos/add-edit-delete-rows-dynamically-using-jquery-and-php/Ajax-table-with-drop-down.zip - See more at: http://www.amitpatil.me/add-edit-delete-rows-dynamically-using-jquery-php/#sthash.44BTTzMs.dpuf
(Ubuntu - Lamp) Why exist in Ubuntu lamp 2 PHP.ini files?
PHP can be executed from the command line or from a webserver.
http://superuser.com/questions/147743/ubuntu-lamp-why-exist-in-ubuntu-lamp-2-php-ini-files
/etc/php5/apache2/php.ini
is used for the webserver execution, /etc/php5/cli/php.ini
is used for the command line execution.http://superuser.com/questions/147743/ubuntu-lamp-why-exist-in-ubuntu-lamp-2-php-ini-files
Suscribirse a:
Entradas (Atom)