Another call for help! :)

I'm using the loadpanel to load small html files
into a layer (in this case each file has text, an image, and
a form with 4 hidden input fields).

The problem is that sometimes the image just doesn't appear.
The image is being loaded, cause I don't get a broken image
square, but it just doesn't appear on the loaded page.

But if I reload that layer (repeating the action through my menu system)
the image appears ok. I'm already using the loadpanel.onload event to only
show the layer after the page is completely loaded, so unless the
loadpanel.onload
event doesn't wait for the images, and maybe that's the problem.

I am also not using <html> and <body> tags on this small files, because I
thought
it wasn't needed for simple HTML.

Richard (sorry man, it was really "bad form" not to post here in the
first place!) told me a workaround, by preloading the images before loading
the
files to the loadpanel, so that the panel only gets loaded after the images
and I think I can implement that through a "switch" instruction.

If any of you has come across this problem before, I would appreciate some
input
on this.

-------------------------
My small html pages are of the type:

<br>
<table cellpadding=2 cellspacing=0 border=0 width=100%>
 <tr><td colspan=3><font face='Arial' color='#67787E'
size=4>&nbsp;<b>Clix</b></font></td></tr>
 <tr>

  <td valign="top" align="center"><img src='../images/spacer.gif'
width='135' height='13' alt='' border='0'><br>
   <a href="http://www.clix.pt" target="_blank"><img
src="../includes/imagens/clix_small.gif" width="110" height="83" alt=""
border="1" style="border:1px   solid black;"></a>
  </td>

  <td><img src='../images/spacer.gif' width='135' height='10' alt=''
border='0'><br>
   <font face='arial' color='#67787E' size=2><b>Text</b><br></font>

   <font face='arial' color='#5A696E' size=1>
    More text.
   </font>
   <p>
   <font face='arial' color='#67787E' size=2><b>Sub text</b><br></font>

   <font face='arial' color='#5A696E' size=1>
        More sub.text
   </font>
  </td>

  <td>&nbsp;</td>
 </tr>
</table>

<form name="loadedpage">
        <input type="hidden" name="previous" value="includes/content_1.html">
        <input type="hidden" name="next" value="includes/content_3.html">
        <input type="hidden" name="nav" value="dev">
        <input type="hidden" name="subnav" value="content">
</form>

-------------------------
best,

NunoF


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to