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


Author: | Posted in Tutorials No comments
At some point you might come across a situation where you have to use a blinking text in your website or a project. We know blinking text or marquee scrolling is out of date and isn’t really recommended these days for website design but that’s what your client wants, and there’s nothing you can do about it, so you decide to do it.
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
CSS

HTML
I am using setInterval function and toggle function to blink text in this tutorial. As you can see, the “blink” class is added on the “P” element which contains the text that we wanted to blink, and between the interval of 500 milliseconds the “blink” class gets added and then removed.
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>

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


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. /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