This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Implement FBs like button in flash is horrible. But implement the iFrame button, hide it and trigger it from js is not | |
Just to remember this snippet | |
*/ | |
function fireEvent(element,event) { | |
if (document.createEventObject) { | |
// dispatch for IE | |
var evt = document.createEventObject(); | |
return element.fireEvent('on'+event,evt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Notifications WITHOUT the need for a redirect | |
package com.creativtrendz.folio.notifications; | |
import android.annotation.SuppressLint; | |
import android.app.Notification; | |
import android.app.NotificationManager; | |
import android.app.PendingIntent; | |
import android.app.Service; | |
import android.content.Context; |