Search Google

Monday 30 June 2014

php script coding example tutorial application

http://www.script-tutorials.com/pinterest-like-script-step-1/

Facebook like photo gallery with comments

Have you thought about own facebook-style photo gallry system with comments? I think – yes. Today I made up my mind to prepare it for you. Main idea – when we click at images – they popup (ajax) with bigger image at the left and comments section at the right. All images are in the database (mySQL). And, of course, we will use PHP to achieve our result.

http://www.script-tutorials.com/facebook-like-photo-gallery-with-comments/


Powerful Chat System – Lesson 9

Today I prepared new stage of our php/mysql based chat system. In our ninth lesson I added one important feature: public rooms. Now your members can talk in different public rooms. Right to create and remove rooms belong to administrators.

Today, as usual, we will publish only updated sources of our project. As you know, whole project is well structured: system classes is in ‘classes’ folder, all javascript files in ‘js’ folder, stylesheets in ‘css’ folder, all custom avatars in ‘data’ folder, images in ‘images’ folder, template files in ‘templates’ folder


http://www.script-tutorials.com/powerful-chat-system-lesson-9/

http://www.script-tutorials.com/how-to-easily-make-ajax-style-php-chat-application/

how to make a slideshow in html with css javascript and jquery

 BEST JQUERY PLUGIN FOR SLIDESHOW
 http://www.jqueryscript.net/popular/

BEST PLAY WITH SLIDESHOW "TEXT" http://www.jqueryscript.net/slideshow/Funny-jQuery-Card-Deck-Slideshow-Plugin.html

 http://www.jqueryscript.net/menu/Cool-Animated-Side-Menus-with-Sliding-Pushing-Effects.html



 how to make background image to fill browser in html
 1.
------------------------------------
#img.source-image {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
--------------------------------
2.
img.bg {
  /* Set rules to fill background */
  min-height: 100%;
  min-width: 1024px;
 
  /* Set up proportionate scaling */
  width: 100%;
  height: auto;
 
  /* Set up positioning */
  position: fixed;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
  img.bg {
    left: 50%;
    margin-left: -512px;   /* 50% */
  }
}


 http://css-tricks.com/search-results/?q=slideshow

http://css-tricks.com/infinite-all-css-scrolling-slideshow/

BEST EXAMPLE http://css-tricks.com/examples/InfiniteCSSSlideshow/


slideshow background image running

Lightweight jQuery Background Slideshow Plugin - BgSwitcher

Stylish Featured Content Slideshow Plugin - desSlideshow


Simple Auto-Playing Slideshow | CSS-Tricks

<html>
<style>
html,body
{
margin:0px;
padding:0;
background-color: #E4D4C5;
}

#tech-slideshow-1 > .text {

    position: fixed;

    width: 100%;

    margin-top: -50px;

    top: 25%;

    text-align: center;

    line-height: 22px;
    color :white;
}

#tech-slideshow {
    height:  900px;//background size
    position: relative;
    overflow: hidden;
}
#tech-slideshow > div {
    height: 200px;
    width: 2526px;
    background: url(http://cl.ly/9BJG/collage.jpg);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
   
    -moz-transition:  opacity 0.5s ease-out;
       -o-transition: opacity 0.5s ease-out;
  -webkit-transition: opacity 0.5s ease-out;
      -ms-transition: opacity 0.5s ease-out;

    -webkit-animation: moveSlideshow 60s linear infinite;
    -moz-animation:    moveSlideshow 60s linear infinite;
   
}

@-webkit-keyframes moveSlideshow {
    0% { left: 0; }
    100% { left: -1684px; }
}
@-moz-keyframes moveSlideshow {
    0% { left: 0; }
    100% { left: -1684px; }
}
</style>
<body>
   
<div id="tech-slideshow">
    <div id="tech-slideshow-1">
<div class="text"><h3>THIS IS IT</h3>

<br/>

<h3>HAPPY BIRTDAY</h3>

<br/>

          <h2>

            <a href="#">OM</a>

          </h2>  </div>
</div>

</div>     
</body></html>

fantastic slideshow in iframe

               http://www.cincopa.com/



Cincopa is the most complete rich media kit for WordPress, Joomla, Blogger and many other CMS. Add media to your site in seconds! Select one of our awesome skins, upload your media and easily embed on your website, simple as that.

Cincopa Innovative Platform Presents: All-In-One Multimedia Solution

You may choose any rich media feature, provided by Cincopa, to embed video, music or podcast players, anywhere across the web. Cincopa supports all webpages, e-mails and CMS technologies and automatically performs all conversions, transcoding and other adjustments needed for an optimal user and client experience.
Your part of the job is summed up in one-time, simple and quick task, which includes the following steps:
  • Decide upon the desirable media.
  • Select one of the 44 incredible Cincopa's skins.
  • Customize your options.
  • Upload the media files to your Cincopa's folders.
  • Paste the code, given to you by Cincopa, anywhere you want it to be displayed.

Sunday 29 June 2014

css backgroung with text In Big photo image






In Big photo image change two places URL


#push-recit {
    position: relative;
    padding: 0px;
    line-height: 0;
    background: url('http://i.imgur.com/7Rz5wAf.jpg') no-repeat scroll 50% 50% / cover transparent;}


--------------------------
<div id="push-recit"><img alt="" src="http://i.imgur.com/7Rz5wAf.jpg" style="width: 100%; opacity: 0; z-index: -1;" />
      

// <div style="background-color:#c0c0c0;position: relative;padding: 25px 50px;height:150px;">




Saturday 28 June 2014

Footer code

Footer code

Footer code

<!--
Tis is for footer
footer is below
-->

<footer>
<div class="divider"></div>
<div class="container">



<a href="https://www.facebook.com/pages/Aavik-Kumar-The-New-Creator-Love/638055522922802?ref=stream&hc_location=stream"><img src="images\facebook-icon.png" alt="facebook-icon"></a>
<a href="#"><img src="images\twitter-button-blue-icon.png" alt="twitter-button"></a>
<a href="#"><img src="images\google-plus-icon.png" alt="google-plus-icon"></a>
<a href="#"><img src="images\linkedin-icon.png" alt="linkedin-icon"></a>
<a href="#"><img src="images\path-icon.png" alt="pinster"></a>
<a href="#"><img src="images\Youtube-icon.png" alt="Youtube-icon"></a>

</div>
</footer>

</body>
</html>


for style

css

footer {

    background: none repeat scroll 0% 0% #DFDFDE;
    padding: 120px 0px;
    text-align: center;
    position: relative;
    bottom:0;
 
}

.divider {
    background: url('http://evablackdesign.com/wp-content/themes/ebd/images/footer-border.png') repeat-x scroll center center transparent;
    height: 7px;
    width: 100%;
    position: absolute;
    top: -6px;
}

.container {
    width: 930px;
    margin: 0px auto;
}

add social button

Download all social ICON http://www.iconarchive.com/ BEST


ADD social sharing button need login
http://www.addthis.com/

http://www.sharethis.com/

CLEAR DATABASE FUNCTION IN PHP

" CLEAR DATABASE" FUNCTION IN PHP

In html  body tag <div style='float:right'><input type='button' value='Clear' onclick='val()'></div>


<?php
$con=mysql_connect('localhost','root','');

mysql_select_db('db_name',$con);
if(!$con)
{
die("could not found");
}
else
{
echo "CONNECTED TO DATABASE.</br>";
}
mysql_query("DELETE FROM `db_data/table-name`");
mysql_query("DELETE FROM `db_table3`");

?>
<a href='index.php'>Home</a>

http://www.w3schools.com/php/php_mysql_insert.asp

--------------------------------------------------------------------------------
while (!feof($h))
{
$str=fgets($h,4096);//read a line
list($a,$b,$c)=(explode("-",$str));//seperate a string by means of |
echo $a."-".$b."-".$c."</br>";
$ch=strlen($c);
if($ch==10)
{
//echo $c."<br>";
$s=mysql_query("INSERT into db_table3(`fname`,`lname`,`phone_number`) VALUES('$a','$b','$c')");
$r=mysql_query($s,$con);
}
else{
$ph="022".$c."<br>";
//echo $ph;
$sq=mysql_query("INSERT into db_table3(`fname`,`lname`,`phone_number`) VALUES('$a','$b','$ph')");
$re=mysql_query($sq,$con);
}
}
fclose($h);

Friday 27 June 2014

web design vide slideshow

http://wordpress.org/themes/invert-lite

http://slide.ly/?utm_content=header_logo

http://www.photosnack.com/login.html?next=%2Fcreate-album%2F

http://animoto.com/#

http://www.ezvid.com/5_free_slideshow_makers_for_wiindows

http://www.lwshow.com/
online slideshow
http://slideful.com/


login script and other fantastic script


 BEST http://tutorialzine.com/

https://in.answers.yahoo.com/question/index?qid=20100413175316AASAuQc

http://www.adesdesign.net/blog/tutorials/photoshop/smart-objects-and-web-design/

http://evolt.org/php_login_script_with_remember_me_feature/

Tuesday 24 June 2014

Website Designs Based on Large Photographs, Perfect Full Page Background Image

Best  Website Designs Based on Large Photographs, Perfect Full Page Background Image

----------------------------------------------------------------


<html>


<head>

<style>

html,body {
    margin:0;
    padding:0;
    background-color: #E4D4C5,
}


#header{
    margin: 0;
    padding:0;
    width:;
    height:700px;
 }


#push-recit {
    position: relative;
    padding: 0px;
    line-height: 0;
    background: url('http://atelierstersi.fr/image/data/push-recit.jpg') no-repeat scroll 50% 50% / cover transparent;
}
#push-recit > div {
    position: absolute;
    width: 100%;
    margin-top: -50px;
    top: 50%;
    text-align: center;
    line-height: 22px;
}


h3 {
    margin: 0px 0px 40px;
    font-family: "Playfair Display",serif;
    font-weight: 1000;
    font-style: italic;
    color: white;
    font-size: 34px;
}




#content {                  
      left:70px;
      right:70px;
      width: 1000px;
      height: 1500px;
      margin: 0 auto;
      position: relative;        
            }         
          

 

a.nowandthen{
position:relative;
display: block;
overflow:hidden;
cursor: pointer;
width: 650px; /* set width of image container */
height: 434px; /* set height of image container */
}

a.nowandthen img{
position:absolute;
left:0;
top:0;
width: 100%;
height: 100%;
-moz-transition: all 0.5s ease; /* enable transition */
-webkit-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
z-index: 2;
clip: rect(0,650px,434px,0); /* clip values should be rect(0,image_width,image_height,0) */
}


a.nowandthen img:nth-of-type(2){ /* hide "after" image beneath "before" so it's initially out of view */
z-index: 1;
}


a.nowandthen:hover img:nth-of-type(1){ /* clip "before" image to reveal "after" */
clip: rect(0,0,434px,0); /* clip values should be rect(0,0,image_height,0) */
opacity: 0;
}

a.nowandthen.alt{
width: 650px; /* set width of image container */
height: 354px; /* set height of image container */
}

a.nowandthen.alt img{
clip: rect(0,650px,354px,0); /* clip values should be rect(0,image_width,image_height,0) */
}

a.nowandthen.alt:hover img:nth-of-type(1){
clip: rect(0,0,354px,0); /* clip values should be rect(0,0,image_height,0) */
}








footer {
 
    background: none repeat scroll 0% 0% #DFDFDE;
    padding: 120px 0px;
    text-align: center;
    position: relative;
    bottom:0;
  
}

.divider {
    background: url('http://evablackdesign.com/wp-content/themes/ebd/images/footer-border.png') repeat-x scroll center center transparent;
    height: 7px;
    width: 100%;
    position: absolute;
    top: -6px;
}

.container {
    width: 930px;
    margin: 0px auto;
}



</style>
</head>

<body>

<!--
Website Designs Based on Large Photographs
Perfect Full Page Background Image
-->

<div id="header">

<div id="push-recit"><img alt="" src="http://atelierstersi.fr/image/data/push-recit.jpg" style="width: 100%; opacity: 0; z-index: -1;" />
<div><h3>THIS IS IT</h3>
<br/>
<h3>HAPPY BIRTDAY</h3>
</div>

</div>



<div id="content">


<p style="background-color:white;">
I am a person who is positive about every aspect of life. There are many things I like to do, to see, and to experience. I like to read, I like to write; I like to think, I like to dream; I like to talk, I like to listen. I like to see the sunrise in the morning, I like to see the moonlight at night; I like to feel the music flowing on my face, I like to smell the wind coming from the ocean. I like to look at the clouds in the sky with a blank mind, I like to do thought experiment when I cannot sleep in the middle of the night. I like flowers in spring, rain in summer, leaves in autumn, and snow in winter. I like to sleep late, I like to get up late; I like to be alone, I like to be surrounded by people. I like country’s peace, I like metropolis’ noise. I like delicious food and comfortable shoes; I like good books and romantic ,action and drama in  movies. I like the land and the nature, I like people And, I like to laugh.i love watching & making short film.i am computer geek, programmer :) .

engineer in information technology

i am  freelancer,entrepreneur,web  designer,computer expert,blogger,programmer(java,c&c++,php,dot net,asp&c#)

</p>
<h2>HELLO WORLD</h2>


<a class="nowandthen">
    <img src="http://3.bp.blogspot.com/-tegPTeqpsZ0/UVaXPg0oMsI/AAAAAAAAAew/fQI-5ASCSGM/s1600/DSC03406.JPG" alt="">
    <img src="http://4.bp.blogspot.com/-G5Z8ymVD_gY/U4OZUm_lnwI/AAAAAAAAB3Q/IgCxaikExPw/s1600/hacking_wordcloud.jpg" alt=""></a>

<a class="nowandthen alt">
    <img src="http://img23.imageshack.us/img23/3189/before2f.jpg" alt="">
    <img src="http://img824.imageshack.us/img824/2466/after2g.jpg" alt="">
</a>


<h2>hiiiiiiiiiiiiiiiiiiiiiii</h2>

</div>


<!--
Tis is for footer
footer is below
-->

<footer>
<div class="divider"></div>
<div class="container">

<h1>hiiiiiiiiiii</h1>

</div>
</footer>

<body>
</html>


Monday 23 June 2014

How to use iframe to add website within a website

<!DOCTYPE html>
<html>
<body>

<iframe src="http://thenewcreator.blogspot.in/" width="800" height="600"></iframe>

<p>Some older browsers don't support iframes.</p>
<p>If they don't, the iframe will not be visible.</p>


</body>
</html>
--------------------------------------------------------------------

Saturday 21 June 2014

How to Implement Google plus comments in Blogger Custom Templates


The new Google plus comment system can be implemented in default templates (the ones from Blogger) by Going the Google + tab of Blogger dashboard and ticking the option for the same. If you didn’t link your Google plus with Blogger profile, you have to do this now. Google plus comments Blogger Enable Google plus comments in Blogger How to enable this on Custom Blogger Templates If you are using a theme from outside the Blogger collection, you have to do some edits in your Template.

You have three options Revert your template to default Blogger Edit Template, Enable both Google+ and Blogger comments Implement Google+ Comments only Revert template to default.. This is the simplest method.. Go to Template > Edit HTML.Click on Revert Template to Defaults. Select Blog1. google plus comments - implementation Revert to default option

how-to-implement-google-plus-comments-in-blogger-custom-templates/ 

how to embed live website within website in html

looking for a way to display a web page within a web page, this HTML code may be just what you're looking for.



Embed Code Generator


Here’s a simple solution. To do this, all you need to do is to tweak some simple codes:
<object data=http://www.example.com width=”650″ height=”500″> <embed src=http://www.example.com width=”650″ height=”500″> </embed></object>

How to tweak the code

  1. replace the two instances of “http://www.example.com” with the actual URL of the web page you want to embed
  2. change the width and height to meet the need of your post (650 px works best for the default post width of my blog)
  3. copy and paste the tweaked code into the Text editor of your post

<object data="http://thenewcreator.blogspot.in/" width=”650″ height=”500″> <embed src="http://thenewcreator.blogspot.in/" width=”650″ height=”500″> </embed></object>

---------------------------------------------------------------------------------

<iframe src="http://thenewcreator.blogspot.in/" width="800" height="600"></iframe>


--------------------------------------------------------------------------------------------------



How to embed a live Google Docs spreadsheet into a webpage

The process is very simple and the results will definitely save you a lot of time.
  • First, import your Excel file in Google Docs or open your Google spreadsheet;
  • File > Publish to the Web...;
  • Check the box that says “Automatically republish when changes are made”;
  • Click "Start Publishing";
  • Change “Get a link to the published data” from “Web page” to “HTML to embed in a page”;
  • Copy and paste the HTML code generated (should start in "<iframe") in an HTML-enabled space on your webpage.
In your webpage, in HTML mode, write a code using the standard HTML notation to create a link <a href=”URL”> YOUR TEXT HERE </a>
The URL you will have to plug in is your Google doc one, found under “Share...”:


Click "Share..." under "File"

Grab the URL circled and paste it in the HTML code.
Once you’ve done that, you can simply write something like “Click here to access the Google document for this table” in the YOUR TEXT HERE space, and... all done!

how-to-embed-a-live-google-docs-spreadsheet-into-a-webpage/