Styleclass and You: An Introduction
Forum Index > PokéFarm > Guides >
I mean change colors when hovering over the link.
- Articuno UFT
- Featured Story
- Adoption Gachapon
- Journal
- Shop
All non-shiny Articuno are UFT I hatch!
Price:100k cr/100gp/30zc Each
Okay,I'm going on vacation.Protect the town,alright?
Okay then master.
5 mins later
BACON PARTYYY!!!
Featured StoryQUOTE originally posted by Kate1998
I mean change colors when hovering over the link.
icarus. 26. they/he. journal. trade shop. avatar. i collect normal modests & S/A hasties, naives and timids. check my about me for the summons i'm buying! | |
credit |
---|
Thanks!
Mm, I apologize if this is stated directly somewhere and I've missed it, and I'm guessing that I already know the answer to this, and that it's a negative. But I figured it couldn't hurt to at least ask in case I'm missing something. Essentially: is there any way to, like... use HTML? Even just typing that out makes me realize what a foolish question it is LOL but oh well. Like obviously being able to use CSS opens up a ton of possibilities and even putting other BBCode aside, the styleclass tag can essentially function as a sort of rudimentary div (even if there are some obvious differences between that and an actual <div> element), which is neat-o. But there are some things that I'd like to do that would require HTML to work the way I need them to. So I'm wondering if by some miracle styleclass somehow allows for the usage of certain HTML elements (and their associated attributes) like <input> or <button>. Because I'm gonna go out on a limb and guess that something like [styleclass="name" input type="checkbox"] isn't a thing because the code Just Doesn't Work Like That At All.
Just writing that out was pretty much enough to confirm my own suspicions so I apologize for the question that I now realize is useless, but I probably won't be able to stop thinking about it (or holding onto the hope that this is possible through some basic method that I've completely overlooked) until someone can say that Yeah Sorry This Isn't A Thing. So if someone who actually knows what they're doing wrt PokeFarm code could confirm this for me (or, even better, tell me that I'm wrong.....) that'd be appreciated! Thanks for your time.
avatar by dorgoat!
You can't use CSS to insert/modify HTML elements. styleclass only allows you to set the class attribute i.e. [sc=class1 class2][/sc] becomes <div class='class1 class2' />.
No need to apologise for any question, it's not stupid at all.
Avatar by Kaelwolfur.
Sent from my PokéNav
I have a little question.How do you use styleclass with tabbed interfaces?
QUOTE originally posted by Kate1998
I have a little question.How do you use styleclass with tabbed interfaces?
- Header 1
- Header 2
Content 1
Content 2
CSS
.tabbed_interface > ul > li.tab-active{
color: white;
background: red;
}
.tabbed_interface > ul > li{
color: white;
background: blue;
}
.tabbed_interface > div.tab-active{
background: black;
color: white;
}
PFP/BG/IMG from Golden Sun
Code Collection
Thanks!
nvm, figure out screwup
cy/fev. he/they pronouns. find me at @scorkaji on discord if you need me
avatar from Hazbin Hotel s1e8 pkmnpanel code
King's Shield
Forme-Change Item
(: 0)
A mysterious shield that enervates attackers. Aegislash could make good use of this.
Sells for 500
Likes:
Bitter food
27%
Calm nature
avatar from Hazbin Hotel s1e8 pkmnpanel code
What's the css for tabs?
EDIT: nvm, just looked up like two posts xD
Wanted Shinies
Yamask
Galarian Yamask
Ferroseed
Rufflet
Bunnelby
Swirlix
Cutiefly
Passimian
Dhelmise
Indeedee M
Indeedee F
Meltan
Nidoran F
Burmy F(3)
Pumpkaboo (Small, Average, Large)
Quibbit(Magma)
Quibbit(Charged)
Salandit F
Illumise
Wanted Albinos
Pumpkaboo (Small)
Illumise
Galarian Yamask
Cannot post: Please log in to post