<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Latest posts from topic “[solved] Dynamic HTML update with mootools”</title>
  <subtitle>Latest posts from topic “[solved] Dynamic HTML update with mootools” on “mooforum”.</subtitle>
  <link href="http://www.mooforum.net/viewtopic.php?f=16&amp;t=2140" />
  <updated>2009-08-21T16:49:14Z</updated>
  <id>http://www.mooforum.net/viewtopic.php?f=16&amp;t=2140</id>
  <link rel="self" href="http://www.mooforum.net/generate_feed.php?content=topic_posts&amp;f%5B%5D=16&amp;t=2140" />

			<entry>
			<title>Re: Dynamic HTML update with mootools</title>
			<link href="http://www.mooforum.net/viewtopic.php?f=16&amp;p=7126#p7126"/>
			<id>http://www.mooforum.net/viewtopic.php?f=16&amp;p=7126#p7126</id>
			<author>
				<name>daKmoR</name>
			</author>
			<published>2009-08-22T16:48:17Z</published>
			<updated>2009-08-22T16:48:17Z</updated>
			<summary type="xhtml">
				<div xmlns="http://www.w3.org/1999/xhtml">glad I could help <img src="http://www.mooforum.net/images/smilies/icon_e_smile.gif" alt=":)" title="Smile" /></div>
			</summary>
		</entry>
			<entry>
			<title>Re: Dynamic HTML update with mootools</title>
			<link href="http://www.mooforum.net/viewtopic.php?f=16&amp;p=7125#p7125"/>
			<id>http://www.mooforum.net/viewtopic.php?f=16&amp;p=7125#p7125</id>
			<author>
				<name>shakura</name>
			</author>
			<published>2009-08-22T16:32:20Z</published>
			<updated>2009-08-22T16:32:20Z</updated>
			<summary type="xhtml">
				<div xmlns="http://www.w3.org/1999/xhtml">Thank you very very much daKmoR you were absolutely spot on!</div>
			</summary>
		</entry>
			<entry>
			<title>Re: Dynamic HTML update with mootools</title>
			<link href="http://www.mooforum.net/viewtopic.php?f=16&amp;p=7120#p7120"/>
			<id>http://www.mooforum.net/viewtopic.php?f=16&amp;p=7120#p7120</id>
			<author>
				<name>shakura</name>
			</author>
			<published>2009-08-22T06:42:47Z</published>
			<updated>2009-08-22T06:42:47Z</updated>
			<summary type="xhtml">
				<div xmlns="http://www.w3.org/1999/xhtml">it seems like the same problem.  I'm going to try that approach, just hope I get the noobslide to reinitialize,  I'm developing this on a local host so sadly I do not have webspace to  demo with, will try to get it online.<br />
<br />
Thank you for the response</div>
			</summary>
		</entry>
			<entry>
			<title>Re: Dynamic HTML update with mootools</title>
			<link href="http://www.mooforum.net/viewtopic.php?f=16&amp;p=7116#p7116"/>
			<id>http://www.mooforum.net/viewtopic.php?f=16&amp;p=7116#p7116</id>
			<author>
				<name>daKmoR</name>
			</author>
			<published>2009-08-21T17:02:51Z</published>
			<updated>2009-08-21T17:02:51Z</updated>
			<summary type="xhtml">
				<div xmlns="http://www.w3.org/1999/xhtml">could be a timing problem like here?<br />
<a href="http://www.mooforum.net/solutions12/acordion-not-working-when-built-dynamically-ajax-t2098.html" class="postlink">http://www.mooforum.net/solutions12/acordion-not-working-when-built-dynamically-ajax-t2098.html</a><br />
<br />
demo?</div>
			</summary>
		</entry>
			<entry>
			<title>[solved] Dynamic HTML update with mootools</title>
			<link href="http://www.mooforum.net/viewtopic.php?f=16&amp;p=7115#p7115"/>
			<id>http://www.mooforum.net/viewtopic.php?f=16&amp;p=7115#p7115</id>
			<author>
				<name>shakura</name>
			</author>
			<published>2009-08-21T16:49:14Z</published>
			<updated>2009-08-21T16:49:14Z</updated>
			<summary type="xhtml">
				<div xmlns="http://www.w3.org/1999/xhtml">I seem to be the only one having this problem, or it might be that it is so obvious that no one else made the mistake I'm making.<br />
<br />
In short, I'm using mootools 1.11 together with the noobslide script.<br />
<br />
this bit of code is supposed to dynamically get image locations from the database, upon selecting a collection from the select box, and return the full HTML markup for the noobslide gallery.  <br />
<br />
<div class="codebox"><div class="codeheader"><a href="#" onclick="linenumberOnOff('cb17408'); return false;">Line number On/Off</a> | <a href="#" onclick="expandCode('cb17408'); return false;">Expand/Contract</a> | <a href="#" onclick="selectCode(this); return false;">Select all</a></div><!-- we need this dummy div to fix a firefox bug when selecting code lines --><div class="codeholder"><div class="text" id="cb17408" style="font-family: monospace;"><ol><li style="" class="li1">var url=&quot;index.php?option=com_mspg&amp;format=raw&amp;task=collectionSelected&amp;collection=&quot;+this.getValue();</li><li style="" class="li2"><![CDATA[ ]]> <![CDATA[ ]]> <![CDATA[ ]]> <![CDATA[ ]]> var a=new Ajax(url,{method:&quot;get&quot;,update:$(&quot;gallery&quot;)}).request();</li></ol></div></div></div><br />
<br />
the problem seems to be that the DOM is never updated or something like that, as the noobslide gallery seems to loose it's handles instead of begin reloaded as I would expect from the domready event I have added.<br />
<br />
I home some one will be able to help me get this working, I've been trying to figure this out for the better part of a week now, and the voices all agree that there should be a simple and probably obvious solution.<br />
<br />
Thank you for your time.</div>
			</summary>
		</entry>
	</feed>