Closed (duplicate)
Project:
Views Load More
Version:
6.x-3.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2012 at 13:06 UTC
Updated:
11 Aug 2012 at 20:46 UTC
Hi guys,
I have a problem with drupal 6 + views 3 + Views Load More.
I installed and used it in a views with the use of Ajax.
When I click on the button "load more", the module loads the new rows. It attaches them in the grid and then a javascript scroll up the page to see the first result.
But The behaviour isn't correct! I should continue to scroll and see the new results, instead so I see again the first results and then the new results.. -.-"
This is the code of the page before:
<div class="view-content">
<table class="views-view-grid col-4">
<tbody>
<tr class="row-1 row-first"> ..... </tr>
<tr class="row-2 row-last"> ..... </tr>
</tbody>
</table>
</div>
And after push the button:
<div class="view-content">
<table class="views-view-grid col-4">
<tbody>
<tr class="row-1 row-first"> ..... </tr>
<tr class="row-2 row-last"> ..... </tr>
<tr class="row-1 row-first"> ..... </tr>
<tr class="row-2 row-last"> ..... </tr>
</tbody>
</table>
</div>
The module seems to have a problem with the correct class to assign to the rows.
It's possible that is correlated to my problem?
Best,
hachreak
Comments
Comment #1
wjaspers commentedSee: #1449930: Page scrolling to top everytime