Jump to content

noscript help


toolman

Recommended Posts

Hi,

 

I have the following javascripts in the body of my page, just below the </body> tag.

 

I want to ask how I can set it up to use <noscript> tags. Can anyone help me out?

 

Thanks

 

<script type="text/javascript" src="public/js/fancydropdown.js"></script> 
<script src="public/js/jquery.bxSlider.min.js" type="text/javascript"></script> 
<script src="public/js/jquery.easing.1.3.js" type="text/javascript"></script> 
<script type="text/javascript">
    $(document).ready(function(){
        $('#slider1').bxSlider({
            easing: 'easeOutBounce',
            speed: 1500,
		auto: true,
		mode: 'vertical',
		infiniteLoop: true, 
		controls: true,
		autoStart: true,
		pause: 3000
        });



	$('#slider2').bxSlider({
            easing: 'easeOutBounce',
            speed: 1500,
		auto: true,
		mode: 'horizontal',
		infiniteLoop: true, 
		controls: true,
		autoStart: true,
		pause: 5000
        });
    });
</script>

Link to comment
https://forums.phpfreaks.com/topic/226379-noscript-help/
Share on other sites

noscript tags are used to execute html when javascript is disabled or otherwise not available.  You cannot do the same thing with pure html as you can with javascript...otherwise there would be no point in using javascript.  What you need to ask yourself is: "If the user has javascript disabled, what static html content do I want my user to see instead?" 

Link to comment
https://forums.phpfreaks.com/topic/226379-noscript-help/#findComment-1168666
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.