Search Results

Showing results 1 to 38 of 38
Search took 0.01 seconds.
Search: Posts Made By: brechtjah ; Forum: JavaScript / DHTML / AJAX and child forums
Forum: JavaScript / DHTML / AJAX 34 Days Ago
Replies: 3
Views: 382
Posted By brechtjah
Hey thanks, that's great! It now creates extra instances of the same class. What I'd like to do next is for this to go automatically, say every 5 seconds or so an extra instance gets created of of...
Forum: JavaScript / DHTML / AJAX Nov 18th, 2009
Replies: 3
Views: 382
Posted By brechtjah
Hey there everyone
I'm a bit troubled with something I'm trying to construct, I'm trying to create an object that can reproduce itself, creating more objects that can be accessed also, to reproduce...
Forum: JavaScript / DHTML / AJAX Mar 19th, 2009
Replies: 1
Views: 921
Posted By brechtjah
Hi,
I'm trying to create a chat with some code I downoaded of the web and altered a bit. The updating works as long as i'm not opening up another tab page in my browser or as long as i'm not...
Forum: JavaScript / DHTML / AJAX Dec 18th, 2008
Replies: 3
Views: 2,350
Posted By brechtjah
Here, this should fix it:
EDIT: I don't know why you used an array by the way, and note the change I did with your switch case to see how it works with your buttons.


<!DOCTYPE HTML PUBLIC...
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008
Replies: 3
Views: 1,141
Posted By brechtjah
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<style type="text/css">
.wrapper {
margin: 0px 0px 0px 0px;...
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008
Replies: 3
Views: 1,141
Posted By brechtjah
Nevermind, fixed it myself, code coming after some cleanup.
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008
Replies: 1
Views: 549
Posted By brechtjah
window.print() does not start the printing, but it shows the dialog for the user to print. So you cannot check wether the file has been printed, only if the button "Print" has been pressed.
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008
Replies: 7
Views: 2,157
Posted By brechtjah
All those comment rules are a VERY bad idea. Removing them should solve your problem.
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008
Replies: 4
Views: 1,985
Posted By brechtjah
There you go;
http://al-habib.tripod.com/hijricalendar/hijricalendartext.htm
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008
Replies: 3
Views: 1,141
Posted By brechtjah
Hi,
I'm trying to create an expandable content box for forum purpose, however the code I've come up doesn't work in IE, but it is valid HTML 4.01 Strict. Anyway, if I'm handling this problem the...
Forum: JavaScript / DHTML / AJAX Dec 15th, 2008
Replies: 7
Views: 2,157
Posted By brechtjah
I can't open up your website,
before I take a look into your site I can tell you that most likely you're website is not valid, or doesn't even have a doctype. Therefore it is being rendered in...
Forum: JavaScript / DHTML / AJAX Dec 15th, 2008
Replies: 1
Views: 814
Posted By brechtjah
I'll need to see the code YOU are using to check it for errors...
Forum: JavaScript / DHTML / AJAX Dec 14th, 2008
Replies: 19
Views: 4,961
Posted By brechtjah
Great to hear that! :)
Good luck on learning Javascript
Forum: JavaScript / DHTML / AJAX Dec 13th, 2008
Replies: 19
Views: 4,961
Posted By brechtjah
What you could do is give each checkbox an ID and go by that ID instead of the name, then you can get the name of that checkbox because you have it's ID:



<input type="checkbox" id="checkBox1"...
Forum: JavaScript / DHTML / AJAX Dec 12th, 2008
Replies: 19
Views: 4,961
Posted By brechtjah
That depends on what's in $new['studentId']. Is it a number? I'm guessing it is, and how many do you have, in my example there are 5 checkboxes in the form. If your studentId's follow each other up...
Forum: JavaScript / DHTML / AJAX Dec 12th, 2008
Replies: 3
Views: 1,143
Posted By brechtjah
Yes that is very much the problem : ) You have to give each selectbox a unique name.

Please also make sure you changed the whole thing:
<script type="text/javascript">
and NOT
<script...
Forum: JavaScript / DHTML / AJAX Dec 12th, 2008
Replies: 19
Views: 4,961
Posted By brechtjah
Excuse me, my previous post was indeed nonsense. This on the other hand should work:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>...
Forum: JavaScript / DHTML / AJAX Dec 12th, 2008
Replies: 6
Views: 713
Posted By brechtjah
I counted numerous quotation errors in your selectTimeSettings.php

<?php

$q=$_GET["q"];

ob_start();
session_start();
error_reporting(0);
include("config.php");
Forum: JavaScript / DHTML / AJAX Dec 12th, 2008
Replies: 1
Views: 587
Posted By brechtjah
Perhaps I do not fully understand what you want, if so just explain a bit further, but from what I've read I created this code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"...
Forum: JavaScript / DHTML / AJAX Dec 9th, 2008
Replies: 2
Views: 677
Posted By brechtjah
What about the image file name, have you copied the image and adjusted the adress to it?
Otherwise I wouldn't really know since you just copied the code.
Forum: JavaScript / DHTML / AJAX Dec 9th, 2008
Replies: 4
Views: 1,408
Posted By brechtjah
So you want a script to
1 Access the database
2 Get quotes
3 Display random quotes

Seems pretty straight forward to me, no AJAX needed actually, only if you want random quotes to appear every...
Forum: JavaScript / DHTML / AJAX Dec 9th, 2008
Replies: 3
Views: 1,995
Posted By brechtjah
1. onreadystatechange Event
Fires when the readyState method changes.

2. In your httpd.conf file in xammp/apache/conf
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
#...
Forum: JavaScript / DHTML / AJAX Dec 9th, 2008
Replies: 19
Views: 4,961
Posted By brechtjah
function checkCheckBoxes() {
var i;
var isOneChecked = false;
for(i=0;i<5;i++) {
if(checkBoxCountry[i].checked) {
isOneChecked = true;
}
}
return...
Forum: JavaScript / DHTML / AJAX Dec 9th, 2008
Replies: 3
Views: 905
Posted By brechtjah
After some heavy googling I came up with this; however the IE part does not work I'm afraid, in my IE it always returns false. I have been trying quite everything, but I don't know that much about...
Forum: JavaScript / DHTML / AJAX Dec 8th, 2008
Replies: 1
Views: 1,579
Posted By brechtjah
When I try to access http://www.airedale911.org/gen_validatorv31.js it says "The system cannot find the file specified."
Maybe that is where your problem lies, otherwise I'll have to see that code...
Forum: JavaScript / DHTML / AJAX Dec 8th, 2008
Replies: 3
Views: 905
Posted By brechtjah
I'm not sure how you are going to check for that application so I just corrected some of your code and made it redirect, mind you that now the user doesn't have the needed application by standard. If...
Forum: JavaScript / DHTML / AJAX Dec 8th, 2008
Replies: 3
Views: 1,143
Posted By brechtjah
<SCRIPT LANGUAGE="Javascript"> is depreciated, use type instead:
<script type="text/javascript">
capital tags are not needed by the way, just so you know : - )

Your problem probably lies here:
...
Forum: JavaScript / DHTML / AJAX Dec 8th, 2008
Replies: 4
Views: 1,408
Posted By brechtjah
This shows you how to create a random number in Javascript:
http://www.javascriptkit.com/javatutors/randomnum.shtml

That random number would allow you to go trough your array of quotes. That...
Forum: JavaScript / DHTML / AJAX Dec 8th, 2008
Replies: 3
Views: 1,995
Posted By brechtjah
1. XMLHttpRequestObject.status returns HTTP status codes; if it returns a 200, which you check for here, that means that everything is OK.
See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html...
Forum: JavaScript / DHTML / AJAX Dec 8th, 2008
Replies: 19
Views: 4,961
Posted By brechtjah
onclick="if(this.checked == 1) { alert('checked: '+<? echo $newArray['id'];?>); }"


Hopefully this is what you want : - )
Forum: JavaScript / DHTML / AJAX Dec 6th, 2008
Replies: 19
Views: 4,961
Posted By brechtjah
I should stop writing my posts so late, anyway
Looking back at my previous post I don't even think you HAVE to give them a unique ID to be able to iterate trough them. ID is there to give each...
Forum: JavaScript / DHTML / AJAX Dec 6th, 2008
Replies: 1
Views: 526
Posted By brechtjah
Can you add that full page's code to a reply please...
Forum: JavaScript / DHTML / AJAX Dec 6th, 2008
Replies: 19
Views: 4,961
Posted By brechtjah
What you need to do in PHP is give each checkbox an individual ID then,
as in:

echo "<input type='checkbox' id='checkbox".$i."' name='".$checkboxName."'>&nbsp;</input>";


Now you can iterate...
Forum: JavaScript / DHTML / AJAX Dec 5th, 2008
Replies: 19
Views: 4,961
Posted By brechtjah
You can iterate trough forum controls with Javascript

var i;
for(i=1;i<18;i++) {
document.formPermissions.elements[i].checked = 1;
}
Forum: JavaScript / DHTML / AJAX Dec 5th, 2008
Replies: 3
Views: 1,597
Posted By brechtjah
How about this:

<script type="text/javascript">
function checkit(formName, checkBox) {
var xx = document.formName.elements.checkBox;
xx.checked = 1;
}
</script>

<form name="myform">
Forum: JavaScript / DHTML / AJAX Dec 5th, 2008
Replies: 1
Views: 1,194
Posted By brechtjah
I'm trying to create a website navigation with moving images. However, I seem to have a bit problems with it as it bugs out sometimes.

This is my code:

<script...
Forum: JavaScript / DHTML / AJAX Nov 22nd, 2008
Replies: 1
Solved: Dynamic ID
Views: 1,281
Posted By brechtjah
Solved it myself
Forum: JavaScript / DHTML / AJAX Nov 22nd, 2008
Replies: 1
Solved: Dynamic ID
Views: 1,281
Posted By brechtjah
Hi,
I'm creating the layout for a dynamic webshop, all pictures are getting dynamic IDs to have their elements changed. I'm currently having errors with the code below and have no idea why.

the...
Showing results 1 to 38 of 38

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC