Nextrek
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
var popup = {
openPopup: function(html){
$('body').append(html);
$('body').append('<div class="lightbox"></div>');
//$(html).css("display", "block");
},
closePopup: function(popup){
$(popup).remove();
$('.lightbox').remove();
},
showCommentsPopup: function(content, countComm, id, infoWinContent){
var html = '<div id="comments-popup">' +
'<div class="popup-header">' +
'<div class="close-btn"><span class="glyphicon glyphicon-remove"></span></div>'
+ '<div class="info-local">' +
'<h4>' + $(infoWinContent).find("h1").text() + '</h4>' +
'<div style="margin-bottom: 1em;">' + rating($(infoWinContent).find("#rating").attr("class")) + '</div>' +
'</div>' +
'</div>';
if($(content).children().hasClass("nocomment"))
html += '<div class="popup scrollbar style-scroll hidden-scroll">';
else
html += '<div class="popup scrollbar style-scroll">';
html += content;
if(countComm > 0){
html += '<div align="center" style="background-color: #ebebeb;padding: 1.3em 0 0em 0;height: 5em; clear: both;" class="more-result">' +
'<button class="btn more-btn" type="button" title="Altri Commenti">Altri Commenti</button>' +
'</div>'
}
html += '</div></div>';
this.openPopup(html);
}
};
|
Revision |
Author |
Commited |
Message |
1049
|
LZicari
|
Wed 23 Dec, 2015 15:41:53 +0000 |
|