ChrisxClash
-
Php query insert to
Mario, Your first version of the query would have been wrong because of how you have it set up, but your second query looks just right. Anytime you need to insert, your final solution is the correct syntax. Good work!
-
z-index problem
Not a problem! Yeah, positioning can be a headache sometimes. I actually ended up going to Purdue for a bit, then switching to IUPUI when I realized I spent most of my time working and not using the campus, haha.
-
z-index problem
Hey, I almost went to Rose-Hulman, haha. Anyways, if it's the .slidecontent-shadow, just add position: absolute; rather than position:relative;
-
Check Session variable after every 2 sec.
Assuming you're talking about the php $_SESSION variable, you'd do what elneco said, but you'd have to ajax a separate php file and return the session information.
-
background position?
Ah alright, I just had it backwards. You probably already figured it out, but here why: background: url(url) repeat x-offset y-offset;
-
background position?
Instead of putting left, try: background: url(images/marker.png) no-repeat center 5px;And just play with the offset.
-
Keep Parent Item Active when Child Element is Current Page - CSS/WordPress
Wordpress adds the super helpful selectors that do that for you. Try doing this: .current_page_parent { // parent styling here } .current_page_item { // child styling here }This should work for any page that you're on. Edit: After looki…
-
Little question about responsive text.
Looks like juro already got all that out there for you. I threw together a codepen for another person if you wanted to see how it works. link: http://codepen.io/chrisxclash/pen/sBxvF
-
Little question about responsive text.
That's what I figured would happen, but I don't think they do in this case. I just attempted to size a div with %-sized font in it, and the font never changed sizes.
-
How Do I Stop SCSS (SASS) from Evaluating a Calculation?
Damn, my apologies man. I've rarely used the font tag (which I've been meaning to learn) so thanks for explaining that to me, haha. I was able to do a few searches and find out what you wanted. I think this should hopefully solve your prob…
-
Wanna get rid of a repeated image!
Can you post the website, or an example on http://codepen.io/ so we can see what's going on?
-
Little question about responsive text.
Yeah, that was my bad. All of this basically just gets the text to look the same in all browsers. I think media queries would be the best bet, but someone else may have a better solution.
-
How Do I Stop SCSS (SASS) from Evaluating a Calculation?
I just realized after playing in codepen, your original code isn't actually doing division. If you try and do: font: (1.5em/55px) Arial;You'll end up getting the same error. I've thrown together a quick codepen showing you a tiny fun…
-
Little question about responsive text.
Try adding these two rules: html { font-size: 10px; } body { font-size: 67.5%; }Then, try using 6em for your h1 size.
-
How Do I Stop SCSS (SASS) from Evaluating a Calculation?
I don't know if this will help or not, but I know when doing some math in SCSS/SASS, you need to have a space between some operators. Try this?: font: 1.5em / $barheight arial;
-
Email Confirmation
Hey guys, I threw together a super simple (and rather pointless) Chrome extension that removes the registration box anytime you're at http://css-tricks.com/forums. Felt like learning how to make extensions, so the link is below. link: http://d…
-
Custom WordPress Query for Custom Post Types
If you do a var_dump() on $rows and $rows2, are you getting all the information that you want? If you could show me what that outputs I might be able to help you loop through it. In case you've never used var_dump() before: var_dump($rows);
-
Custom WordPress Query for Custom Post Types
I'm still pretty basic at using wordpress custom posts myself, but I think the reason you're not seeing anything for the company is because you're storing the company metadata in the variable $rows2 = $wpdb->get_results($sql2); but…
-
Email Confirmation
I actually emailed Chris about this a while back. I'm sure he'll chime in, but he said they disabled the email verification for new accounts, but as for you and I, we're stuck with it unless we create new accounts.
-
Only show one conversation for each user
Ah alright, my bad. The easiest way I can think of would be to keep track of the conversation with an id, and then that way you can limit the number of results for each conversation to its ID with the newest result.
-
Flexible rollover image links
Can I see what one of the buttons look like? Might help a little bit with a solution. Otherwise, yeah that might be a possibility.
-
Only show one conversation for each user
Try changing your query to this: $getmsg = mysql_query("SELECT * FROM messages WHERE to_user = '$username' ORDER BY id DESC LIMIT 1");Limit 1 tells the query to only grab one result.
-
Flexible rollover image links
As far as I know, you can't have a variable width/height if you're trying to use an image. There's ways to make a simple sprite that will allow you a variable width, but if you want the height to change as well, then you'd have t…
-
Can you help me make my javascript more efficient
One thing you can do that makes jQuery so amazing is you can chain functions. So to start, try doing that. Anywhere where you use the same element multiple times in a row, do something like this: This: $('.settingsbox').slideUp('fast…
-
How to make this with help of css and javascript
What Paulie said, we need more information. Also, what's the colored progress around the outside for?
-
Facebook Pages
The content itself is just an iframe from a Facebook app. It looks like they went to http://developers.facebook.com/ and created an app, then they added that app to their group page. The app would then point to the website that you create and displa…
-
Google+ networking
Sounds like an awesome idea, sign me up! G+: https://plus.google.com/u/0/100368792646867177099/posts
-
How difficult would it be to make the content scrolling effect in this site?
Here's an example of it with it centered using the offset I showed you above. It waits until the section is directly centered to trigger it. link: http://codepen.io/chrisxclash/full/21/15
-
Is this a good forum for beginners?
@benzo, I love helping people with their problems, beginner or advanced. However, I agree with what @BenWalker said. You should take the time to research it to your extent and when you're all out of options, then it's always fine to ask. J…