Forum: JavaScript / DHTML / AJAX Apr 15th, 2009 |
| Replies: 3 Views: 1,656 Nobody have experiences with this? |
Forum: JavaScript / DHTML / AJAX Apr 8th, 2009 |
| Replies: 1 Views: 1,501 Seems like a debugging issue, have you tried a (JavaScript) debugger? With a debugger you can easily step through the code, and see which variables are filled with what values, and when they change.... |
Forum: JavaScript / DHTML / AJAX Mar 2nd, 2009 |
| Replies: 1 Views: 1,405 No thanks for the replies :-) after two days of struggling I figure out how it works. Also No thanks to the wiki of github/Scriptaculous!! - very incomplete.
My script to get it work:
function... |
Forum: JavaScript / DHTML / AJAX Feb 27th, 2009 |
| Replies: 1 Views: 1,405 I am working on a site that must drag and drop items, I use scriptaculous 1.8.2, effects, dragdrop.js.
See the picture of the website:
http://http://www.freeimagehosting.net/uploads/a5e185062a.jpg... |
Forum: Pascal and Delphi Feb 18th, 2009 |
| Replies: 2 Views: 788 Thanks for the answer. I have searched around on the internet after posting this new thread, and saw that Indy is the way to go. I have now a working Client/Server very funny! :)
-- I use Delphi 7... |
Forum: Pascal and Delphi Feb 12th, 2009 |
| Replies: 2 Views: 788 I have a Client and a server application, very simple code and it is working.
But with the client, I can send one time a message, do I want another, it does not appear at the server. No response,... |
Forum: JavaScript / DHTML / AJAX Dec 12th, 2008 |
| Replies: 3 Views: 1,536 Thanks guys, you two solved my whole problem! |
Forum: JavaScript / DHTML / AJAX Dec 5th, 2008 |
| Replies: 3 Views: 1,536 Hello people,
I want that when I mouse over a checkbox, that it is checked.
I have now the following code:
<script language=javascript>
function checkit(myform, name)
{ |
Forum: JavaScript / DHTML / AJAX Oct 9th, 2008 |
| Replies: 12 Views: 4,520 Langsor, much thanks I cannot test the code now, but I test it within a week, and then I post if it is working.
Much thanks for taking time, you hear from me! |
Forum: HTML and CSS Oct 9th, 2008 |
| Replies: 7 Views: 5,458 First you all thanks for the help, and showing methods to solve this problem.
Thanks to david_a_smith, I used a big part of his code, and it is working now.
Lastly, the most thanks goes to... |
Forum: HTML and CSS Oct 3rd, 2008 |
| Replies: 7 Views: 5,458 Thank you for your reply!
But I have to say, I dont want to center the content of a div down the crm-content div.
I want that the whole crm-content div itself is centered. Just in the middle of... |
Forum: JavaScript / DHTML / AJAX Oct 2nd, 2008 |
| Replies: 12 Views: 4,520 Anyone has the time to look at this problem, its just not solved right now.
Thanks in advance |
Forum: HTML and CSS Oct 2nd, 2008 |
| Replies: 7 Views: 5,458 Hello,
I have a main div, with two divs in it:
- Main div
---- div title
---- div content
And now I want to center the content div and title div in the main div, and its really anoying... |
Forum: JavaScript / DHTML / AJAX Sep 26th, 2008 |
| Replies: 12 Views: 4,520 Langsor,
I very sorry, but I must ask you again:
I have a form with different selects, some selects of that form must be not autoscrolled, such as not-multiple selects.
When I edit the code,... |
Forum: JavaScript / DHTML / AJAX Sep 20th, 2008 |
| Replies: 12 Views: 4,520 I am so sorry langsor, I have now tested your code (my project has a month stopped) and it works like a sharm!
Thanks for this Langsor, I am going to learn JavaScript too, because I see its a nice... |
Forum: JavaScript / DHTML / AJAX Aug 29th, 2008 |
| Replies: 12 Views: 4,520 I have changed: this.submit(); to form.submit(); and now it works how it must be! But only in Firefox :s
I have Internet Explorer no errors, but it does not scroll to the latest position, thus it... |
Forum: JavaScript / DHTML / AJAX Aug 29th, 2008 |
| Replies: 12 Views: 4,520 Because when the form submits, another form gets changed, after the POST of the submit. And the scrolling is needed, because I have some multiple selects, that can have 30 or more items in it. The... |
Forum: JavaScript / DHTML / AJAX Aug 27th, 2008 |
| Replies: 12 Views: 4,520 Much thanks for it, it seems to work in Firefox, but not in IE.
Edit:Ouch! seems that it also does not work in Firefox! my mistake!
I have edited it to a simple example of my situation. Namely... |
Forum: JavaScript / DHTML / AJAX Aug 25th, 2008 |
| Replies: 12 Views: 4,520 Hello,
I am a bit a loser with JavaScript, but I found the following code to auto scroll a multiple select box to the last selected item.
Function autoscroll()
{
var lst = From1.Listbox1
if... |
Forum: MySQL Jul 11th, 2008 |
| Replies: 4 Views: 2,408 "SELECT *" e.g. select everything is always a bad idea.
To speed up, select only the things you want/need.
WOW! I look again at your query and cannot believe my eyes :D because you select... |
Forum: MySQL Jul 10th, 2008 |
| Replies: 11 Views: 3,042 You are right, but ELSE is not needed: http://dev.mysql.com/doc/refman/5.0/en/if-statement.html
So I changed the query to:
SELECT
IF (TIME(hour_end) > '21:00:00')
THEN... |
Forum: MySQL Jul 9th, 2008 |
| Replies: 11 Views: 3,042 2) returns:
2008-05-19 09:00:00
09:00:00
21:00:00
-12:00:00
.. and here more of course
I have set mysql to strict mode, but I dont get a better error with this query. My goal is to get... |
Forum: MySQL Jul 9th, 2008 |
| Replies: 11 Views: 3,042 @varmadba: that did not work.
@peter_budo: you know it was a little joke :icon_wink:
@tesuji: you are right, only the AS diff must outside the IF?
This code does not work:
SELECT
IF... |
Forum: MySQL Jul 8th, 2008 |
| Replies: 11 Views: 3,042 Code optimalisation:
SELECT
hour_id,
TIMEDIFF( TIME( hour_end ) , '21:00:00' ) AS diff1,
TIMEDIFF( TIME( hour_end_o ) , '21:00:00' ) AS diff2
FROM `hours`
WHERE (
TIME(hour_end) >... |
Forum: MySQL Jul 8th, 2008 |
| Replies: 11 Views: 3,042 Now I have this working query, but I preffer one result instead of two in the query below. And I would perform that with a IF else, but that is not working.
Here is the query:SELECT
hour_id, ... |
Forum: MySQL Jul 8th, 2008 |
| Replies: 11 Views: 3,042 hello, I try the following query:
SELECT IF TIME(hour_end) > '21:00:00' THEN timediff(time(hour_end),'21:00') AS diff ENDIF FROM `hours`
Why whould this not work?
Any help would be... |
Forum: Pascal and Delphi Jul 5th, 2008 |
| Replies: 1 Views: 873 Hmm somethimes I must realy lauch about myself, but Ive fix it! :)
I makes two mistakes, and the second one is maybe not a mistake.
1) it is initialization and finalization, I used an s.
2) I... |
Forum: Pascal and Delphi Jul 5th, 2008 |
| Replies: 1 Views: 873 I am following some exercises in Delphi in a Nutshell from Ray Lischner. Very easy to follow and readable.
He was explaining how units are working the following code:
program Units1_1;
uses
... |
Forum: MySQL Jul 3rd, 2008 |
| Replies: 1 Views: 1,111 It is solved, but I have it not solved in the query itself.
There where fields that has 0000-00-00 00:00 instead of 2008-02-05 00:00
Thus the build of my table was incorrect, so that MySQL cannot... |
Forum: MySQL Jul 3rd, 2008 |
| Replies: 1 Views: 1,111 Hello,
I try with the following query to calculate the working time of employees:
SELECT
TIME_FORMAT(
ADDTIME(
TIMEDIFF(TIMEDIFF(hour_end, hour_begin),(hour_pause)), ... |
Forum: MySQL Jul 3rd, 2008 |
| Replies: 3 Views: 1,586 You should never believe me, but I have used spaces in my query between the function name and the parenthesis (and then mysql says: function does not exist, because that extra space ' ' after the... |
Forum: MySQL Jul 3rd, 2008 |
| Replies: 3 Views: 1,586 When I try that, I get the same error, but without the '_'.
Can it be that my query is wrong?
Edit: I have checked and double checked that part of the query, but I do not find a wrong statement... |
Forum: MySQL Jul 2nd, 2008 |
| Replies: 3 Views: 1,586 Whats wrong with this query?
TIME_FORMAT(
DATE_ADD
(
TIMEDIFF(TIMEDIFF(u.hour_end, u.hour_begin),(u.hour_pauze)),
TIMEDIFF(TIMEDIFF(u.hour_end_o,... |
Forum: PHP Jul 2nd, 2008 |
| Replies: 9 Views: 769 Nav33n, I want to thank you for it. It took a longer time than I expected, before I realy implement it.
But anyway thanks.
Topic solved. |
Forum: PHP Jun 24th, 2008 |
| Replies: 9 Views: 769 I shall implement the code, and tell you when it works, maybe I do that tomorrow. |
Forum: PHP Jun 24th, 2008 |
| Replies: 9 Views: 769 Check here a picture of the problem. The items showed are coming from one while.
http://img70.imageshack.us/my.php?image=picturemf0.jpg |
Forum: PHP Jun 24th, 2008 |
| Replies: 9 Views: 769 My code is in Dutch, but I shall post it.
//////////////////////////////
////// RAPPORT OUTPUT ///////
//////////////////////////////
// Query maken
$qG = mysql_query($sG);
// While loop... |
Forum: PHP Jun 24th, 2008 |
| Replies: 9 Views: 769 I think I was not clear enough.
I shall post my code, to show the problem. My endgoal is written in an example list in my first post.
<?php
// While loop to fetch the result
while ($aG =... |
Forum: PHP Jun 23rd, 2008 |
| Replies: 2 Views: 812 I think you know how to retrieve data from the database. So I only post the code you are asking:
<?php
// Put here the database connection
$qOptions1 = mysql_query("SELECT * FROM Options1");... |
Forum: PHP Jun 23rd, 2008 |
| Replies: 3 Views: 1,474 Maybe google for: wamp server tutorial?
http://subliminalconfusion.net/?page_id=109 |