<div dir="ltr">I would guess that some links in the iframe have a target that directs to the _parent or _top frame. Something like <a href="<a href="http://foo.org/moodle/bla">http://foo.org/moodle/bla</a>" target="_top">Moodle's Bla</a>. Either that or there is some javascript fooling around directing certain targets to the _top frame instead of _self.<br>
<br>Kindly,<br>Maarten<br><br><div class="gmail_quote">On Sat, Aug 23, 2008 at 1:59 PM, Daniel Carrera <span dir="ltr"><<a href="mailto:daniel.carrera@zmsl.com">daniel.carrera@zmsl.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
This is an HTML question. I installed the Moodle integration module. It<br>
puts Moodle inside an <iframe> in a Drupal page. So far so good. The<br>
problem is when you click on a link inside Moodle (iframe). I always<br>
thought that clicking on a link inside an iframe would only change the<br>
contents of the iframe. But this is not what always happens. Some times<br>
the entire browser page refreshes, taking you out of Drupal, to Moodle,<br>
and breaking the illusion that Moodle is inside Drupal.<br>
<br>
What is especially disconcerting is that this happens on some pages but<br>
not others. So it creates a weird kind of unpredictability that I'm sure<br>
will annoy users.<br>
<br>
I cannot see any obvious reason why there is a difference. The links<br>
that produce different results don't look all that different. They are<br>
all on the same domain, of the form <a href="http://foo.org/moodle/" target="_blank">http://foo.org/moodle/</a><something>.<br>
<br>
Does anyone know what can cause this behaviour? I need to understand the<br>
root cause at the HTML level before I can figure out if there is<br>
something I can change at either Moodle or Drupal to correct the problem.<br>
<br>
Thanks for the help.<br>
<br>
Daniel.<br>
<font color="#888888">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br></div>