Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20
  1. #1
    Member Reza O's Avatar
    Join Date
    Nov 2012
    Posts
    53
    Member #
    33634
    Liked
    1 times
    Imagine a box. Then it rotates 45 degrees and comes towards the screen while doing that. Can someone write a script for that? I can't figure it out.

  2.  

  3. #2
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,656
    Member #
    1234
    Liked
    137 times
    You want a box to come out of the screen?
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at houseofhelp.com

  4. #3
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    CSS is for display and presentation ... I'd use JQuery transitions for the animation.

  5. #4
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Quote Originally Posted by Webzarus, post: 245416
    CSS is for display and presentation ... I'd use JQuery transitions for the animation.
    It's a presentation element. JS is more for interaction.

    Here's a quick primer on animation: https://developer.mozilla.org/en-US/...CSS_animations
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  6. #5
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    Depending on the circumstances and the complexity of the image, an animated GIF might work (probably won't, but it's slightly possible.)
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  7. #6
    Member Reza O's Avatar
    Join Date
    Nov 2012
    Posts
    53
    Member #
    33634
    Liked
    1 times
    It's supposed to be all in css.

  8. #7
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    CSS has limitations on the movements you can do. Css3 has more, but is not supported on every browser.

    Your original post said nothing about "only CSS" and your original post was asking for a "SCRIPT", CSS is not a script, so again, you've posted a question without fully explaining what you want, and dismissed every offer of a suggestion without so much as a thanks but no thanks...

    I offer suggestions and comments ( I don't write code for anyone ), especially someone who cannot ask a complete question and refuses to acknowledge when someone who offers any assistance.

  9. #8
    Member Reza O's Avatar
    Join Date
    Nov 2012
    Posts
    53
    Member #
    33634
    Liked
    1 times
    Webzarus. I by script I meant piece of CSS code. I want an animation done only with CSS. With a rectangle spinng up and towards you with shadows. Someone showed me he'd done it. But wouldn't give me the code so I could see how it's done. So I am asking you guys if you can write something that does that so I can see how it's done. BTW I did ask a complete question. And I am not refusing acknowledgement of anyone's help. YOu seem to have misread me and who I am. Thanks in advance for your help.

  10. #9
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Quote Originally Posted by Reza O, post: 245782
    ...So I am asking you guys if you can write something that does that so I can see how it's done...
    This probably isn't going to happen. I shouldn't have to tell you why, either.

    You're going to have to learn this. People will help you along the way, but you probably won't find anyone to just do it for you. I gave you a resource in post #4. If that isn't enough, here's a few more.

    Now go through it step-by-step and learn it.
    Reza O and Andrew Yurlov like this.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  11. #10
    Member Reza O's Avatar
    Join Date
    Nov 2012
    Posts
    53
    Member #
    33634
    Liked
    1 times
    Quote Originally Posted by Ronald Roe, post: 245814
    This probably isn't going to happen. I shouldn't have to tell you why, either.

    You're going to have to learn this. People will help you along the way, but you probably won't find anyone to just do it for you. I gave you a resource in post #4. If that isn't enough, here's a few more.

    Now go through it step-by-step and learn it.
    Thanks. That showed me how to rotate it but not to rotate and bring it up during the rotation with shadows.


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:06 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com