album: next image should not jump to top of page ??

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
corvus

album: next image should not jump to top of page ??

Post 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...
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm
Location: North West England

Re: album: next image should not jump to top of page ??

Post 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
corvus

Re: album: next image should not jump to top of page ??

Post 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
Last edited by corvus on Tue Nov 14, 2006 9:28 pm, edited 1 time in total.
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm
Location: North West England

Re: album: next image should not jump to top of page ??

Post 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
corvus

Re: album: next image should not jump to top of page ??

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: album: next image should not jump to top of page ??

Post 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;
}
corvus

Re: album: next image should not jump to top of page ??

Post 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 ?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: album: next image should not jump to top of page ??

Post 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... 
Locked

Return to “Modules/Add-Ons”