i am making a content manager, i want to be able to have the user format text with bold, italics, fontsize, color, etc within the text field window, kind of like the page here where we post topics and reply, any ideas where i can find any free scripts for this?
I'm trying to include a paragraph on my page that is randomly chosen each time the page loads. This I can do. But in this paragraph I'm trying to include varied text formatting (parts bold, parts different color, etc), and make part of it a link.
If I use unformatted, un-linked text, it works fine, but that's not my goal. When I try including html in the items from which to be selected randomly, whether by directly specifying the attributes or using CSS class references, nothing displays, which makes me wonder what of all this is the problem.
Apologies for the almost duplicate post but thought this was much clearer description of the issue than what I originally posted.
I'm trying to do simple integration with a third-party web application. The app has an 'Action' button on all pages that can be associate with a JS function. Our application is very proficient at parsing text provided it is in some reasonably standard structure.
Is what we are trying to do is have a JS function that can be called from any page in their system that will provide a reasonable representation of the text on the screen. I need something close to document.body.innerText; the problem with this function is that it strips spacing from tables so we can't get consistent layout.
The consistent layout I am looking for would be the same as if you did the following on any page:
1) Select all 2) Copy 3) Paste to notepad
Is there a function or process that will retrieve all text and retain formatting?
I have been in the process of re-designing my website to utilize some of the functionality and benefits of jquery. I'm building a slider set for my site, and each slide contains it's own nav box and text description of said slide. Things are working fairly well for the most part, but I'm encountering an issue with text formatting on the slides, and I figured it would be best to post my information here and try to get some assistance.My script.js file contains all of the necessary info for the slides (a code example is below):
A cloud is a visible mass of water droplets or frozen ice crystals suspended in the Earth's atmosphere above the surface of the Earth or other planetary body. Clouds in the Earth's atmosphere are studied in the nephology or cloud physics branch of meteorology. Two processes, possibly acting together, can lead to air becoming saturated: cooling the air or adding water vapor to the air. Generally, precipitation will fall to the surface; an exception is virga which evaporates before reaching the surface.",}];Here's what the finished product of that code looks like on the front end:Each slide in the set looks similar to this (but obviously contains different information). As the text for each slide is contained within the .js file and not within the html, is there any way to format it so that I can use things like italics, bold, etc.?
I grabbed this code from Dynamic Drive. I'm trying to style it better. I've had some success, but some thing are giving me a run for my money since i don't know JS.I would actually like the text to scroll from right to left instead of up and downThe only way I can figure out how ot get the quotes inside by scroller to look like quotes is to add an insane amount of spaces (&nbps.
I have the below Java on a the mouse up event of a button in Adobe Professional 8.0. I would like to make the last part of the subject line either bold or all caps. Is there a way to do this? var cSubLine = "500 Order for " + this.getField("CustomerName").value + " " + this.getField("Unit_Down").value;
var text = document.getElementById(area).value; http.open('post', 'autosave.php?text='+text);
On load, if a select box as the option X selected, display a specific input field.This works, because, after the validation, I go back to the previous page, and the input field is there.However, if someone selects the option X of the selectbox, the input field appears, BUT, if a refresh is made, we lost that input field.I understand this is a normal behavior since, we are on a client-side language, hence it should forget the previous state, but, what is the common workaround for dealing with this, in order to "preserve" the input field after refresh?