Reply to Re: Dynamic MySQL Nav Menu sorting

Your name:

Reply:


Posted by chotiwallah on 11/15/05 13:28

for a real drag-and-drop you'll need javascript.

using arrows to move an item up or down can be done with php. the
drawback here would be that every click on an arrow will cause a trip
back to the server to recreate the menu in the new order.

wether to use a javascript or php approach depends on a lot of factors,
to name a few:

- if the sorting is a crucial functionality of your site, don't use
javascript (people might have it disabled or not even visiting with a
browser)
- if the new order shall be stored for a certain user, you'll need php
anyway
- if speed is a factor, javascript maybe better

i personally would probably use php and not mess around with
javascript.

micha

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация