Wednesday, August 22

Geek

The Only Thing I Have To Say At This Point In Time Is

[def colorpicker]
<script language="Javascript">
  var o_{1}_{2}color = new IColorPicker("o_{1}_{2}color");
  o_{1}_{2}color.onPickColor = new Function("document.getElementById('{1}_{2}color').style.backgroundColor=o_{1}_{2}color.color;document.getElementById('{3}').value=o_{1}_{2}color.color;");
  o_{1}_{2}color.RENDER();
</script>

<input type="hidden" id="{3}" name="{3}" />

<span id="{1}_{2}color"
 style="border:black 1px solid; background-color:[altstyle2.{3}];">&nbsp;&nbsp;&nbsp;</span>

<input type="button" value="Choose"
 onclick="o_{1}_{2}color.show(this);
          event.cancelBubble=true;"
 id="{1}_{2}colorbutton" name="{1}_{2}colorbutton" />

[/def]

Nested template functions with embedded Javascript inside a table inside a form.  Eww.

Posted by: Pixy Misa at 06:02 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 54 words, total size 2 kb.

Comments are disabled. Post is locked.
46kb generated in CPU 0.021, elapsed 0.1265 seconds.
54 queries taking 0.1117 seconds, 344 records returned.
Powered by Minx 1.1.6c-pink.