Версия для слабовидящих

Шаблон:Баннеры главная — различия между версиями

Материал из Ярославский педагогический университет
Перейти к: навигация, поиск
 
(не показаны 46 промежуточные версии 1 участника)
Строка 1: Строка 1:
 
+
<websiteFrame>
<html>
+
website=https://newyspu.ru/yspu_org/
<head>
+
width=100%
<meta charset="UTF-8">
+
height=2000px
<title>Document</title>
+
border=0
</head>
+
scroll=no
<body>
+
</websiteFrame>
<iframe src="https://newyspu.ru/yspu_org/" frameborder="0"></iframe>
+
+
<style type="text/css">
+
iframe {
+
position: absolute;
+
top: 0px;
+
left: 0px;
+
width: 100%;
+
height: 700px;
+
}
+
</style>
+
</body>
+
</html>
+
 
+
<script>
+
$(function() {
+
  $('.frame').load(function(){
+
var target = this;
+
var content = $(target).contents().find('body');
+
$(target).height($(content).outerHeight(true));
+
+
$(content).on("DOMSubtreeModified click", function (event){
+
setTimeout(function(){
+
$(target).stop().animate({height: $(content).outerHeight(true)}, 1000);
+
}, 700);
+
});
+
});
+
});
+
</script>
+

Текущая версия на 20:09, 25 октября 2023