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
/** | |
* Set up the inline importer | |
*/ | |
Exhibit.InlineImporter = { }; | |
Exhibit.importers["inline"] | |
= Exhibit.InlineImporter; | |
Exhibit.InlineImporter.load | |
= function(data, database, cont) { | |
Exhibit.UI.showBusyIndicator(); |
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
/** | |
* Methods to persist the tooltip if we are hovering over the tooltip element | |
*/ | |
YAHOO.util.Event.addListener(this.tooltip.element, "mouseover", function(e,obj) { | |
if (this.hideProcId) { | |
clearTimeout(this.hideProcId); | |
this.hideProcId = null; |
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
/** | |
* Methods to persist the tooltip if we are hovering over the tooltip element | |
*/ | |
YAHOO.util.Event.addListener(this.tooltip.element, "mouseover", function(e,obj) { | |
if (this.hideProcId) { | |
clearTimeout(this.hideProcId); | |
this.hideProcId = null; |
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
<html> | |
<head> | |
<title>Permalink methods with TinyUrl via JSONP</title> | |
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/utilities/utilities.js"></script> | |
<script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/json/json-min.js"></script> | |
</head> | |
<body> | |
<script> | |
var Permalink = { |
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
var list=[]; | |
for(var i = 0 ;i < 10 ; i++) { | |
list[i] = i*i; | |
} | |
response.object = { | |
version: 3.14, | |
square: list | |
}; |
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
// Defini la structure des pages et le xpath pour recuperer les donnees | |
var xpath = '//table[@class="sobi2Listing"]/tr//td'; | |
var baseUrl = "http://www.abcvert.fr/annuaire/energies-renouvelables/solaire"; | |
var getUrl = function(pageIndex) { | |
return baseUrl + ((pageIndex == 0) ? ".html" : "/Page-"+(pageIndex+1)+".html"); | |
}; | |
// Recuperation des contacts | |
var contacts = {}; |
NewerOlder