I'm in the process of finishing the latest iteration of my photography gallery:
www.gyphotography.co.uk/dev/v2
I've got two display issues I was after some help with
1) -- is now solved
I've got some hidden divs that I've got appearing with mootools javascript. It works nicely, but the page is extremely long, as obviously the html doesn't realise they're hidden. This means there's a scroll bar up permanently that goes down a long way. I can set the overflow to hidden to get rid of this, but that won't allow me any scrolling at all and some of the longer divs will likely go over the end of the page when they're showing, which means I'll have missing content.
Any ideas as to what I can do about this?
2)
As you can see I'm using phatfusion's mootools imagemenu for the main menu - the image accordion, for those that haven't come across it before. My javascript for hiding and opening hidden divs works on both the options from this and from the links in the left of the footer (not cart - that opens a new page). As it stands, if you choose an option from the imagemenu and then select one of the links from the footer, the imagemenu remains open.
I need a way of closing this - I'm guessing either by programmatically clicking the open option to get it to close again, or by calling the reset function from the imagemenu script. Unfortunately, I can't get either to work, but that may well just be me doing it wrong. How would you go about doing this?
My js for the hidden divs: www.gyphotography.co.uk/dev/v2/common/scripts/collapsibles.js
Phatfusion's imagemenu: www.gyphotography.co.uk/dev/v2/common/scripts/imagemenu.js
I figured I might be better off asking about the second problem in the mooforum, but it doesn't seem to have a particularly large user base, so I haven't had any luck there.
The site is still under dev at the moment, so there's only a few filler images up at the moment in the nature gallery, and there are a few bugs I already know about.
www.gyphotography.co.uk/dev/v2
I've got two display issues I was after some help with

1) -- is now solved

I've got some hidden divs that I've got appearing with mootools javascript. It works nicely, but the page is extremely long, as obviously the html doesn't realise they're hidden. This means there's a scroll bar up permanently that goes down a long way. I can set the overflow to hidden to get rid of this, but that won't allow me any scrolling at all and some of the longer divs will likely go over the end of the page when they're showing, which means I'll have missing content.
Any ideas as to what I can do about this?
2)
As you can see I'm using phatfusion's mootools imagemenu for the main menu - the image accordion, for those that haven't come across it before. My javascript for hiding and opening hidden divs works on both the options from this and from the links in the left of the footer (not cart - that opens a new page). As it stands, if you choose an option from the imagemenu and then select one of the links from the footer, the imagemenu remains open.
I need a way of closing this - I'm guessing either by programmatically clicking the open option to get it to close again, or by calling the reset function from the imagemenu script. Unfortunately, I can't get either to work, but that may well just be me doing it wrong. How would you go about doing this?
My js for the hidden divs: www.gyphotography.co.uk/dev/v2/common/scripts/collapsibles.js
Phatfusion's imagemenu: www.gyphotography.co.uk/dev/v2/common/scripts/imagemenu.js
I figured I might be better off asking about the second problem in the mooforum, but it doesn't seem to have a particularly large user base, so I haven't had any luck there.
The site is still under dev at the moment, so there's only a few filler images up at the moment in the nature gallery, and there are a few bugs I already know about.
Last edited: