T
T
twixoff2014-06-17 21:38:11
JavaScript
twixoff, 2014-06-17 21:38:11

What plugin or jQuery solution to use to load content in a responsive layout?

Example: on tablets we display 3 news, on desktop - 4, on high resolutions - 5. How to dynamically load the missing content and rebuild the paginator accordingly? What techniques are used or what is a ready-made plugin?

I once met a jQuery plugin, but I can’t remember / find it.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vitaly Kirenkov, 2014-06-17
@DeLaVega

Well, everyone climbs into the front part, if it can be solved on a server without loading the user.
The server is smart, it knows what device the user is using. Depending on this, give the required number of news and build pagination.

A
Andrey Golumenov, 2014-06-18
@Golumenov

I recently translated an article with a similar content loading method
habrahabr.ru/post/218497

Y
yttrium, 2014-06-18
@yttrium

You can collect scripts using native JQuery methods
$.get
$.getJSON

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question