Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: xml, xsl, css ... in netscape

From: "mali djuro" <mali_REMOVE_djuro@---.-->
To: NULL
Date: 9/4/2003 11:07:00 AM
"Oleg Tkachenko" <oleg@N...> wrote in message
news:eLhhpFfcDHA.1072@T......
> mali djuro wrote:
>
> >><xsl:template match="root">
> >>      <html>
> >>            <head>
> >><link rel="stylesheet" href="./css/style.css">
> >>            </head>
> >>            <body bgcolor="#EFEFEF">
> >
> >
> > yes, i tried it,
> > but in this case, even in IE,
> > styles are not applied
>
> Hmmm, chances are that ./css/style.css is not resolved properly in that
case -
> can you try with absolute URL like <link rel="stylesheet"
> href="http://foo.com/css/style.css"> ?
>

 hi,
i found out how to applied styles in NN. i used a little bit of everithing
and mixed and now it works. but i still have problems.
it is not problem that stops program or breaks it, but it borders me.
when i make transformations, and if i call some javascript functions inside
it, for example i have function to generate navigation menu in pages, and
when i call it, menu is written but NN never stops loading page. when i stop
loading and view sourcd page, i found out that code of menu is written
behind </html> tag.
if you have some experience in this or now how to solve it, plesae help.

thanks.

here is xsl file with that function

test.xsl:

...
    <html>
         <head>
                 <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
                 <link rel="stylesheet" href="./css/menu.css" />

                  <script language="JavaScript"
src="./menu/menu.js"></script>
         </head>

         <body bgcolor="#EFEFEF">

            <script language="JavaScript">
                     make_menu();
            </script>

....


page source is:

 ...
                        </table>
                </body>
        </html>
        <a id="e0_0o" class="oout" href="main.htm" style="position:
absolute; top: 11px;    left: 10px; width: 149px; height: 24px; visibility:
hidden; z-index: 0;"                 onclick="return A_MENUS[0].onclick(0);"
onmouseout="A_MENUS[0].onmouseout(0);"
onmouseover="A_MENUS[0].onmouseover(0);"
onmousedown="A_MENUS[0].onmousedown(0);"><div  id="e0_0i"
class="iout">main</div></a>
        <a id="e0_1o" class="oout" href="" style="position: absolute; top:
11px; left: 159p
....

> --
> Oleg Tkachenko
> http://www.tkachenko.com/blog
> Multiconn Technologies, Israel
>




transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent