PDA

View Full Version : Integrating text into a page with Omnislide



wanapitei
01-27-2008, 08:14 PM
I'm intending to use Omnislide (http://www.dynamicdrive.com/dynamicindex1/omnislide/index.htm) as a navbar on my pages, but when I paste in the text for the balance of the page, I'm getting very surprising results. Omnislide still works perfectly, but I'm getting bad text on the screen.

Here's my iteration of Omnislide all by itself (http://morleychalmers.com/Version2.html).

Here's the text page without Omnislide (http://morleychalmers.com/MostlyTheravada/RightConcentration.html). Note that this page calls for New Times Roman and Verdana throughout. There's curled quotes, bullets for sectional breaks, and diacritical accents for some of the Pali language words.

Finally, here's the two brought together (http://morleychalmers.com/MostlyTheravada/mt.html). Something is interfering with the proper interpretation of text.

Help with this much appreciated.

jscheuer1
01-27-2008, 09:19 PM
That has nothing to do with the script. You have used to different openings fo the text and the script with text pages. On the text only one you have (from the top):


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">

followed by the title tag, and on the script with text page you have (from the top):


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>

followed by the title tag.

Make the one with the script on it the same as the one which displays the text as desired.

wanapitei
01-27-2008, 09:50 PM
Problem solved. Replacing the top header did it, as shown (http://morleychalmers.com/MostlyTheravada/current.html). Not sure which elements were critical, but it works. Much thanks.