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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
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 07:35 Go to next message
alastairbrian is currently offline  alastairbrian
Messages: 5
Registered: March 2015
Location: Austin
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 17: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
add to buddy list
ignore all messages by this user
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 17:45]

Report message to a moderator

Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: where i can learn HTML Online?
Next Topic: How many CSS can a website have?
Goto Forum:
  

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

Current Time: Tue Dec 12 10:44:30 EST 2017

Total time taken to generate the page: 0.00620 seconds