On Mon, 29 Apr 2002, David Freeman wrote:
> On 29 Apr 2002 at 15:11, Dan wrote:
>> what I need is a menuing system..
> 
>> Much like this JavaScript one... except I need it in PHP...
>> http://www.dynamicdrive.com/dynamicindex1/navigate1.htm
> 
> Umm, you want to have to reload a whole page just to expand a 
> navigation menu?  Not real good use of resources I'd suggest, to say 
> nothing of irritating people browsing your site.  PHP is server-side, 
> every time you do something it has to go back to the server to 
> generate more html.
> 
> Do it in JavaScript, it works and it's client side so it will be 
> faster.

But take care - using JavaScript for site navigation is tricky business. 
Some people don't use it, some people can't use it (not supported by their 
browsers / hardware / corporate policy), and search engines certainly 
won't follow those links.

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to