` Printed Icetips Article

Icetips Article



Par2: Accessing program variables in skeletons
2000-10-08 -- Simon Brewer
 
I did not know that the tsscript could mix variables and literals
like that - you have opened a whole new world for us.

FYI (maybe you'd like to FAQ it Steve), I added the TSSCRIPT command below
just prior to the body tag:-



(obviously substitute the  directory for the actual one - this is
not a special tag!).

Just after the  tag you must obviously insert another .

I didn't include the /public directory after the program because if it's a
run-time assignment in the program, you require the graphic in the program
directory - that way you don't have any path included in the wallpaper
attribute.

If you have a Table tag, which we've added so the user sees a "window in a
window", and it has the bgcolor attribute on it, that'll over-ride the
background of the body. That's also easy to fix by inserting (prior to the
table tag):-


plus the obligatory  after the table tag.

-------

No-one picked the deliberate mistake! .

That should've been when= rather than where=



Printed May 4, 2024, 11:10 pm
This article has been viewed/printed 35122 times.