Skip to content

Instantly share code, notes, and snippets.

$('input.url').live('keyup',function()
{
urlField(this);
});
$('input.url').live('change',function()
{
urlField(this);
});
.abc
{
background-color: rgba(255,255,255,.1);
}
.content
{
-webkit-border-radius: 10px;
background-color: rgba(0,0,0,.7);
color: white;
font-size: 18px;
font-weight: bold;
height: 80px;
left: 60px;
line-height: 80px;
$(function()
{
var rand = Math.floor(1000 * (Math.random() % 1));
$.ajax(
{
url: '/pages/getItunes/?rand=' + rand,
dataType:'json',
timeout: 50000,
type: 'POST',
data: {data: window.location.pathname},
<iframe src ="http://clk.tradedoubler.com/click?p=23762&a=1756921&url=http%3A%2F%2Fitunes.apple.com%2Fse%2Falbum%2Fwith-or-without-you%2Fid205160597%3Fi%3D205160620%26uo%3D4%26partnerId%3D2003"></iframe>
Work:
<iframe style="height="100px;width:100px" src="http://itunes.apple.com/se/album/down-feat-lil-wayne/id324292989?i=324293000&uo=4&partnerId=2003"></iframe>
Does not work:
<iframe style="height="100px;width:100px" src="http://clk.tradedoubler.com/click?p=23762&a=1756921&url=http://itunes.apple.com/se/album/down-feat-lil-wayne/id324292989?i=324293000&uo=4&partnerId=2003"></iframe>
#progress
{
-webkit-border-radius: 10px;
background-color: rgba(0,0,0,0.7);
color: white;
font-size: 18px;
font-weight: bold;
height: 80px;
left: 60px;
line-height: 80px;
<?
$array = array('name' => 'Arne', 'age' => 5);
echo superFunction("&", $array);
//Output: name=Arne&age=5
?>
java -classpath /Users/linus/Desktop/d/json.jar:/Users/linus/Desktop/d/mysql-connector-java-5.0.8-bin.jar de.felixbruns.jotify.PlaylistChanger
try
{
Class.forName("com.mysql.jdbc.Driver");
}
catch (ClassNotFoundException e2)
{
System.out.println("Klassen hittades ej för JDBC");
return null;
}