Line 398... |
Line 398... |
398 |
container.removeClass("svw").addClass("stripViewer");
|
398 |
container.removeClass("svw").addClass("stripViewer");
|
399 |
var pictWidth = container.find("li").find("img").width();
|
399 |
var pictWidth = container.find("li").find("img").width();
|
400 |
var pictHeight = container.find("li").find("img").height();
|
400 |
var pictHeight = container.find("li").find("img").height();
|
401 |
var pictEls = container.find("li").size();
|
401 |
var pictEls = container.find("li").size();
|
402 |
var stripViewerWidth = pictWidth*pictEls;
|
402 |
var stripViewerWidth = pictWidth*pictEls;
|
403 |
container.find("ul").css("width" , stripViewerWidth); //assegnamo la larghezza alla lista UL
|
403 |
container.find("ul").css("width" , stripViewerWidth); //assegnamo la larghezza alla lista UL
|
- |
|
404 |
//container.find("li").css("width" , pictWidth);
|
404 |
container.css("width" , pictWidth);
|
405 |
container.css("width" , pictWidth);
|
405 |
container.css("height" , pictHeight);
|
406 |
container.css("height" , pictHeight);
|
406 |
container.each(function(i) {
|
407 |
container.each(function(i) {
|
407 |
jQuery(this).after("<div class='stripTransmitter' id='stripTransmitter" + j + "'><ul><\/ul><\/div>");
|
408 |
jQuery(this).after("<div class='stripTransmitter' id='stripTransmitter" + j + "'><ul><\/ul><\/div>");
|
408 |
jQuery(this).find("li").each(function(n) {
|
409 |
jQuery(this).find("li").each(function(n) {
|