I must have been asleep also. I'd quickly ran this, and assumed it worked: <noscript><?php echo "No Javascript"; ?></noscript>
But I might as well have put: <noscript><p>No Javascript</p></noscript> ----- Original Message ----- From: "Pete" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, December 04, 2005 8:36 AM Subject: Re: [php-list] Can XMLHttpRequest work with PHP + webserver on Linux > In message <[EMAIL PROTECTED]>, James > Keeline <[EMAIL PROTECTED]> writes >>--- Pete <[EMAIL PROTECTED]> wrote: >> >>> hmmm... interesting.... >>> >>> How about >>> >>> $scripton=1; >>> >>> <noscript> >>> $scripton=0; >>> </noscript> >>> >>> if ($scripton)... >>> >>> >>> -- >>> Pete Clark >> >>That won't get you too far since the PHP script is processed completely before >>any browser sees it. The <script> and <noscript> tags are processed by the >>browser (ie client side). > > Duh... it was late at night! > >>Normally, a Flash or Javascript detection is performed in the landing page and >>the user is taken to a secondary page which uses the technology. > > Fine, but I haven't seen any examples. > >>There are several tricks which can achieve this no-reload type of >>application. >>AJAX is one of them. Some people also use hidden iframes or special image >>calls for one-way communication (just a DB insert for example). > > I was thinking about multiple dropdowns, 'digging in deeper' > >>AJAX systems tend to be much more complex and tougher to debug than other >>methods. For this reason, the no-reload has to be really worthwhile. > > I haven't seen many other places to use it, but I do seem to have ended > up with this on a lot of client sites, and currently use IFrames. Just > trying to see what the alternatives are. > > -- > Pete Clark ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/HKFolB/TM --------------------------------------------------------------------~-> Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
