Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Hi Guys,
I've been wanting to get a bit of movement on my Home page for my new Backlight site and found a couple of techniques that were not too difficult to do. The First one pins the Navigation to the top of the page on scroll so that a visitor does not have to scroll back to the top of the page to navigate. This is done with a small JavaScript added via the the ttg_scripts hook in a custom phplugins file and some css styling.
The Parallax Scroll is done by adding Markup for the structure in the Home Page Copy section in Backlight Admin. Styling is then added to my custom CSS. No Javasripting is involved
It's still evolving, and is not Mobile friendly yet. I am trying to get the images called from a hidden Publisher Gallery, although getting the image quality and file naming to line up with the css is a little testing....
Constructive criticism/feedback/suggestions gratefully accepted. And if someone can tell me what I'm going to fill all that text area with, that would be a bonus. I'm not good with words!
You can find the test site here: njp.kopstone.co.uk
Last edited by lofty (2016-06-12 18:09:24)
Offline
I like it, Jon! Something to think about! That's really cool!
The first thing I did was clicking on the big landscape title on the front page.... which is not clickable!
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Ah!
Good point Daniel, I haven't linked them yet. I'll sort that out soon.....
Offline
Offline
Very cool Jon. Looks fantastic.
The only problem I foresee is if you plan on using the forthcoming Cart. I wonder about any conflicts between the sticky menu and the Cart status bar. But I'm sure you'll work that out when/if the time comes.
Nice job!
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks Rod,
Yep, having fun working that out on the Water Gallery where I have the CRG enabled. I think it can be sorted by changing where the Navigation gets pinned to, but that may involve having a separate Menu for those Galleries. Currently the Navigation would get hidden by the CRG/Cart Header when scrolling.
Offline
Good stuff, Jon. It's fun to see people building on Backlight's foundation. Hopefully, after we finally have all of the add-ons ported over from CE4, we can go back and start adding some creative options similar to this stuff.
Offline
Thanks Matt,
I love that I can work on Backlight wherever I have Internet and not be pinned to my desk at home to make changes. Adding Markup content in the Copy area is a revelation and something I should have paid attention to in CE4..... Still have a long way to go and these bits may not make their way onto my finished site, but so much fun trying new stuff out. Can't wait for Stage and Wordpress Addons. Just have to find a way to trigger a remote re-publish now
Offline