Page 1 of 1
album: next image should not jump to top of page ??
Posted: Sun Nov 12, 2006 2:23 pm
by corvus
I am using Album 0.7.0 on CMS Made Simple version 0.13
When I have a big page and a user clicks ( Picture 1/46 ) Next > then there is a jump to the top of the page.
how can I prevent this ?
http://www.boshoverbeek.nl/index.php foto's page at bottom...
Re: album: next image should not jump to top of page ??
Posted: Mon Nov 13, 2006 11:55 am
by Russ
Corvus, I tried clicking on quite a few of your images, they all opened in a new window so I'm not sure what you meant by your question. Unless I'm missing something.
Russ
Re: album: next image should not jump to top of page ??
Posted: Tue Nov 14, 2006 9:27 pm
by corvus
Oh god am I dumb.
Sorry. I changed to popup because it didn't work.
I made one extra menu item now called test.
There it shows the problem...
I am terribly sorry for the mistake.
http://www.boshoverbeek.nl/index.php/test/
Hope you can help.
regards,
Jeroen
Re: album: next image should not jump to top of page ??
Posted: Wed Nov 15, 2006 7:42 am
by Russ
Ha ha, corvus, I now see what you mean. Unfortunately I don't think it is a bug, as it does it on our test site as well. Not sure how you could fix it either as you are refreshing a page.
One solution would be to use the Thickbox template which overlays the image and centers and scales it to fit the screen. There are also versions with 'prev' and 'next' links on the big image.
An example is here:
http://www.cms.shoesforindustry.net/cms ... lbum-5/80/
Hope this helps,
Russ
Re: album: next image should not jump to top of page ??
Posted: Mon Nov 27, 2006 6:46 pm
by corvus
Should have gotten back with a reaction sooner.
Sorry for that.
Since there was no real solution I decided to use the thickbox with prev next which really solves the problem also.
Thanks Russ
Re: album: next image should not jump to top of page ??
Posted: Tue Nov 28, 2006 3:11 am
by Dr.CSS
Nice... glad it worked out...
You may want to add this to your Typography CSS to get the hr to go below the images...
div.hr {
clear:both;
height: 1px;
margin: 1em 10px;
border-bottom: 1px dotted black;
}
Re: album: next image should not jump to top of page ??
Posted: Tue Dec 05, 2006 11:48 am
by corvus
mark wrote:
Nice... glad it worked out...
You may want to add this to your Typography CSS to get the hr to go below the images...
div.hr {
clear:both;
height: 1px;
margin: 1em 10px;
border-bottom: 1px dotted black;
}

I have no Typography CSS...
The header is already below the image isn't it ?
Re: album: next image should not jump to top of page ??
Posted: Wed Dec 06, 2006 5:29 am
by Dr.CSS
The hr stands for horizontal rule, the little line that run across a page the original/default install has hr under the last part of the page just before the footer...
I've seen this problem on quite a few site especially if they are using images in the lower part of the page...
If you have no typo CSS or can't find the call that starts with div.hr you could just copy this into a CSS, I believe when I wrote this there was a call for it in your CSS...