gno
-
What is this type of database filtering called?
The only thing needed to do such a filtering on a relational database is basic knowledge of SQL. E.g. SELECT * FROM products WHERE (price > 100) AND (ram > 2000) AND (manufacturer == 'Intel') would come up with the results for your…
-
Use php (instead of .htaccess) to internally redirect to query string?
As Tcooper says, it's not entirely possible. On a traditional http-server setup URLs are a relative path to a given file on the server. When you write http://website.com/video/music-video it will look for a file or directory in the path webser…
-
Someone test this on an iPhone/iPad/iAnything please
@Mottie - If you are using a Mac you can get a iOS simulator by installing Xcode. It's available in the Mac appstore. With the iOS simulator you can emulate any iPhone or iPad you wish, right on your desktop. I own a iPhone, and I'm still…
-
Hand code a blog?
Most simple pages with blog elements can easily be build with WordPress. WordPress is blog-centric - but it can be used as a simple CMS for the static content pages. Even webshops and the like can be built with WordPress - it's only your imagin…
-
A reset for forms?
Thanks for the offer Karl. I've got it working the way I want, I just wanted to know if you guys had any special approaches to forms. There could be some little secret that I hadn't discovered yet :-)
-
MySQL Select: difficulties with ordering
When ordering results in SQL you can pass it multiple columns to sort by. An example set: id | color | name 1 | green | xyz 2 | blue | xzy 3 | red | yxz 4 | green | yzx 5 | blue | zxy Will when selected by: SELECT * FROM x OR…
-
MySQL Select: difficulties with ordering
You could still merge those two selects from your in-the-mind-solution into one. The keys are: ORDER BY date, time and use of nested selects and UNION :-)
-
MySQL Select: difficulties with ordering
As I understand it, the main problem is the inability to select both the last show of yesterday and all the shows today. Please excuse me if I'm off on this. The answer here is pretty simple - you need to perform a select from two queries comb…
-
html5shiv, JavaScript Libraries, etc: a question
@wolfcry911, The fallback method is indeed smart. But honestly, I cannot imagine a situation where it would be necessary. It's a matter of preference - using the fallback is just overkill in my opinion. I dont expect that any of the pages I…
-
html5shiv, JavaScript Libraries, etc: a question
The main reason to load stuff like jQuery from the Google CDN or similar places is that users that have visited a site which pulls the library from the same place wont have to download it again. It's less intensive bandwidth use for your websi…
-
Getting background to reach bottom of screen when displayed on larger monitors
You're right about the high and just as wide as the zig-zags top image. But I do not think that I understand the transparent thing... To do what I wrote you'll need two images. The top one should be as high as you want the top to be at i…
-
Getting background to reach bottom of screen when displayed on larger monitors
Having background images that big is a no-go. From what I can see on your screenshot the image could easily be made tileable both horizontally and vertically. You should crop the image into two parts - one being the darker grey top part which shou…
-
divs inside uls
whiteInkDesign is correct. It used to be bad, but as of html5 they changed that. So as long as you use the correct doctype, you should have any problems. At least not on any moderately modern browsers :-) Sometimes that is a valid concern though. …
-
Linking back to webdesigner's site
I would only do it, if it was something I did for free. You should be able to generate enough work for yourself with a good portfolio. Even if you had a link on 100 pages you did for clients, you would be lucky to get just 1 additional client. It i…
-
anyone with experience of live video streaming?
I'm not much into live video streaming - but - I'd say that you should aim for a solution where you stream to your viewers via a server somewhere so you're not running into uplink bandwidth issues. If you have a 3g dongle you'll…
-
Get the ID of the current page (Wordpress)
I got around it with a small hack. What I did was to use two loops on the same page. First one extracting the title (a the_title() with three arguments, two empty strings and a false boolean, to avoid it echoing) and using get_page_by_title() to ex…
-
How to find your first paying client
It's all about luck. I did one simple website for a friend of mine, who's a photographer. I've been overrun since then. :-) Start doing some sites for people you like, without charging. It even makes you feel nice to help ;-) Then if…
-
My first website
It is a really good first shot at webdesign :-) A few little things though: 1) The LightBox creates both vertical and horizontal scrollbars even though they are not there before you open it - in your gallery page. 2) I feel that the placement of…
-
Live chat.. Chris read this!
@Robskiwarrior & @soap - I know that I haven't been around too long, but I cannot recall any situations where people have flamed one another on this forum? ;-) While we're at the apologies - I'm afraid that we've buried the …
-
Live chat.. Chris read this!
@ChristopherBurton, My apologies for the misunderstandings. My point was just that a chat is not more vulnerable than anything else from a technical point of view - which was what I thought you said it was. @soap, The average Joe can be fooled... …
-
Live chat.. Chris read this!
@ChristopherBurton, then I must say that I fail to understand how that would be an argument against a chat service? -- I do not believe that a open, anonymous, on-the-site live chat is a good idea. Anyone can register on this site, and that is the…
-
Live chat.. Chris read this!
@ChristopherBurton, My only point is that a live chat itself is not a worse threat than a forum or comments on a blog. SQL injections can happen in any database based application and it is not an issue which is related to just live chats. A chat on …
-
css-tricks nav menu
The one thing that makes this tricky is that the current page tab is the wider one when no menu-item's is hovered. The basics could be accomplished, by CSS3 transitions, but you could do the same with jQuery. And jQuery is required to modify t…
-
Live chat.. Chris read this!
@ChristopherBurton, While I agree with you on the increasing security issues with the live chat, I must say that your argument with hackers bruteforcing passwords is not worse on a site with chat than it is on a regular forum like this. There should…
-
Wordpress listing subpages
look into the wp_list_pages function. something like: Current page id should be replaced with a variable containing the id of the current page. And to make it fool proof you should check if there is a result before starting the output. (Not output…
-
Make "div" visible while mouse hovering on a "a href"?
@ChristopherBurton, You are probably right about that. I guess I was a bit too fast... First, I'm pretty darn sure, that you cannot target elements using the +-combinator on elements with a specified state. I have just tested it, and I'm …
-
BUG anythingslider , video doesn't pause when slided!
Just because you move it around on your page it will not pause. I cannot figure out why you expect that to happen... You could probably make it happen by running some javascript stuff when the forward/next buttons are pressed. That bit of javascrip…
-
Make "div" visible while mouse hovering on a "a href"?
Jamy_za - wouldn't that target all divs that follow an a-tag in hover state? I'll bet my hat that it'll never work. If I were to build something like that I'd use jQuery. A little CSS for initiate state of the div. div.somecla…
-
Ems, Percent, Pixels, Points
When designing for smartphones I have found percentages to be a no-go. When you use ems or px it will scale as you expect, but %'s will mess it up. My personal experience is that it is not that important whatever you use, as long as you are co…