سؤال

أنا أستخدم هذا البرنامج المساعد:

http://plugins.jquery.com/project/history

على هذه الصفحة:

http://www.crtaci.info/index.php؟autocom=majice

لا أعرف لماذا ولكن يبدو أنني لا أستطيع معرفة ما يجب القيام به للحصول على هذا العمل ... أعتقد أنني بحاجة إلى مزيد من النوم ... :)

هل كانت مفيدة؟

المحلول

لدى Railscasts حلقة تتعلق بهذا الموضوع: http://railscasts.com/episodes/175-ajax-history-and-bookmarks

نصائح أخرى

يمكنني استخدام مكتبة JQuery BBQ: Back Button & Query. إنه بسيط وقوي ولديه أhttp://benalman.com/projects/jquery-bbq-plugin/

An alternative which I use is balupton's jQuery History which provides nice tracking of hash changes for your website. And jQuery Ajaxy which allows you to have a rich ajax website while still supporting the back and forward buttons and no server side changes.

jQuery History: http://www.balupton.com/projects/jquery-history

jQuery Ajaxy: http://www.balupton.com/projects/jquery-ajaxy

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top