Showing posts with label up. Show all posts
Showing posts with label up. Show all posts

Monday, March 9, 2015

How about inline slideshow with a nice pop up gallery

A simple thing was kinda blowing my mind lately. Theres a lot of fancy galleries out there. Jquery and others, where Highslide happens to remain one of the best. But as I went through all of them and being more or less impressed, on none of "XY most best wow galleries" have I noticed 1 to satisfy my ... kind of a simple need.

What I (my client) wanted was a gallery that is inline as slideshow (with custom effects) and then as you click on the image, it enlarges into more-or-less full-screen or something like it.

Now amazingly I havent found any to be complete like that. Either theyre inline excellent slideshows without "popup-zoomin", or theyre amazing galleries that work from thumbnails (meaning static photos in the page). No fancy-wow-ough-yeah gallery covers the thing as:

1. inline slideshow (not thumbnails)
AND 2. pop-up (zoom-in or whatever) gallery (that has the controls of forward, backward,... and effects,...).

So after a month (or three months?), a combination of 2 scripts seems to somehow provide the best option:

1. Jquery cycle
2. prettyPhoto

With 1st, you put in images in 1 div and cycle through them with several effects. Nice, simple to plug in.

< div id="PhotosScrolling" >
< img1... />
< img2... />
< img3... />
< /div >

With 2nd, you just need to put some links over those imgs, so the final html looks like this:


< div id="PhotosScrolling" >
< a href="BigImage1" rel="ImageGalleryName" > < img1... /> < /a>
< a href="BigImage2" rel="ImageGalleryName" > < img2... /> < /a>
< a href="BigImage3" rel="ImageGalleryName" > < img3... /> < /a>
< /div>

Add the script calls with options. Example is as great as the great touristic destination itself :-).

What I love about these 2 scripts is their simplicity and css dependency. You can easily implement it on any database logic and need not think about much else.

Still wondering though, did I miss any script that does both jobs and can be implemented even easier?
Read more »

Tuesday, February 17, 2015

iPhone 5 Mock up PSD

iPhone 5 Mock-up PSD

Free Download iPhone 5 PSD Mock-up. The iPhone 5 mock up launch, high resulotion and vector base so its easy to adjust and customize. Enjoy!

Type : PSD
Category : Mockups
License : Free
Author : Deviantart
Download
Read more »

Tuesday, January 27, 2015

Up all night the LinkedIn Intern Hackday Day 2

Update: the official photos, videos, and submitted projects are now available on the Intern Hackday site.



In my previous post, I showed you the sights and sounds from day 1 of the LinkedIn Intern Hackday. This post will do the same for day 2, Saturday July 30. The Intern Hackday was an overnight affair and just about all the interns worked straight through the night to get their hacks done by noon. 45 projects were submitted, featuring a wide range of ideas, platforms and technologies. We saw games, music apps, UI frameworks, augmented reality, AI, location apps, IDE extensions, p2p file sharing, and even a 20 page report.

The pictures below are, as usual, mostly from iPhones. Keep your eyes on the Intern Hackday site for the official event photos, videos and project submissions soon!

12:00am: one of the interns turns 21!
2:30am: Dylan Field gives us a preview of his teams hack
5:00am: the hackers are still going strong
Well, most of them anyway
Programmer, noun: an ingenious device that turns caffeine into code
6:30am: the sun comes up
10:00am: Brooke and her dog drop by to provide emotional support
11:00am: Allen announces the 1 hour warning
Less than 60 minutes to get the hacks submitted. Crunch time!
11:55am: 5 minute warning.
12:01pm: the hacks are submitted. Time to crash.
Sandwiched between bean bags
3:00pm: picking the 15 finalists
4:00pm: celebrity judges James Gosling, Kevin Scott and Omar Hamoui in the house!
Adam Nash kicks things off
The judges look on as some amazing projects are presented
Rocks: a 3d, in-browser, multiplayer game using node.js, socket.io, WebGL and some serious technical wizardry
LinkedUp: like Chat Roulette, but with less... genitalia. Thanks for cleaning that up Adam!
After deliberating, the judges picked the winners. 3rd place went to the beam.it team!
2nd place: LinkedOut!
1st place: rocks!

http://twitter.com/adamnash/status/97481275065110528
Read more »

Friday, January 16, 2015

Simple Login and Sign Up using Facebook Javascript SDK

Filling Sign Up and Login form were part of every web application nowadays. Users feel it hard to fill the sign up form again with same information. With Facebook API you can easily collect the basic user information needed for sign up.

This is the simplest working example for facebook based sign up.

This tutorial uses Facebook Javascript SDK v2.2

Demo|   Download

Needables

  • Facebook SDK
  • Facebook Application ID
You can create your application for free from here https://developers.facebook.com/apps


App ID (Application ID) can be obtained from the facebook application page, as show in above screenshot.

 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://getbootstrap.com/dist/js/bootstrap.min.js"></script>

Signup Html Form

      <form class="form-signin" role="form">
<div id="status"></div>
<h2 class="form-signin-heading">User Registration</h2>

<label for="inputFname" class="sr-only">First Name</label>
<input type="text" id="inputFname" class="form-control" placeholder="First Name" required autofocus>

<label for="inputLname" class="sr-only">First Name</label>
<input type="text" id="inputLname" class="form-control" placeholder="Last Name" required >

<label for="inputEmail" class="sr-only">Email address</label>
<input type="email" id="inputEmail" class="form-control" placeholder="Email address" required >

<label for="inputPassword" class="sr-only">Password</label>
<input type="password" id="inputPassword" class="form-control" placeholder="Password" required>
<div class="checkbox">
<label>
<input type="checkbox" value="remember-me"> Remember me
</label>
</div>

<button class="btn btn-sm btn-primary btn-block" type="submit">Sign Up</button> <button class="btn btn-sm btn-primary btn-block" onclick="_login();" type="submit">Sign Up using Facebook</button>
</form>

Javascript

    <script>
// Load the SDK asynchronously
(function(thisdocument, scriptelement, id) {
var js, fjs = thisdocument.getElementsByTagName(scriptelement)[0];
if (thisdocument.getElementById(id)) return;

js = thisdocument.createElement(scriptelement); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js"; //you can use
fjs.parentNode.insertBefore(js, fjs);
}(document, script, facebook-jssdk));

window.fbAsyncInit = function() {
FB.init({
appId : 1449392918617564, //Your APP ID
cookie : true, // enable cookies to allow the server to access
// the session
xfbml : true, // parse social plugins on this page
version : v2.1 // use version 2.1
});

// These three cases are handled in the callback function.
FB.getLoginStatus(function(response) {
statusChangeCallback(response);
});

};

// This is called with the results from from FB.getLoginStatus().
function statusChangeCallback(response) {
if (response.status === connected) {
// Logged into your app and Facebook.
_i();
} else if (response.status === not_authorized) {
// The person is logged into Facebook, but not your app.
document.getElementById(status).innerHTML = Please log +
into this app.;
}
}

function _login() {
FB.login(function(response) {
// handle the response
if(response.status===connected) {
_i();
}
}, {scope: public_profile,email});
}

function _i(){
FB.api(/me, function(response) {
document.getElementById("inputFname").value = response.first_name;
document.getElementById("inputLname").value = response.last_name;
document.getElementById("inputEmail").value = response.email;
});
}

</script>

Read more »