- This topic is empty.
-
AuthorPosts
-
April 9, 2012 at 6:34 am #37560
arny
ParticipantHi to all,
First of all, I want to say that i am very glad to be on this forum.I’m looking the css3 solution for this project
All effects I want to repeat with css3. The basic problem – how to organize a smooth moving between screens when clicking on the menu.I know about jquery solution, but it is very rude.
please, helpthanks!
April 9, 2012 at 7:55 am #100888scheme
MemberI don’t know if you can do exactly the same, but as a start, check this out:
*
{
-webkit-transition: all 0.42s ease;
-khtml-transition: all 0.42s ease;
-moz-transition: all 0.42s ease;
-ms-transition: all 0.42s ease;
-o-transition: all 0.42s ease;
transition: all 0.42s ease;
}
#default, #screen1, #screen2, #screen3, #screen4
{
position: absolute;
width: 100%;
height: 100%;
overflow-y: scroll;
}
#default:target, #screen1:target, #screen2:target, #screen3:target, #screen4:target
{
left: 0;
top: 0;
}
/*
Place screen1-4 somewhere out of the rendering area using the left and top properties.
*/
Use + and ~ selectors to update your positioning depending on which screen is currently displayed.
(Didn’t test this, but should work. I also don’t know about browser support for these techniques.)
April 9, 2012 at 8:06 am #100889arny
Participantok, thanks!
good start. i’ll try it todayApril 9, 2012 at 8:12 am #100897Mottie
MemberCheck out jmpress.js and impress.js (with a builder). Both combine javascript with css3 animation to provide something that I think is even better than that flash demo you shared.
You might want to also check out zoomooz.
April 9, 2012 at 9:10 am #100900arny
Participantcool! thanks!
April 12, 2012 at 8:11 am #101070arny
Participanthello again
This is what i’ve done:
I’ve made a big screen (.window) and placed inside it small screens (my pages)
Now, with “position:absotule” & “left,top” i am moving the big screen to the coordinatesThe screen is start moving when i am clicking on the menu links (home,about us, etc.) – with :target
And now i’ve been pushed against two problems:
1) My “tranzition” animation is not working (i’m changing “left,top” of the big screen) when i am clicking on the menu links
2) I do not know how to calculate the coordinates of a big screen at different resolutions (i want my pagebe absolutely in middle of the browser) ..lost in the code,
thanks for your helpingApril 12, 2012 at 12:27 pm #101077arny
Participantpleeease ^_^
April 12, 2012 at 6:15 pm #101094arny
Participantanybody?
April 13, 2012 at 4:35 am #101109arny
Participantguys?
April 13, 2012 at 6:47 am #101141arny
Participanthm. is this spam? I do not understand what i need to look at :/
April 13, 2012 at 2:36 pm #101135Mottie
MemberI’ve been looking at it… just no simple solution. Did you try any of those plugins?
April 14, 2012 at 4:55 am #101157arny
Participanthi,
client doesn’t want Jquery or any scripts.
we need pure cssApril 15, 2012 at 5:58 pm #101211arny
Participantno solution?
April 15, 2012 at 6:55 pm #101213Mottie
MemberI don’t mean to sound rude, but if you’re in that much of a hurry. Try StackOverflow.com or maybe pay someone to do the work for you.
Does the client know that sometimes scripting is necessary?
I attempted to make this work, on Friday, but I tried to enjoy my weekend and work on projects that I enjoyed doing… I didn’t get a chance to look at this one.
April 19, 2012 at 9:26 am #101450arny
Participanti don’t find any help here :(
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.