.
,Sejarah jam gadang, danau singkarak, danau maninjau, hotel, tujuan wisata sumatera barat,daftar,jam gadang, fort de kock,West Sumatra, Sumatera Barat, Tourism

jQuery Anti Adblock

Posted By admin Sunday, March 27, 2011

jQuery Anti Adblock used to give warning to the visitors of the blog for advertising block software disabled, but if the blog visitors disable JavaScript function in the browser then jQuery Anti Adblock does not work and the visitors still can read the article in a state ad is not displayed, this is a loss for the managers of the blog.
Disable JavaScript Warning
Tips Tricks blog this time is another way to continue giving warning to the visitors of the blog when they turn off the JavaScript function. When the visitors blog disable JavaScript function then a warning screen will appear and cover the entire blog page, in total visitors to the blog can not read the blog article. If jQuery Anti Adblock give warning at the time blog visitor activate the software to block ads, then the Disable JavaScript Warning alert when visitors turn off the JavaScript function in your browser. Finally, would not want (read: force) the end of the blog still have to see ads on blogs that we manage. PERFECT ...!!!

Install Warning JavaScript Off (Disable JavaScript Warning)
Step 1
Login to Blogger
Step 2
Go to "Design - Edit HTML"
Step 3
Find the code below:

]]></ B: skin>

Step 4
Enter (copy and paste) the following CSS code in step 3 above code:

# Enjs {
z-index: 999;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: # 000;
margin: 0;
padding: 0;
}
# Enjs p {
margin: 0;
padding: 0;
width: 100%;
color: # 333;
position: relative;
top: 40%;
font: bold 18px/20px arial;
text-align: center;
text-shadow: none;
}

Step 5
Find the code below:

</ Body>

Step 6
Enter (copy and paste) the code below the above code in step 5:

<noscript> <div id="enjs"> <p> Oooops! Please Enable JavaScript </ p> </ div> </ noscript>

Step 7
Save the template, turn off the JavaScript function in the browser and preview your blog


Related Post



Follow by Email