javascript should be easy enough to convert to php - thier language
constructs are basically the same.


I even found out, by accident, that you can have dollar signs ($) in front
of javascript variables (in ie5.5 at least, haven't tried it in other
browsers)

-----Original Message-----
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 2:03 PM
To: David Freeman
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] lookin for a Menuing System...


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

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

Reply via email to