Posts tagged ‘Firefox’

Lectora and unterminated string literals

Sometimes Lectora renders the HTML, and you end up with broken pages. You start trying to disable things, sometimes it works, sometimes it doesn’t.

My advice: first use Firefox’ error console to find out what the error is about. Sometimes it’s an “unterminated string literal“:

VarAktuellerKapitelname.set( ‘El modelo biopsicosocial integrativo de la CIF

‘ )

You can solve this problem by patching the file and re-copying it over the output when rendering. (Of course you have to keep track of whether the page gets updated …)

Here’s the correct version of this line of code:

VarAktuellerKapitelname.set( ‘El modelo biopsicosocial integrativo de la CIF’ )

Easy, huh? The real challenge lies in tracking the little files … Well, why don’t you make it our problem? We’ll solve Lectora problems for you – ask for our competitive rates!

JQuery Tools and Tabs in IE

Internet Explorer’s refusing to work with the tabs – that is, the first two tabs work then everything breaks. Firefoxy and Opera do what I intend them to do. Have I mentioned that cross-browser developing can be a burden?

It turns out, that Internet Explorer has a problem with the <FORM> not wrapping around everything, but being split up between DIVs.

This does not work with Internet Explorer:

<div class=”panes”>
<DIV>
<form action=”/” method=”post”>

</DIV>
<DIV>

</DIV>
<DIV>
</form>
</DIV>
</DIV><!–closing the panes–>

This works:

<form action=”/” method=”post”>
<div class=”panes”>
<DIV>

</DIV>
<DIV>

</DIV>
<DIV>
</DIV>
</DIV><!–closing the panes–>
</form><!–form wraps around the panes –>