Skip to content

Instantly share code, notes, and snippets.

View Massay's full-sized avatar
💭
Coding as usual !!!

Massay Bah Massay

💭
Coding as usual !!!
View GitHub Profile
body{
background: red;
margin: 0;
padding: 0;
background-image: url('background.png');
/*position: relative;*/
}
#banner{
width:100%;
@Massay
Massay / Simple Purse Class
Created February 10, 2014 02:22
Carry out Basic Purse Functions
import java.util.*;
public class Purse {
ArrayList<String> list;
public Purse()
{
list=new ArrayList<>();
}
public void addCoin(String coinName)
{
@Massay
Massay / My Js
Last active August 29, 2015 13:56
Simple Time function and ajax page caller
var myobject;
try{ myobject=new ActiveObject("Microsoft.XMLHTTP"); }
catch(e) { try{ myobject=new ActiveObject("Msxml2.XMLHTTP"); }
catch(e) { myobject=false; } }
if(!myobject) { myobject=new XMLHttpRequest();
}
function getPages(page,location)
{ var loca=document.getElementById(location);