forked from Botanical/BotanJS
Minor adjustments
This commit is contained in:
@@ -144,6 +144,12 @@
|
||||
{
|
||||
var t = ae_stitles[i];
|
||||
var p = ae_panel_section[i];
|
||||
// If they are snippets or sections
|
||||
if( i == 2 || i == 3 )
|
||||
{
|
||||
p.style.height = "auto";
|
||||
continue;
|
||||
}
|
||||
t.addEventListener( "Click", function( e )
|
||||
{
|
||||
var p = this.p;
|
||||
|
@@ -19,7 +19,7 @@
|
||||
|
||||
, getVimeoThumbnail = function (vtag)
|
||||
{
|
||||
getData("http://vimeo.com/api/oembed.json?url=http%3A//vimeo.com/" + vtag.getAttribute("data-value"), setThumbnail.bind(vtag), noThumb.bind(vtag));
|
||||
getData("https://vimeo.com/api/oembed.json?url=https%3A//vimeo.com/" + vtag.getAttribute("data-value"), setThumbnail.bind(vtag), noThumb.bind(vtag));
|
||||
}
|
||||
|
||||
, noThumb = function ()
|
||||
@@ -92,7 +92,7 @@
|
||||
, new DataKey("type", i)
|
||||
, new IKey("style"
|
||||
, "width: 640px; height: 390px;"
|
||||
+ ( (i[0] == "v") ? "" : ("background: black url(http://img.youtube.com/vi/" + v + "/hqdefault.jpg) no-repeat center center;") )
|
||||
+ ( (i[0] == "v") ? "" : ("background: black url(https://img.youtube.com/vi/" + v + "/hqdefault.jpg) no-repeat center center;") )
|
||||
)
|
||||
]
|
||||
);
|
||||
|
Reference in New Issue
Block a user