What I’m struggling with is that my images don’t go back to their initial state once I hover out. I would like to use % with all this (not absolut px values).
There’s actually already a thread on this, but nobody replied:
I tried that, but tried again after reading your post and it worked! I have no idea what I did different to be honest, but whatever
Struggling with one last thing: How do I get each DIV block to be on top of the other 2 blocks when I hover over it? I set the z-index for every DIV block to 1 when in hover state, but it gives me a “jumpy” output, meaning I hover over the block, it starts to scale in width and suddenly snaps into the width value I entered. Any ideas how to get this smooth?
Here’s the link, Revolution. The left and right DIV behave like I want them to, the middle block is messing up when I hover over it (snaps into position). Thanks!
Interactions
Panel Left: onLoad - move left: 33.3%
Panel Right: onLoad - move right: 33.3%
Panel Center: onLoad - not required as auto-margin will position the panel for you
Panel Left: onClick - move Panel Left: to Origin, Panel Center: 100% right, panel Right: 100% right
Panel Center: onClick - move Panel Left: Left 100%, Panel Center: To Origin, panel Right: 100% right
Panel Right: onClick - move Panel Left: Left 100%, Panel Center: 166% Left, panel Right: To Origin
Left and Right panels are working but you z-index for Left is lower than Center
that’s why you can’t see it.
your center panel is not position correctly onLoad.
give the center panel a 33% left margin
and change the right panel z-index to 15
you need a 2nd click on the panels to bring the other 2 back onscreen also
Oh, was just following your directions above with 10,20 and 30 respectively.
Knew about the return panel click, was leaving till I got the ‘pushing’ click fixed.
Getting closer, thanks!
So I decided to tackle one section behaviour at a time. I focused on the centre panel. Can you explain why it is behaving like it does? What exactly am I telling it to do wrong that it becomes this skinny line instead of the 100% width I say?