Web Development Questions That Don't Need Their Own Thread v2
3,079 replies, posted
Use z-index: 5; - should work.
[QUOTE=kragmars102;33498639]Use z-index: 5; - should work.[/QUOTE]
I'll try that when I get back to class, thanks.
EDIT: I just tried it on a little test page I just made, confirmed working. Thanks a ton more.
All good! :)
[QUOTE=ManningQB18;33497904]One more little question, what is ::hover? I know of :hover, but not ::hover. I can't google it because google thinks the ':'s are operators.[/QUOTE]
:: is for pseudo-elements (like ::first-letter, ::before, etc.) while : is for normal selectors. But that's just a naming convention, either method works (Although it's neater and shows you're not dealing with a real element in the selector)
[t]http://dl.dropbox.com/u/5003648/Untitled-3.png[/t]
How would I go about making that in CSS/HTML? There isn't really a big range of information across the net that teaches you how to design well using CSS.
[editline]30th November 2011[/editline]
I think I'll just take a shot at doing it with images and hope it doesn't go horribly wrong
is [QUOTE]<img src="image.jpg" onmouseover="javascript:this.src='image2.jpg';" />[/QUOTE] a better way of making a rollover than using CSS? some opinions would be nice.
[QUOTE=zzlawlzz;33507161]extreme php code[/quote]
Oh bloody hell. You're all writing long pieces of PHP code and I'm asking about rollover images. I feel dumb.
[QUOTE=Votix;33507194]is a better way of making a rollover than using CSS? some opinions would be nice.
Oh bloody hell. You're all writing long pieces of PHP code and I'm asking about rollover images. I feel dumb.[/QUOTE]
I personally would use functions.
[QUOTE=Votix;33507194]is a better way of making a rollover than using CSS? some opinions would be nice.
Oh bloody hell. You're all writing long pieces of PHP code and I'm asking about rollover images. I feel dumb.[/QUOTE]
Inline javascript is bad, so no that's not a good way to do it. Do it in your CSS. CSS is for presentational code, and that's what a rollover is.
-snip- fixed it
[QUOTE=zzlawlzz;33507161][php]uh[/php]
My cpu usage is 100% ... :v:
what have i done.
[editline]30th November 2011[/editline]
loops, loops everywhere[/QUOTE]What is it that you're trying to do?
How hard is javascript to learn? Versus, say, CSS? I'm getting better at CSS very quickly and I'm wondering how soon I should pick up javascript and how long it will take.
[QUOTE=Octave;33510296]What is it that you're trying to do?[/QUOTE]
i'm trying to make a script that simplifies equations.
Alright, Totally confused now. What is wrong with this CSS? When I hover over it, it moves instantly instead of over the course of 2 seconds. I'm using the latest public release of chrome and I haven't optimized it for other browsers because of this.
[code]
.menuitem {
transition: width 2s background-color 2s;
-webkit-transition: width 2s background-color 2s;
z-index: 5;
float: left;
margin-top: 50px;
background-color: #C00;
box-shadow: -10px 10px 10px #333333;
-webkit-box-shadow: -5px 10px 6px #333333;
width: 120px;
height: 50px;
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
.menuitem:hover {
width: 250px;
background-color: #FFF;
}
[/code]
EDIT: Fixed, I have no idea what I did wrong here, but I tried copying the code from w3schools and it started working
[QUOTE=zzlawlzz;33511565]i'm trying to make a script that simplifies equations.[/QUOTE]
Yeah but I feel like theres a simpler way to do that, I mean you're matching against the same regexp every time and then decrementing the divisor by one... why not just put that into a loop with a loop counter that decreases each time...
isn't there a whole thing against w3schools
[QUOTE=Ac!dL3ak;33512118]isn't there a whole thing against w3schools[/QUOTE]
Yeah, though I don't see why. It has helped me so much.
[QUOTE=mobrockers2;33512133]Yeah, though I don't see why. It has helped me so much.[/QUOTE]
really? When I tried to learn from w3schools, i really learned nothing... Well, I guess that was when I was trying to learn php and such.
To say the truth, I don't think I learned html and css from places like w3school or htmldog. I learned it by copy and pasting. :v:
[QUOTE=mobrockers2;33512133]Yeah, though I don't see why. It has helped me so much.[/QUOTE]
[url]http://w3fools.com/[/url]
That should help.
[QUOTE=raBBish;33512191][url]http://w3fools.com/[/url]
That should help.[/QUOTE]
I do agree that they should not pretend to be the W3C and their certifications are pretty much bullshit, but most of that is stuff is pretty minor. I'm going to continue using W3Schools until I find a central resource that has more information and ways to learn it. I've learned all of my CSS knowledge from there and I'm turning out pretty well.
-snip- nevermind
[QUOTE=ManningQB18;33512989]I do agree that they should not pretend to be the W3C and their certifications are pretty much bullshit, but most of that is stuff is pretty minor. I'm going to continue using W3Schools until I find a central resource that has more information and ways to learn it. I've learned all of my CSS knowledge from there and I'm turning out pretty well.[/QUOTE]
There are way better sources listed right on that page.
For general learning:
[url]http://dev.opera.com/articles/view/1-introduction-to-the-web-standards-cur/#toc[/url]
[url]http://code.google.com/edu/submissions/html-css-javascript/[/url]
General reference:
[url]http://reference.sitepoint.com/css[/url]
HTML learning and reference:
[url]http://www.w3.org/community/webed/wiki/HTML[/url]
General reference, excellent for JS:
[url]https://developer.mozilla.org/en-US/docs[/url]
First time I've put together a portfolio, how does it look?
[url]http://ortz.org/portfolio/[/url]
Am I missing anything? Would you hire me if you saw this? I'm afraid that some of the wording is crappy or unprofessional but I want to see if anyone notices.
[QUOTE=zzlawlzz;33511565]i'm trying to make a script that simplifies equations.[/QUOTE]
you've got a [i]looong[/i] road ahead of you buddy
[editline]1st December 2011[/editline]
also [url=http://charlie.bz/maths/parser.js]parse properly[/url]
[QUOTE=Ortzinator;33517625]First time I've put together a portfolio, how does it look?
[url]http://ortz.org/portfolio/[/url]
Am I missing anything? Would you hire me if you saw this? I'm afraid that some of the wording is crappy or unprofessional but I want to see if anyone notices.[/QUOTE]
It's difficult to locate the content you're after, as it's all mashed vertically onto one page with no kind of navigation or visual cues.
trying to find out how to use regex :tinfoil:
[code]'/^\.?\d+(((\.?|\/?)\d*)?(\^?\d*(\.?|\/?))?\d*)/'[/code]
would this work for decimals, fractions, and powers?
. = decimal
/ = fraction
^ = power
Been looking at getting a VPS, I'm constantly checking lowendbox but nothing has really poped up, I'm looking for probably 512mb RAM, Disk space doesn't affect me too much, and bandwidth; a decent amount really, I've always gone with plans that have unlimited so I'm not too sure on usage. FanaticalVPS looked pretty decent or dotvps.net, what would you guys recommend?
I could've sworn there was a thread with recommended hosts but I can't find it.
Fanatical
[editline]1st December 2011[/editline]
there probably was but garry deletes everything in this section after a month without a post
the last one in this section is 4 weeks ago...
It's probably going to be deleted soon.
Sorry, you need to Log In to post a reply to this thread.