Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Erick Barcellos Muller

    (@erick-barcellos-muller)

    Hello, good morning.
    I would like to help, because when active in IE6 IE7 IE8 html5.js file only leaves a black screen and when not active aparace the flip, put it right ta paging.
    The js loads up, but it does not display anything on the screen.
    I’ve tried using other html5.js and the nato wordpress but always appears just a blank screen.
    CAN HELP ME.
    thank you

    Forum: Reviews
    In reply to: [Flip Pong V] Zoom
    Thread Starter Erick Barcellos Muller

    (@erick-barcellos-muller)

    Inside the js folder is a file called script. In the end it has a code to supazoomin and supazoomout. What is the purpose?

    /* function supazoomin(){
    
    	var supazoom = 1.5;
    	supazoom = $("#magazine").turn("zoom");
    	supazoom += 0.5;
    	$("#magazine").turn("zoom", supazoom);
    	var img = document.getElementsByClassName('flipbookimg');
    	for (var i = 0; i < img.length; i++) {
    		var width = img[i].width;
    		var width = (width*0.5);
    		img[i].width += width;
    	}
    
    }
    
    function supazoomout(){
    	var supazoom = 1.5;
    	supazoom = $("#magazine").turn("zoom");
    	if(supazoom <= 1){ return 0;}
    	supazoom -= 0.5;
    	$("#magazine").turn("zoom", supazoom);
    	var img = document.getElementsByClassName('flipbookimg');
    	for (var i = 0; i < img.length; i++) {
    		var width = img[i].width;
    		var width = (width*(1/3));
    		img[i].width -= width;
    	}
    }*/

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Forum: Reviews
    In reply to: [Flip Pong V] Zoom
    Thread Starter Erick Barcellos Muller

    (@erick-barcellos-muller)

    This is a project in production yet. It is being done locally. Once completed I will post here.

    Forum: Reviews
    In reply to: [Flip Pong V] Zoom
    Thread Starter Erick Barcellos Muller

    (@erick-barcellos-muller)

    Thanks buddy, that’s what I did. And it worked. I’ll post here to help the next. Or even to help the next version.

    <script>

    $(“#flipbook”).click(function(){

    $(this).toggleClass(function(index, classold, classtroca) {
    if ( $( this ).is(“.semzoom”) ) {
    supazoomin();
    } else {
    supazoomout();
    }
    });

    });

    </script>

Viewing 4 replies - 1 through 4 (of 4 total)