Hi,

I started using the __counter__ variable to dynamically build JavaScript 
arrays in my HTML. Unfortunately __counter__ starts counting at 1 (one), 
resulting in my first (i.e. index zero) array elements not being initialized.

I am used to $[ == '0' and a counter that starts at '1' is not what I expect 
(although I understand why some would want to have it that way). And I don't 
really want to adapt my JavaScript for-loops to start counting at 1 instead 
of 0.

Would it be possible to add an option (e.g. counter_start_value, defaulting to 
1) which one could use to set the starting value of __counter__?

Regards,

<Martijn />

-- 
+----------------------------------+
        Martijn van den Burg
  ASML, CS PPC Inform@tion Systems
     Voice: +31 (0)40 268 3856
+----------------------------------+



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to