|
|
Line 293: |
Line 293: |
| }); | | }); |
| function maskMouseOver(){ | | function maskMouseOver(){ |
− | /*$('.maska').each(function(){
| |
− | $(this).on('click',function(event){
| |
− | event.preventDefault();
| |
− | $('texta').css({'visibility':'visible','display':''});
| |
− | $('div.textChange').addClass('textAnimation');
| |
− | $(document).bind('mousewheel', function(event, delta) { return false; });
| |
− | })
| |
− | });*/
| |
| $('.texta').each(function(){ | | $('.texta').each(function(){ |
| $(this).on('click',function(event){ | | $(this).on('click',function(event){ |
Line 311: |
Line 303: |
| }); | | }); |
| }); | | }); |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
| | | |
| var QAQ="I don't want to write like this, but if I use 'for', there is always something wrong.Excuse me." | | var QAQ="I don't want to write like this, but if I use 'for', there is always something wrong.Excuse me." |
Line 326: |
Line 313: |
| $(document).bind('mousewheel', function(event, delta) { return false; }); | | $(document).bind('mousewheel', function(event, delta) { return false; }); |
| }); | | }); |
− | /*($('div.textChange')||$('div.row')||$('.closeMask')).on('click',function(event){
| |
− | event.preventDefault();
| |
− | text1.css({'visibility':'hidden','display':'none'});
| |
− | $('div.textChange').removeClass('textAnimation');
| |
− | $(document).unbind('mousewheel');
| |
− | });
| |
− | $(document).keyup(function(event){
| |
− | if (event.which=='27') {
| |
− | text1.css({'visibility':'hidden','display':'none'});
| |
− | $('div.textChange').removeClass('textAnimation');
| |
− | $(document).unbind('mousewheel');
| |
− | }
| |
− | });*/
| |
− |
| |
| var mask2 =$('a.mask2'); | | var mask2 =$('a.mask2'); |
| var text2 = $('div.text2'); | | var text2 = $('div.text2'); |
Line 348: |
Line 321: |
| $(document).bind('mousewheel', function(event, delta) { return false; }); | | $(document).bind('mousewheel', function(event, delta) { return false; }); |
| }); | | }); |
− | /*text2.on('click',function(event){
| |
− | if($(event.target).is('.closeMask')){
| |
− | event.preventDefault();
| |
− | $(this).css({'visibility':'hidden','display':'none'});
| |
− | $('div.textChange').removeClass('textAnimation');
| |
− | $(document).unbind('mousewheel');
| |
− | }
| |
− | });
| |
− | $(document).keyup(function(event){
| |
− | if (event.which=='27') {
| |
− | text2.css({'visibility':'hidden','display':'none'});
| |
− | $('div.textChange').removeClass('textAnimation');
| |
− | $(document).unbind('mousewheel');
| |
− | }
| |
− | });*/
| |
− |
| |
| var mask3 =$('a.mask3'); | | var mask3 =$('a.mask3'); |
| var text3 = $('div.text3'); | | var text3 = $('div.text3'); |
Line 372: |
Line 329: |
| $(document).bind('mousewheel', function(event, delta) { return false; }); | | $(document).bind('mousewheel', function(event, delta) { return false; }); |
| }); | | }); |
− | /*text3.on('click',function(event){
| |
− | if($(event.target).is('.closeMask')){
| |
− | event.preventDefault();
| |
− | $(this).css({'visibility':'hidden','display':'none'});
| |
− | $('div.textChange').removeClass('textAnimation');
| |
− | $(document).unbind('mousewheel');
| |
− | }
| |
− | });
| |
− | $(document).keyup(function(event){
| |
− | if (event.which=='27') {
| |
− | text3.css({'visibility':'hidden','display':'none'});
| |
− | $('div.textChange').removeClass('textAnimation');
| |
− | $(document).unbind('mousewheel');
| |
− | }
| |
− | });*/
| |
− |
| |
| var mask4 =$('a.mask4'); | | var mask4 =$('a.mask4'); |
| var text4 = $('div.text4'); | | var text4 = $('div.text4'); |
Line 396: |
Line 337: |
| $(document).bind('mousewheel', function(event, delta) { return false; }); | | $(document).bind('mousewheel', function(event, delta) { return false; }); |
| }); | | }); |
− | /*(text4||$('.closeMask')).on('click',function(event){
| |
− | if($(event.target).is('.texta')){
| |
− | event.preventDefault();
| |
− | $(this).css({'visibility':'hidden','display':'none'});
| |
− | $('div.textChange').removeClass('textAnimation');
| |
− | $(document).unbind('mousewheel');
| |
− | }
| |
− | });
| |
− | $(document).keyup(function(event){
| |
− | if (event.which=='27') {
| |
− | text4.css({'visibility':'hidden','display':'none'});
| |
− | $('div.textChange').removeClass('textAnimation');
| |
− | $(document).unbind('mousewheel');
| |
− | }
| |
− | });*/
| |
− |
| |
| var mask5 =$('a.mask5'); | | var mask5 =$('a.mask5'); |
| var text5 = $('div.text5'); | | var text5 = $('div.text5'); |
Line 420: |
Line 345: |
| $(document).bind('mousewheel', function(event, delta) { return false; }); | | $(document).bind('mousewheel', function(event, delta) { return false; }); |
| }); | | }); |
− | /*(text5||$('.closeMask')).on('click',function(event){
| |
− | if($(event.target).is('.texta')){
| |
− | event.preventDefault();
| |
− | $(this).css({'visibility':'hidden','display':'none'});
| |
− | $('div.textChange').removeClass('textAnimation');
| |
− | $(document).unbind('mousewheel');
| |
− | }
| |
− | });
| |
− | $(document).keyup(function(event){
| |
− | if (event.which=='27') {
| |
− | text5.css({'visibility':'hidden','display':'none'});
| |
− | $('div.textChange').removeClass('textAnimation');
| |
− | $(document).unbind('mousewheel');
| |
− | }
| |
− | });*/
| |
− |
| |
| var mask6 =$('a.mask6'); | | var mask6 =$('a.mask6'); |
| var text6 = $('div.text6'); | | var text6 = $('div.text6'); |
Line 444: |
Line 353: |
| $(document).bind('mousewheel', function(event, delta) { return false; }); | | $(document).bind('mousewheel', function(event, delta) { return false; }); |
| }); | | }); |
− | /*(text6||$('.closeMask')).on('click',function(event){
| |
− | if($(event.target).is('.texta')){
| |
− | event.preventDefault();
| |
− | $(this).css({'visibility':'hidden','display':'none'});
| |
− | $('div.textChange').removeClass('textAnimation');
| |
− | $(document).unbind('mousewheel');
| |
− | }
| |
− | });
| |
− | $(document).keyup(function(event){
| |
− | if (event.which=='27') {
| |
− | text6.css({'visibility':'hidden','display':'none'});
| |
− | $('div.textChange').removeClass('textAnimation');
| |
− | $(document).unbind('mousewheel');
| |
− | }
| |
− | });*/
| |
− |
| |
| } | | } |
| </script> | | </script> |