FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » HTML, Javascript, jQuery & AJAX » How to Make Use of AJAX (I want to use an AJAX function on my store project)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
How to Make Use of AJAX [message #186852] Tue, 17 March 2015 11:35 Go to next message
alastairbrian is currently offline  alastairbrian
Messages: 5
Registered: March 2015
Location: Austin
Karma: 0
Junior Member
Hi, I am working on a PrestaShop project in which I need to make tabs on home page of the store. For this I want to use AJAX function such that when customer click on the tab, the whole page don't reloads. Actually, I got this idea from a plugin, http://bit.ly/1glgNHU but as this plugin is expensive, I want to write my own module.

I want help that how I can use this type of AJAX in my code?
Thanks in Advance.


PrestaShop Plugins Home : www.fmedmodules.com
Re: How to Make Use of AJAX [message #186853 is a reply to message #186852] Tue, 17 March 2015 21:45 Go to previous message
NeXuS is currently offline  NeXuS
Messages: 121
Registered: July 2010
Location: South Korea
Karma: 5
Senior Member
Contributing Core Developer
Well, there are two ways in which JavaScript Tabs work:
1- You actually send the whole content and it is displayed as a tabbed "widget", you can have a look at jQueryUI tabs default example for that
2- You only send the content relative to the active tab after the user selects it. This is also in the jQueryUI tabs examples, under "Content via AJAX"

[Updated on: Tue, 17 March 2015 21:45]

Report message to a moderator

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: where i can learn HTML Online?
Next Topic: What is the best HTML Editor?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 11:23:42 GMT 2024

Total time taken to generate the page: 0.02387 seconds