From b460162a8c744486857dae48c6afc1632c7115ba Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 14 Nov 2016 17:53:43 -0500 Subject: pushed up new image insert script --- design/templates/details/entry.html | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'design/templates/details/entry.html') diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html index 3762b48..d5038f2 100644 --- a/design/templates/details/entry.html +++ b/design/templates/details/entry.html @@ -17,8 +17,7 @@ - - {% for image in object.get_images %} + {% for image in object.get_images %} {% endfor %} @@ -36,7 +35,7 @@ class="{%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%if t == {% block primary %} -
+

{%if object.template_name == 1 or object.template_name == 3 %}{{object.title|smartypants|safe}}{%else%}{{object.title|smartypants|widont|safe}}{%endif%}

@@ -127,7 +126,25 @@ window.onload = function() { createMap(); var open = false; {%endif%}{%endwith%} +{% if object.has_video %} +var tester = document.getElementsByClassName("vidauto"); +var wrapper = document.getElementById('wrapper'); +var dist = 100; + +window.onscroll = function() { + for (var i=0; i= 0); } +{%endif%} +} + {% with object.template_name as t %}{%if t == 1 or t == 3 %} -- cgit v1.2.3-70-g09d2