Page: 1
| Author | Post |
|---|---|
|
#1 Sat 18 April, 2009 5:29
|
|
|
Member
Registered: Apr 2009
Posts: 10
|
As the subject says the page seems to scroll a bit after the list loads, is there something I need to change to stop this from happening?
|
|
#2 Sat 18 April, 2009 14:11
|
|
Administrator
![]() Registered: Apr 2008
Posts: 285
|
It will only scroll if your vehicle list is lower than the top 30% of the page. It needs to do that in several situations, but I agree that it can be a little awkward on page load.
I'd suggest looking for this code in client/carlist.js: owl.Screen.ScrollToElement(setup.adnode,0,100,0,30); Increase the "30" (the screen percentage) to prevent the scrolling. I hope that helps. _______________ AutoDirector administrator |
|
#3 Sun 19 April, 2009 15:26
|
|
|
Member
Registered: Apr 2009
Posts: 10
|
Thanks I made the changes and it seems to be corrected now.
|
|
#4 Wed 14 October, 2009 11:39
|
|
|
Member
Registered: Oct 2009
Posts: 23
|
I changed it but it but still the same. stephenfostercars.co.uk
The car list is quite far down the page and the template html nees sorting. Will I sort this in JS or the html of the page? |
|
#5 Wed 14 October, 2009 16:47
|
|
Administrator
![]() Registered: Apr 2008
Posts: 285
|
Your showroom is quite a way down the page so, with a smaller browser window, you will get the scrolling. Try removing the whole statement - that will stop the scrolling, but you should test it to ensure it doesn't greatly affect functionality.
_______________ AutoDirector administrator |
|
#6 Thu 15 October, 2009 17:14
|
|
|
Member
Registered: Oct 2009
Posts: 23
|
Thanks thats sorted it.
|
Page: 1