|
|
@@ -96,13 +96,14 @@ if (!isset($_SESSION['loggedin'])) {
|
|
|
for (var i = 0; i < data["categoryList"].length; i++) {
|
|
|
$("#filters").append('<li><a class="button" data-filter=".' + i + '">' + data['categoryList'][i] + '</a></li>');
|
|
|
}
|
|
|
- $grid = $("#content").isotope({
|
|
|
- itemSelector: ".isotope-item",
|
|
|
- layoutMode: 'fitRows'
|
|
|
+
|
|
|
+ $.when(initThreeJS()).then(function() {
|
|
|
+ $grid = $("#content").isotope({
|
|
|
+ itemSelector: ".isotope-item",
|
|
|
+ layoutMode: 'fitRows'
|
|
|
+ });
|
|
|
+ $grid.isotope();
|
|
|
});
|
|
|
- $.when(initThreeJS()).then(
|
|
|
- $grid.isotope()
|
|
|
- );
|
|
|
|
|
|
}).error(function(error) {
|
|
|
console.log(error);
|
|
|
@@ -117,17 +118,17 @@ if (!isset($_SESSION['loggedin'])) {
|
|
|
dataType: "json"
|
|
|
}).done(function(data) {
|
|
|
for (var i = 0; i < data.length; i++) {
|
|
|
-
|
|
|
$("#revitVersion").append('<label><input type="checkbox" value=".' + data[i] + '" /> ' + data[i] + '</label> ');
|
|
|
}
|
|
|
}).error(function(error) {
|
|
|
console.log(error);
|
|
|
});
|
|
|
|
|
|
+
|
|
|
});
|
|
|
</script>
|
|
|
<script src="script/js/3Dpic.js" type="module"></script>
|
|
|
-
|
|
|
+
|
|
|
</body>
|
|
|
|
|
|
</html>
|