Click here to Skip to main content
Page 1 of 15
Page Size: 10 · 25 · 50


Author filtered by: Graham Breach [x]
Answer 11 May 2013   license: CPOL
Use CSS @media print or a print stylesheet to hide the button when it is printed. That way it will be hidden on the printout whether the button is used to print or not.See http://reference.sitepoint.com/css/at-media[^] and http://reference.sitepoint.com/html/link/media[^] for details.
Answer 7 May 2013   license: CPOL
Because you started the name of your callback function with "_". Try changing the name to "rules_accept" and take out the extra "_" to make it "callback_rules_accept".
Answer 3 May 2013   license: CPOL
You can't. You have to translate the mouse position into a position on your canvas, then determine whether that position is inside or outside your figure. The isPointInPath function[^] should help you out.Or you could use a library to do all the hard work for you:...
Answer 29 Apr 2013   license: CPOL
There are a couple of things that you have to fix here. The first is a missing ]]> at the end of the script block to close the
Re: jQuery Question by Graham Breach
Forum Message 26 Apr 2013  
That is the attribute contains selector[
Answer 12 Apr 2013   license: CPOL
You could do it with a regular expression, either in Javascript or PHP:Javascript version:function removeSpaces(ctrl){ var s = ctrl.value; ctrl.value = s.replace(/\s+/g, ' ');}
Forum Message 11 Apr 2013  
Looks like a weird browser bug to me. I've had a play with your script and found an ugly workaround by blurring the select box in the onchange handler: document.forms[0].sel.on
Forum Message 10 Apr 2013  
The easy way is to use the POST method instead of GET for your form.
Answer 5 Apr 2013   license: CPOL
It's the CSS 3 general sibling selector: http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#general-sibling-combinators[^]
To provide bg color to tag by Graham Breach
Answer 4 Apr 2013   license: CPOL
Hyphenated CSS attributes have to be converted into camel case when using Javascript:function colorValue(){ var activeCompletedOnHold = form.active_Completed_OnHold.value; if(activeCompletedOnHold=="Active1") { this.style.backgroundColor='#347C17'; } else...
Re: Slide show by Graham Breach
Forum Message 21 Mar 2013  
You have removed the code from inside the "slideit" function, so now there is no way for it to repeat and the setTimeout(slideit, 3500) is trying to call a function that doesn't exist.
Answer 10 Mar 2013   license: CPOL
If you want a bitmap font, Fony[^] is quite a good editor.You can use fonts without installing them with AddFontResource[^] or one of the related functions.
Forum Message 5 Mar 2013  
I don't know of any decent books, but W3Schools covers everything you need to get started: http://www.w3schools.com/[
SQLite Database in c++ by Graham Breach
Answer 4 Mar 2013   license: CPOL
You need to check all of the "error" return values from the functions. Apart from that, you create a table called "example", then try to insert into a table called "exampe".
Forum Message 3 Mar 2013  
If you have it as a string, then parsed = JSON.parse(yourString) will convert it to an Object. Then you can access the parts you want as parsed.result_WarningMessage and
working on array in php by Graham Breach
Answer 2 Mar 2013   license: CPOL
There is a list of them in the PHP manual: Array functions[^]
PHP
Answer 25 Feb 2013   license: CPOL
You have an extra closing parenthesis ")" in your first for loop: if ($("#categories_terms_root" + i)).val() == '') {Should be: if ($("#categories_terms_root" + i).val() == '') {
Using JScript on server side by Graham Breach
Answer 22 Feb 2013   license: CPOL
You could take a look at node.js: http://nodejs.org/about/[^]
Forum Message 13 Feb 2013  
Replace the double-quotes in your comparison with single-quotes. In C and C++, double-quotes mean a pointer to a string of characters, but single-quotes mean a character literal.
Forum Message 7 Feb 2013  
What does the error message you got from mysql_error() say? If you converted the outer quotes to double-quotes, did you then single-quote the values in the query?
Forum Message 7 Feb 2013  
You should use mysql_error() to see the reason why the query failed, but my guess is that it will say something like "table $database.Emp_Details does not exist". You have used single
Answer 6 Feb 2013   license: CPOL
The month value has to be inside the form if you want it sent to the server. Either move the drop-down inside the form tag, or increase the area of the form to take in the drop-down.Another option is copying the value from the drop-down into a hidden field inside the form using Javascript,...
PHP
Forum Message 5 Feb 2013  
If that is your actual private key file, then it is not private anymore.
Answer 30 Jan 2013   license: CPOL
Element resizing events are not well supported by browsers, so you would be better off using the window resize event.Take a look at the QuirksMode compatibility chart: http://www.quirksmode.org/dom/events/resize.html[^]
Answer 26 Jan 2013   license: CPOL
I think the problem in your rule is the \$ matching a literal "$" sign, when it should be just $ to match the end of the string.Take a look at the URL rewriting guide[^] for some decent examples.

Page 1 of 15
1 2 3 4 5 6 7 8 9 10


Advertise | Privacy | Mobile
Web04 | 2.6.130513.1 | Last Updated 15 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid