Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moved js

  • Loading branch information...
commit 3645e735cdfb4b727557af4773badd75643a5d19 1 parent 1962f36
unknown authored
Showing with 9 additions and 15 deletions.
  1. +9 −15 header.php
View
24 header.php
@@ -22,7 +22,13 @@
<script src="js/jquery-1.4.1.min.js" type="text/javascript"></script>
<script src="js/jquery.jcarousel.pack.js" type="text/javascript"></script>
<script src="js/jquery-func.js" type="text/javascript"></script>
- <script type="text/javascript">
+
+ <!-- End JS -->
+
+</head>
+<body>
+ <div id="mailru_container"></div>
+ <script type="text/javascript">
//<![CDATA[
document.domain = 'ivest.kz'
$.getScript(window.connect_demo_site_config.library_url, function() {
@@ -43,16 +49,9 @@ function modalizer() {
this.show = function(content) {
if (isActive == false) {
isActive = true;
- $('<div>').addClass('overlay').css({
- 'width': '100%', //$(document).width() + 'px',
- 'height': '100%' //$(document).height() + 'px'
- }).appendTo(container);
}
if (content && !div) {
- div = $('<div>').addClass('modalizer_window').css({
- 'left': ($(document).width() - width) / 2 + 'px',
- 'width': width + 'px'
- }).appendTo(container).append(content);
+ container.html(content);
} else if (content && div) {
div.empty().append(content);
} else if (div && !content) {
@@ -185,9 +184,4 @@ function userView(mailruapi, modalizer, container) {
});
});
//]]>
- </script>
- <!-- End JS -->
-
-</head>
-<body>
- <div id="mailru_container"></div>
+ </script>
Please sign in to comment.
Something went wrong with that request. Please try again.