PDA

View Full Version : problem showing hebrew in external data source marquee



jposttib
01-02-2011, 09:48 PM
1) Script Title: External Data Source Marquee

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/emarquee.htm


3) Describe problem: I really liked this script and need this script because I want to be able to adjust the text in the external data source with an online WYSIWYG editor (TinyMCE). The external file has Hebrew in it which show perfectly whenever I preview the file on its own, but the moment it is shown within the scoller I can't see the hebrew. I tried changing the "charset", which makes it possible to see Hebrew but erases the table layout totally. Is there anyone who understand what might be the problem. Or maybe there is another script doing the same which is usable also in firefox.

Here is the script for the external data source (I have shortened the table in order to be able to post the script:

<!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">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sunday Schedule</title>
<style type="text/css">
.style1 {
border-collapse: collapse;
border: 2px solid #000000;
}
.style3 {
text-align: right;
border: 2px solid #000000;
font-family: Arial;
background-color: #808080;
color: #FFFFFF;
}
.style4 {
text-align: center;
border: 2px solid #000000;
}
.style6 {
text-align: right;
border: 3px solid #000000;
font-family: Arial;
color: #FFFFFF;
font-size: medium;
background-color: #808080;
}
.style8 {
text-align: center;
border: 3px solid #000000;
font-family: Arial;
color: #FFFFFF;
font-size: medium;
background-color: #808080;
}
.style10 {
text-align: right;
border: 3px solid #000000;
font-family: Arial;
background-color: #808080;
color: #FFFFFF;
}
.style11 {
text-align: center;
border: 3px solid #000000;
font-family: Arial;
color: #FFFFFF;
background-color: #808080;
}
.style14 {
text-align: center;
border: 2px solid #000000;
font-family: Arial;
}
.style15 {
font-family: Arial;
}
</style>
</head>

<body lang="he" dir="rtl">



<table style="width: 760px" dir="rtl" align="center" class="style1" lang="he">
<tr>
<td valign="top" class="style6" dir="rtl" lang="he" style="width: 15px">
&nbsp;</td>
<td valign="top" class="style8" dir="rtl" lang="he" style="width: 80px">
<strong>ז'1</strong></td>
<td valign="top" class="style8" dir="rtl" style="width: 80px">
<span lang="he"><strong>ז'2</strong></span></td>
<td valign="top" class="style8" dir="rtl" style="width: 80px">
<span lang="he"><strong>ז'3</strong></span></td>
<td valign="top" class="style8" dir="rtl" style="width: 80px">
<span lang="he"><strong>ז'4</strong></span></td>
<td valign="top" class="style8" dir="rtl" style="width: 80px">
<span lang="he"><strong>ז'5</strong></span></td>
<td valign="top" class="style8" dir="rtl" style="width: 80px">
<span lang="he"><strong>ז'6</strong></span></td>
</tr>
<tr>
<td valign="top" class="style3" dir="rtl" style="width: 15px">
<strong>0</strong></td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style4" dir="rtl" style="width: 80px">
<strong><span class="style15">הסטוריה<br />
אריאלה ברגר<br />
</span>
</strong></td>
</tr>
<tr>
<td valign="top" class="style3" dir="rtl" style="width: 15px">
<strong>1</strong></td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
</tr>
<tr>
<td valign="top" class="style3" dir="rtl" style="width: 15px">
<strong>2</strong></td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
</tr>
<tr>
<td valign="top" class="style3" dir="rtl" style="width: 15px">
<strong>3</strong></td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
<td valign="top" class="style14" dir="rtl" style="width: 80px">
&nbsp;</td>
</tr>


</table>



</body>

</html>