|
|
Joined: Apr 2002
Posts: 24
Junior Member
|
Junior Member
Joined: Apr 2002
Posts: 24 |
Hi. I want to modify the PMSystem from jordo a little bit, but it doesn't work [/code]If the Cookie is "0" (zero) then the color (later with this color the Digit is printed) should be "#ffffff" anf if not then the color should be "#ff0000"... why this doesn't work ??
This is the part, where the Text is printed: [code]
|
|
|
|
Joined: Apr 2002
Posts: 111
Member
|
Member
Joined: Apr 2002
Posts: 111 |
First of all we need to line up your checks Secondly, if you're doing 1 lines in if then else then you dont need the curlys.
|
|
|
|
Joined: Apr 2002
Posts: 24
Junior Member
|
Junior Member
Joined: Apr 2002
Posts: 24 |
this doesn't work too, NOTHING is printed again...
|
|
|
|
Joined: Apr 2002
Posts: 111
Member
|
Member
Joined: Apr 2002
Posts: 111 |
hehe I see whats wrong now, we're blending perl with js give that a whirl. EDIT: of course I spot something wrong stright away
|
|
|
|
Joined: Apr 2002
Posts: 24
Junior Member
|
Junior Member
Joined: Apr 2002
Posts: 24 |
I tried and tried, and SO it works:
[code][/code]Thank you very much...
but I need the "{" and "}", without it doesn't work.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|