--- Chris <[EMAIL PROTECTED]> wrote:

> Many thanks Michael.
> 
> Would there be any advantages to doing it like
> that, as opposed to just js?

Ultimately there would be no difference.  You could use PHP to write JS or you 
could have static
JS.  The important thing to recall is that events like right-click occur in the 
browser, long
after PHP has executed the script and delivered the HTML, etc. to the browser.

Keep in mind that many web visitors have JS turned off so you should not rely 
completely on
anything in JS.  This includes validation, etc.

James
_____
 

James D. Keeline
http://www.Keeline.com  http://www.Keeline.com/articles
http://Stratemeyer.org  http://www.Keeline.com/TSCollection

http://www.ITeachPHP.com -- Free Computer Classes: Linux, PHP, etc.
Spring Semester January-June 2006.  Two new class topics.


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/
 


Reply via email to