My script.js file contains all of the necessary info for the slides (a code example is below):
// Background images, slide text and url's
var photos = [ {
"title" : "Clouds",
"cssclass" : "cloud",
"image" : "bg_cloud.jpg",
"text" : "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.?
Any and all help is greatly appreciated on the topic, and I thank everyone in advance for the assistance.
This post has been edited by one.relic: 27 July 2011 - 03:41 AM

New Topic/Question
Reply


MultiQuote








|