bunk58 Reply #1, 4 years, 5 months ago
Here is a simple port of a Fisheye or Dock menu.
It is meant to be fairly quick and easy to get up and running so has a limited set of additional features.
Aimed at smaller sites and or users who aren't confident with template chunks?
See a working demo in two level mode at http://www.3913.co.uk.
The snippet embeds the standalone Javascript within the page.
The default set-up :
images based on the doc id e.g. 1.gif & 1_small.gif for the home page
image sizes to be 128 px & 64px respectively
directory path to be assets/snippets/fisheye/
outputs top level pages that are both published and show in menu
You can customise any of the above and more with a smallish range of optional parameters.
It's very basic PHP (my skill level) and could do with some tidying!
In particular the SELECT COUNT(*) query I used to check for no records to avoid output of useless HTML & JS.
I'm sure there's a better way of doing it along with the SELECT * FROM query to get the document data, if someone can offer advice.
Any help or feedback appreciated before possible release to a wider audience.
Regards,
David
It is meant to be fairly quick and easy to get up and running so has a limited set of additional features.
Aimed at smaller sites and or users who aren't confident with template chunks?
See a working demo in two level mode at http://www.3913.co.uk.
The snippet embeds the standalone Javascript within the page.
The default set-up :
images based on the doc id e.g. 1.gif & 1_small.gif for the home page
image sizes to be 128 px & 64px respectively
directory path to be assets/snippets/fisheye/
outputs top level pages that are both published and show in menu
You can customise any of the above and more with a smallish range of optional parameters.
It's very basic PHP (my skill level) and could do with some tidying!
In particular the SELECT COUNT(*) query I used to check for no records to avoid output of useless HTML & JS.
I'm sure there's a better way of doing it along with the SELECT * FROM query to get the document data, if someone can offer advice.
Any help or feedback appreciated before possible release to a wider audience.
Regards,
David

