kdf;142155 Wrote:
> For instance, if $() fails, the process just
> stops. Mostly this is a case of tempalte toolkit [% IF %] blocks that
>
> wipe out a div id in some cases. The only way to debug there is to
> either step through the script or move an alert through to code to
> track the line of failure.
yeah, it's messy. I do a lot of
if ($('thisDiv')) { doSomethingtoIt($('thisDiv')); }
now in my javascript, which gets me around javascript pooping out. But
your point is a good one. I also need to give a look-see at firebug, a
firefox extension for CSS/DOM/JS debugging. I've heard good things
about it.
kdf;142155 Wrote:
>
> It all comes down to time.
couldn't agree more. AJAX can be a real time suck, but I'm still very
much behind an AJAX/browser-based solution. The benefits are big, and
it fits perfectly into the architecture that slim has setup for skins.
cheers,
#!/ben
--
bklaas
"the Nokia770 skin guy"
------------------------------------------------------------------------
bklaas's Profile: http://forums.slimdevices.com/member.php?userid=58
View this thread: http://forums.slimdevices.com/showthread.php?t=28202
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss