I want text in a paragraph appears like a typewriter. A friend of mine is able to program Java.
But how to apply a java script on a paragraph? I saved a working snippet (tested successfully in the browser) in the snippet “window”. Then I made the paragraph active (clicked to it) and copied the text into the Java area. But nothing appears in the paragraph? What do I do wrong or what am I missing?
Below the snippet I want to integrate. (just to test the way to integrate a Java script)
I checked the stack. But I have much more specific requirements. But thank you.
Better to check what is available than to invent the wheel twice.
As my friend is able to program (But no experience with Apple and Rapidweaver)
my focus is to get script integrated. That is what RW claims to make it easy.
The topic is outlined only shortly in the introduction videos. But am I on the right track
with my procedure or what do I wrong?
Dear Doug, the content of the snippet is intended only (!) to test and ensure integration. It will be modified later on due to my specifications.
Actually i found a workaround by using “HTML” element in the library. Java code pasted works and is displayed properly on the website.
However, I am irritated that tutorial videos mislead to copy a Java snippet in the main tab/ body/ head .
Right now my friend is about to try builder stack from stacks4stacks which hopefully gives even further options to implement ideas.
No matter where you place your code, the coder is still responsible for ensuring that the DOM is in the needed ”state” before the code is executed.
Processing snippets of code inside of a browsers console or using an online editor like CodePen is quite different in that respect.
JQuery’s most used function is called $( document ).ready() or shorthand $(), for this reason.
The builder stack doesn’t ensure the ready state you will need unless you code for it.