![]() |
scrolling middle column
Is it possible or has someone attempted to have a scrolling middle column in a 3 column layout with the left and right columns static ?
|
Re: scrolling middle column
Sure, just use a div with a fixed height and overflow: auto; Just make sure that the middle column isn't more than 600 or so pixels high, as you don't want two scrollbars (middle AND main site) as that gets confusing and messes with the scrollwheel on the mouse.
|
Re: scrolling middle column
Hi Balinor,
Thanks for your quick reply, but I think the dual scroll bars is going to be a problem. The left and right columns are already approx 800 high and I get scrollbars on the main site as it stands already with the home page. The client just wanted a solution to someone browsing one of the categories that may have lots of product in it (using the products.tpl for buy now) and they have to scroll and scroll down to the bottom and then have to scroll the reverse to get back to the menus etc at the top of the page. He has "seen" plenty of sites where the centre panels only scrolls and left and right columns are static, but as I tried to explain he already has scrollers just on his home page due to the length of both columns. I even contemplated a "top of page" link in the bottom.tpl but can't seem to get the a reference to the top working properly. I initially attached it to the header image, but obviously when you click the "top of page" it takes you back to the home page not the top of the current. Do you have any suggestions as to a quick "top of page" link? Thanks again for your help |
Re: scrolling middle column
Just put the anchor at the top of customer/main/subcategories.tpl
|
Re: scrolling middle column
Thanks again Balinor
|
Re: scrolling middle column
****EDIT************
Didn't work mate, still takes me back to the home page. Here's my subcategories.tpl, can you tell me what I need to alter? Code:
{* $Id: subcategories.tpl,v 1.55.2.4 2008/07/15 12:07:40 ferz Exp $ *} Thanks beetlejuice |
Re: scrolling middle column
If you are using CDSEO you need to do this:
https://www.websitecm.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticl eid=39&nav=0,4 |
Re: scrolling middle column
Thanks Balinor for the quick reply, silly question but do you sleep?? 8O
Apart from your ESP knowing I was running CDSEO Pro on this site, I tried what your link provided as: <a href="{$smarty.server.REQUEST_URI}#TOP">Back to the top</a> and now I get a File not found error, because the "Back to top" link points to http://mydomain.com.au/cdseopro.php. Perhaps it will be best if I open a ticket with Jon so you can get on with more important things in life like sleep:D/ thanks again |
Re: scrolling middle column
Sleep? Who needs it? :) And CDSEO is listed in your sig - no ESP necessary.
|
Re: scrolling middle column
sleep is good between 2.00am and 4.00am :lol:
But I look after 7 sites and not all have CDSEO even though I've tried to convince all the owners to do so. However well spotted as this particular one does. Adios |
Re: scrolling middle column
Hi Balinor,
Quote:
Could you elaborate a bit on implimenting this change? And where are you suggesting putting the <div> tag? I suspect in customer/home_main.tpl. Thanks. |
All times are GMT -8. The time now is 11:31 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.