Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
316692d1c3 | ||
|
|
6d2043ddaf | ||
|
|
44c93c2dde | ||
|
|
5e584f7575 | ||
|
|
abb818c154 | ||
|
|
441e4ef63a |
No files matched your search
@@ -4,7 +4,7 @@
|
||||
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
||||
// the compiled file.
|
||||
//
|
||||
//= require jquery
|
||||
//= require mobile/jquery-1.7.1
|
||||
//= require lib/jquery.preload.min.js
|
||||
//= require cycle2
|
||||
//= require mobile/jquery.mu.image.resize
|
||||
|
||||
+9266
File diff suppressed because it is too large.
Load diff
@@ -24,10 +24,10 @@ $('#index').live('pageinit',function(){
|
||||
});
|
||||
$(".slideImg").muImageResize({width: $globalW, height: Math.floor($globalW/720*240)});
|
||||
$(this).find(".newpic img").muImageResize({width: 280, height: 200});
|
||||
$('.slideshow').cycle({
|
||||
fx: $effect,
|
||||
timeout: $timeout
|
||||
});
|
||||
// $('.slideshow').cycle({
|
||||
// fx: $effect,
|
||||
// timeout: $timeout
|
||||
// });
|
||||
$(".newlist").css({
|
||||
"width" : $(".newitem").outerWidth()*(Math.floor($globalW/$(".newitem").outerWidth()))+30,
|
||||
})
|
||||
@@ -113,10 +113,10 @@ $(window).bind("orientationchange", function(){
|
||||
});
|
||||
|
||||
$(".slideImg").muImageResize({width: $globalW, height: Math.floor($globalW/720*240)});
|
||||
$('.slideshow').cycle({
|
||||
fx: $effect,
|
||||
timeout: $timeout
|
||||
});
|
||||
// $('.slideshow').cycle({
|
||||
// fx: $effect,
|
||||
// timeout: $timeout
|
||||
// });
|
||||
|
||||
$(".newlist").css({
|
||||
"width" : $(".newitem").outerWidth()*(Math.floor($globalW/$(".newitem").outerWidth()))+30,
|
||||
|
||||
@@ -171,12 +171,19 @@ div[data-role="page"] {
|
||||
float: left;
|
||||
width: 280px;
|
||||
min-height: 490px;
|
||||
max-height: 490px;
|
||||
/*max-height: 490px;*/
|
||||
background-color: #FFFFFF;
|
||||
padding: 10px;
|
||||
margin: 0 10px 10px 0;
|
||||
box-shadow: 0px 3px 5px rgba(0,0,0,.1);
|
||||
}
|
||||
.content .orbit-cycle-slideshow {
|
||||
height: 300px;
|
||||
}
|
||||
.content .orbit-cycle-slideshow img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
#index .content .newpic {
|
||||
width: 280px;
|
||||
height: 200px;
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ var galleryAPI = function(){
|
||||
g = this;
|
||||
this.urlVars = rcom.getUrlVars();
|
||||
this.albumArea = $("#orbit_gallery");
|
||||
this.loadArea = null;
|
||||
this.loadArea = "theater";
|
||||
this.tagList = $(".taglist ul");
|
||||
this.loading = $("#loading");
|
||||
// this.authenticated = false;
|
||||
|
||||
-1
@@ -57,7 +57,6 @@
|
||||
galleryAPI.prototype.locale = "<%= I18n.locale %>";
|
||||
var gallery = new galleryAPI();
|
||||
gallery.initialize();
|
||||
gallery.loadArea = "theater";
|
||||
gallery.loadTheater("<%= params[:id] %>","<%= params[:image_id] %>");
|
||||
</script>
|
||||
|
||||
|
||||
Reference in new issue
Block a user