Thank you! Now it works. And that's good enough for me until 1.0 :)regards/runeOn 20. des. 2005, at 10.44, Lee McFadden wrote:Would it be easier to get around Kid with Mochikit's addLoadEvent()? So in your master.kid you'd have the following section:script type="text/_javascript_"
I haven't worked much with mochikit, but at first glance, you're
calling roundedcorners() before the element appears. Try putting that
method in the onLoad of the body.
body onLoad=roundedcorners();
On 12/19/05, Rune Hansen [EMAIL PROTECTED] wrote:
This might belong on the Mochikit
On 19. des. 2005, at 18.07, Jared Kuolt wrote:I haven't worked much with mochikit, but at first glance, you'recalling roundedcorners() before the element appears. Try putting thatmethod in the onLoad of the body.body Hi Jared, that was supposed to be my next question. It does absolutely not matter
Try this one again, just remember to restart your application. Kid
doesn't recompile the templates when the master.kid (or any extended
template) is changed.
body py:match=item.tag=='{http://www.w3.org/1999/xhtml}body'
onLoad=roundedcorners();
On 12/19/05, Rune Hansen [EMAIL PROTECTED] wrote:
Hi Jared, I do appreciate that you are spending time to investigate this. master.kidbody py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" Server is restarted.View source of welcome.kid:BODY DIV STYLE="width:300px;margin:1em;background-color:#CCC" ID="rounded"No sign of the onLoad
What version are you running, btw?
I'm running latest svn, which has kid 0.8 as far as I can recall. If
you're running TG 0.8a4 (0.8a5 is latest) or older you have Kid 0.7. I
don't know if that's the problem or not, but I'll keep looking into
this.
On 12/19/05, Rune Hansen [EMAIL PROTECTED]
6 matches
Mail list logo