Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
when i wrote like this;
...style.textDecoration = 'underline overline blink line-through'
the script execute and the text elements will be underline, overline, blink, and line-through at the same time.
however, when i break it down to variation, like this;
a = "underline"
b = "overline"
c = "blink"
d = "line-through"...style.textDecoration = a + b + c + d
the script didn't function at all.
i try this both in mozilla and explorer. how to break the elements into variation and make it execute all elements at the same time?

I solve the problem. I need to put a space in those variables. *( _ = space )
a = "underline_"
b = "overline_"
c = "blink_"
d = "line-through_"...style.textDecoration = a + b + c + d

![]() |
ODBC connect to web datab...
|
Javascript: return true/f...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |