turkspartan Posted February 27, 2014 Share Posted February 27, 2014 See how the words on top of this page animate? http://visia.themes.pixelentity.com/ Is there a wordpress plugin or something? Thanks Link to comment Share on other sites More sharing options...
davej Posted February 27, 2014 Share Posted February 27, 2014 (edited) What? Do you mean the marquee in the center of the screen? That is just text being moved around inside a div. Edited February 27, 2014 by davej Link to comment Share on other sites More sharing options...
turkspartan Posted February 27, 2014 Author Share Posted February 27, 2014 What? Do you mean the marquee in the center of the screen? That is just text being moved around inside a div. Hmm.... So how would I make it Link to comment Share on other sites More sharing options...
davej Posted February 27, 2014 Share Posted February 27, 2014 Create a div. Style it overflow:hidden. Put words in it inside some inner container such as a span. Style the span position:relative. Write a function that is called by a periodic timeout to change the relative position offset. http://www.w3schools.com/css/css_display_visibility.asp http://www.w3schools.com/css/css_positioning.asp http://www.w3schools.com/js/js_timing.asp http://www.w3schools.com/jsref/dom_obj_style.asp Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now