Current Events > Anyone here good at Python? hmu

Topic List
Page List: 1
DoGCyN
05/25/21 4:19:21 PM
#1:


Cant seem to change the damn font color of an HTML link.

nuke.message('<a href='link'>)

Putting font color in front doesn't change them because it's a hyperlink. Am I screwed?

---
---
... Copied to Clipboard!
TeaMilk
05/25/21 4:22:57 PM
#2:


... Copied to Clipboard!
Kloe_Rinz
05/25/21 4:32:53 PM
#3:


Use css
... Copied to Clipboard!
CommonStar
05/25/21 4:35:13 PM
#4:


can't you just add the style attribute in the html line and set it to a hex color?
... Copied to Clipboard!
DoGCyN
05/25/21 4:46:36 PM
#5:


CommonStar posted...
can't you just add the style attribute in the html line and set it to a hex color?
Style doesn't work in Nuke's HTML. Or I should say it doesn't work in this context. Did try it.

TeaMilk posted...
wtf is nuke
Compositing program. Like After Effects except it's node based instead of layer based

---
---
... Copied to Clipboard!
DoGCyN
05/25/21 4:48:28 PM
#6:


Okay, it's really fucking annoying but

nuke.message('<a href='link'><font color = '+color+'>name of link</font></a>)

...worked. I could not put a color in the font color field for some reason, so I had to create a variable with the color instead. Which honestly, is what I should be doing anyway, but I'm curious why sticking "yellow" in there didn't work.

Now I have to copy and paste this 1000 times.

---
---
... Copied to Clipboard!
jon1012
05/25/21 4:51:34 PM
#7:


I got a python if u kno wut i maen

---
We are Borg.
... Copied to Clipboard!
Topic List
Page List: 1