Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

CSS and Links

10 years ago
Okay, so I have this in one of my scripts:

$PAGETEXT := " style:a:link {
color: black;
font-family: 'Times New Roman';
}

a:visited {
color: black;
}

a:hover {
color: black;
text-decoration: underline;
}"

It is supposed to change the style of links in the actual page of my story (which act only as show/hide links), but it affects the "story" links too. How can I remedy that?

CSS and Links

10 years ago

You know, you should probably only use the site's advance forum to ask about the site's scripting, unless you know an abundant of people on this site who's familiar with CSS- otherwise, you're not going to get much replies. I recommend stackoverflow.com for asking any CSS related questions, or really, any type of code related questions. 

CSS and Links

10 years ago
Berka
BradinDvorak
Killa, possibly

This is a question specific to the use of the site's scripting language and CSS in conjunction.

CSS and Links

10 years ago

Try giving the links a class like "<a class='showhide'>" and then using "a.showhide:link" and so on.

CSS and Links

10 years ago
Hmm...I'll try that.

Edit: Okay, it worked. I'll play around with it a little, now. Thank you very much.

CSS and Links

10 years ago
@BradinDvorak

CSS and Links

10 years ago

No problem.

CSS and Links

10 years ago

Ah Bradin, I always love visiting your profile page. Already in the holiday mood?

@BradinDvorak

CSS and Links

10 years ago

Well, at the very least everyone around me seems to be. I figure December should get a pretty large chunk of time dedicated to a theme.

CSS and Links

10 years ago

Oh, have you even been working on your stories? Or are they in stasis at the moment. They seem genuinely interesting concepts and in my honest opinion, we don't have enough quality games on dragons.

CSS and Links

10 years ago

I can't say any of them are being given an active effort. Problem is I've kept telling myself "this is getting too complex; maybe I should try and make a simpler one first" and now I have four in the works. I have been writing a little here and there (mostly on Google Drive), but for the near future I can only see one, if any, being released.

CSS and Links

10 years ago

I'm having trouble getting my own idea out onto paper. Well actually, the story itself was written in novel form a long while back, but its the fact that I have to add the element of choice into the equation. But yeah, I get what you're saying.

Question, where did you learn your HTML/CSS/Javascript? Just out of curiosity, online or did you learn from a book? 

CSS and Links

10 years ago

I actually learned the basics for HTML in fifth grade. The rest was online.

W3Schools is a great help, Stack Overflow is good for troubleshooting, and even general web searches for what you're looking to do can get you pretty far.

CSS and Links

10 years ago

Yeah, I started out Freshmen year with Code Academy and Khan Academy. I never got used to W3Schools though, so I mainly used it as a reference. Stack Overflow was a savior when I was finishing up my website.

CSS and Links

10 years ago

Oh and one last quick question. I have trouble finding resources (such as the video of the snow falling seen on your profile page), and I don't know how to create anything even as simple as that. So where did you find your resources? Or do you create you own.

CSS and Links

10 years ago

The snow happens to be something I made myself (After Effects), but for other resources I usually just search Google. I think for the Halloween video I just searched "smoke loop" or something.