-3

この JavaScript の実行方法:

<script type='text/javascript'>
//<![CDATA[FANS='****'//]]>
</script>
<style>#fblikepop{background-color:#fff;display:none.....</style>
<script src='/facebookpop/jquery.js' type='text/javascript'></script>
<script src='http://connect.facebook.net/en_US/all.js#xfbml=1' type='text/javascript'></script>
<script src='/facebookpop/mbtlikebox2.js' type='text/javascript'></script>
<script language='javascript'>
//<![CDATA[
    $(document).ready(function(){                       
        $().FANS({
            timeout: 30,
            wait: 0,
            url: 'http://www.facebook.com/****',
            closeable: true     });
    });
//]]></script><div id='fbtpdiv'></div>

「++++2nd JAVASCRIPT++++」の位置にあるこの JavaScript の中で ?

<script type="text/javascript">
if(document.cookie.search(/(^|;)facebookpopc=/) > -1) {
    return false;
} else {

    ++++2nd JAVASCRIPT++++

}
</script>

ありがとうございました。

4

2 に答える 2

1
<script type="text/javascript">
if(document.cookie.search(/(^|;)facebookpopc=/) > -1) {
    return false;
} else {
    $(document).ready(function(){                       
        $().FANS({
            timeout: 30,
            wait: 0,
            url: 'http://www.facebook.com/****',
            closeable: true     });
    });
}
</script>
于 2012-05-10T22:34:33.803 に答える
1
<script type="text/javascript">
 $(document).ready(function(){
     if(document.cookie.search(/(^|;)facebookpopc=/) > -1) {
         return false;
      } else {                
        $().FANS({
            timeout: 30,
            wait: 0,
            url: 'http://www.facebook.com/****',
            closeable: true     });
         });
     }
});
</script>
于 2012-05-10T22:35:31.860 に答える