Skip to content

Instantly share code, notes, and snippets.

@Karthik128
Karthik128 / Facebook Popup Like Box
Last active Nov 10, 2016
Facebook Popup Like Box
View Facebook Popup Like Box
<script type="text/javascript" language="javascript">
function ccpop()
{
document.getElementById("overlay").style.display = 'block';
}
window.onload = ccpop;
</script>
<!--CodingCrazy.com Popup Like and Subscribtion Box-->
<style>
@import url(http://fonts.googleapis.com/css?family=Electrolize);
View gist:aa47cb96a5f44c513774
<ul>
<li><a href='#'>Main Menu One</a>
<ul class='sub-menu'>
<li><a href='#'>Your Sub Menu Item one</a></li>
<li><a href='#'>Your Sub Menu Item Two</a></li>
<li><a href='#'>Your Sub Menu Item Three</a></li>
<li><a href='#'>Your Sub Menu Item Four</a></li>
</ul>
</li>
<li><a href='#'>Main Menu Two</a>
@Karthik128
Karthik128 / Facebook Popup Like Box With Feedburner Newsletter Subscription
Last active Aug 29, 2015
Facebook Popup Like Box With Feedburner Newsletter Subscription
View Facebook Popup Like Box With Feedburner Newsletter Subscription
<script type="text/javascript" language="javascript">
function ccpop()
{
document.getElementById("overlay").style.display = 'block';
}
window.onload = ccpop;
</script>
<!--http://karthiktechfreak.blogspot.in/ Popup Like and Subscribtion Box-->
<style>
@import url(http://fonts.googleapis.com/css?family=Electrolize);
@Karthik128
Karthik128 / Email Subscription Popup Window With Facebook Like Button and YouTube Subscribe Button For Blogger
Last active Aug 29, 2015
Email Subscription Popup Window With Facebook Like Button and YouTube Subscribe Button For Blogger
View Email Subscription Popup Window With Facebook Like Button and YouTube Subscribe Button For Blogger
<script type="text/javascript">
function ks_style_v4_popup(){document.getElementById('ks-style-v4-popup-main').style.display='block'}setTimeout('ks_style_v4_popup();',1000);
</script>
<style type="text/css">
* html #mkstylepopupdiv {
position:absolute;
}
#mkstylepopupdiv {
z-index:999;
View MainActivity.java
package com.androidwebviewapp.karthik;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.webkit.WebSettings;
View Splash.java
package com.androidwebviewapp.karthik;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
View MyAppWebViewClient.java
package com.androidwebviewapp.karthik;
import android.content.Intent;
import android.net.Uri;
import android.webkit.WebView;
import android.webkit.WebViewClient;
/**
* Created by Karthik's on 3/5/2015.
*/
View activity_splash.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@mipmap/vert_loading"
tools:context=".Splash" >
</RelativeLayout>
View activity_main.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity"
android:orientation="vertical">
<ProgressBar
android:id="@+id/progressBar1"
style="?android:attr/progressBarStyleSmall"
View menu_main.xml
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" tools:context=".MainActivity">
<item
android:id="@+id/share"
android:title="@string/share"
android:showAsAction="ifRoom"
android:actionProviderClass="android.widget.ShareActionProvider"/>
</menu>