What are some nice, clean ways to move around and/or manipulate text (not images of text) on a webpage without Flash or something heavy like that?
-
I have some programming background (C++ primarily), but I don't know much about jQuery or similar magic. I can learn new approaches quickly, and I'm trying to understand what would be a good next thing to study. I would like to be able to move the text on a webpage around, eliminate it, generate new text, change details (at least at the character level) of existing text, etc. Should I just dig my teeth into some JavaScript goodness and take it from there, are there specific aspects of JavaScript that I should focus on, or are there other options that I'm overlooking?
-
Answer:
If you just want to manipulate text, you definitely don't need Flash. With today's modern JavaScript implementations, manipulating text is quite clean. The main idea is to just get a reference to some HTML element and change its CSS attributes dynamically in your code. So basically, just think about how you would statically position everything you want with CSS. Then write some JavaScript to change the CSS attributes as needed to create animation or other effects. A great tool for learning JavaScript is the built-in Developer Tools feature of Google Chrome. It is a rather full-featured JavaScript debugging IDE, and lets you manipulate the page you're viewing by changing its HTML and CSS, and running arbitrary JavaScript code. I suggest searching for JavaScript tutorials and references and then playing around with ideas in Chrome Developer Tools. You can also visit some sites that you like and use Developer Tools to spy on what they're doing under the hood.
Anthony Yeh at Quora Visit the source
Other answers
I'm not sure this is what you're looking for, but you can always check out this: http://www.functionn.in/2013/01/textillatejs-jquery-plugin-for-css3.html Textillate.js allows you to animate text with effects such as flash, bounce, shake and more easily. I've tried it out and it is pretty awesome and is built upon provided JavaScript libraries.
Hirvesh Munogee
Javascript is your resort. For what you desire, can best be implemented using Javascript. jQuery and Ajax can also be used to make the page more dynamically active. For some tutorials, you can get help from these websites... http://www.wtfdiary.com/2012/05/15-best-websites-that-can-turn-you-into.html Rest, you can also explore my blog, for Php, javascript tutorials for readymade functionalities, if you need any... http://www.WTFdiary.com
Abhishek Ahlawat
Related Q & A:
- Unix tools: what if a file is named minus something?Best solution by Super User
- Is there a small usb flash drive if connected to the back of my LCD tv will boot up by itself without computer?Best solution by Yahoo! Answers
- What are some nice things to do on a date in Philly?Best solution by visitphilly.com
- How can I get the font size of text in elements within a webpage?Best solution by Stack Overflow
- What are some nice, fairly inexpensive things to do in NYC for a weekend?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.