Jump to content

Alternate Content question


smordue

Recommended Posts

I have an include file that needs javascript enabled that I want to use as a default, I have an alternate include file that does not require js.

 

How would I have:

 

<?php include('pickerbarjs.php'); ?>

 

replaced with:

 

<?php include('pickerbar.php'); ?>

 

if javascript is not detected?

 

I have been reading about <noscript> but everything I see just disables the element without providing the alternative.

 

Or I just don't understand...which is more likely.

 

Steve

 

 

Link to comment
https://forums.phpfreaks.com/topic/187161-alternate-content-question/
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.