first time posting here, though have followed some posts every now and again. so, hello all.
got a quick question that i have not found the answer for online etc.
i have a template im taking apart, using it to build my site again, make it just one page, with links that call hidden subpages. keep it simple etc.
but im running into a problem of allowing a picture link in the gallery to pop up a page, rather than the original .png file for info. i like the .png route, but i need to put things like links to external pages and video etc, so a picture link to a sub page is needed, rather than to a .png file.
here is a link [.zip at 3.4mb] to the actual template that you can download and play with to see what i mean.
http://www.smokingbunny.co.uk/downloads/cream%20template.zip
more than likly, and my luck, that it is easy. but i just cant see what to do now. spent a while finding answer and testing routes, but no luck. so this is why im asking.
thanks for any answers in advance
lewis edwards
smokingbunny.co.uk
First, you need to disable the lightbox plugin to prevent your picture click to run that function.
Remove or comment out
$('#img_slider li .pic').fancybox({'titlePosition': 'inside', 'overlayColor':'#000'});online 88ofscripts.jsNext, you can link to your subpages by using the current picHold div. Add an ID/href (where it will link) to link the anchor.
Then copy your other content containers (li) and give it your newly created ID.
e.g.
And you’re good to go! Tested/works.