Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #1K
~14.3K People Reached
Favorite Tags

43 Posted Topics

Member Avatar for brechtjah

Hi I'm stuck wanting to create a dropdown, only supported by CSS. This is my current code: [code=php] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> <style type="text/css"> html, body { margin: 0px; } body { background-image: url('img/bottombackground.png'); } div.topbackground { width: 100%; height: 300px; background-image: …

Member Avatar for ramesh.joshi
0
546
Member Avatar for faizurrahman

There you go; [url]http://al-habib.tripod.com/hijricalendar/hijricalendartext.htm[/url]

Member Avatar for Airshow
0
1K
Member Avatar for 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 argument id is not null, however document.getElementById(id) is. I don't understand how that can happen :S …

Member Avatar for nagendrage
0
151
Member Avatar for brechtjah

Hello everyone I'm currently following a course "Game Development" where we learn everything from design to 3d drawing to programming. The language we use is C++, however I'd like to learn Java as well and have there for decided to create a large project (together with a number of other …

Member Avatar for cmliu2004
0
160
Member Avatar for 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 themselves. Each object would then be given a random name like: object1, object2 so they can be …

Member Avatar for Airshow
0
127
Member Avatar for brechtjah

Hi So... I've been reading up a little bit about cookies and security. Only to find that you should encrypt the data in them and that they can be hacked by using javascript code. Is this really the only way to hack/steal cookies? In my quest to create a safe …

Member Avatar for blocblue
0
124
Member Avatar for brechtjah

This site is not being rendered right in my current browser, Opera. The rounded corners appear a bit off. Just thought I'd mention this, I have the latest Opera version available, my OS is Ubuntu. See you :)

Member Avatar for jbennet
0
161
Member Avatar for will910

mysql_num_rows: Retrieves the number of rows from a result set. This command is only valid for statements like SELECT or SHOW that return an actual result set. To retrieve the number of rows affected by a INSERT, UPDATE, REPLACE or DELETE query, use mysql_affected_rows(). My guess would be that you're …

Member Avatar for rm_daniweb
0
274
Member Avatar for brechtjah

Hi everyone, because I've recently decided to try making a webgame, I've begun scripting an editor for it. However, I'm quite stuck on the little project and would like some help. The script works as follows, a directory of tiles is being read via PHP (however not alphabetically). These tiles …

Member Avatar for somedude3488
0
141
Member Avatar for brechtjah

Hi, I wanted to post my login system I will use for an upcoming site for rating. I want to ensure a safe login, so please, if you know anything about this and see a security leak somewhere... Please post, any remarks are welcome. How it works: the script generates …

Member Avatar for somedude3488
0
224
Member Avatar for swit

What is your output then? Also there appears to be a mistake in your query. I presume ID is a number, then there is no need for single quotes. So... [code]where id = '".$row['cid']."'[/code] becomes [code]where id = ".$row['cid']."[/code]

Member Avatar for rm_daniweb
0
145
Member Avatar for brechtjah

I can handle errors just fine on MySQL, but what about warnings? If I use the following code I still get to see the warning, while that is not what I want: [code=php] if(mysql_connect($host, $user, $pass)) { $conn_server = true; } else { $msg = "Fout bij verbinden naar de …

Member Avatar for brechtjah
0
153
Member Avatar for 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 ALT+Tabbing... Which seems kinda strange to me... Also, when …

Member Avatar for digital-ether
0
74
Member Avatar for webcherry

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 quirksmode and more things look different in other browsers.

Member Avatar for webcherry
0
196
Member Avatar for emilio

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. [code=html] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>javascript1</title> <script type="text/javascript"> function Init() …

Member Avatar for emilio
0
335
Member Avatar for 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 wrong way, please tell me how I should do it then. I have an …

Member Avatar for essential
0
161
Member Avatar for sanddy

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.

Member Avatar for brechtjah
0
70
Member Avatar for tripX
Member Avatar for brechtjah
0
37
Member Avatar for veledrom

You can iterate trough forum controls with Javascript [code=javascript] var i; for(i=1;i<18;i++) { document.formPermissions.elements[i].checked = 1; } [/code]

Member Avatar for brechtjah
0
159
Member Avatar for q8y_4u

You can't have a function that has the same name of your class, how can you tell what's what? You have some code outside the main function or any other functions, that doesn't seem right. Hope this helps ^^ :)

Member Avatar for AHUazhu
0
205
Member Avatar for linekill

This shows you how to create a random number in Javascript: [url]http://www.javascriptkit.com/javatutors/randomnum.shtml[/url] That random number would allow you to go trough your array of quotes. That array can be filled by reading from a file: [url]http://www.javascripter.net/faq/reading2.htm#top[/url] Although I suggest just filling an array in another .js file and then including …

Member Avatar for essential
0
182
Member Avatar for DorsetBloke

<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: [code=html] <DIV ID="countrydiv"> <SELECT NAME="Area" onchange="getSelect('Area', this.value,'Region','regiondiv');"> <OPTION>Country1</OPTION> <OPTION>Country2</OPTION> </SELECT> </DIV> <DIV ID="regiondiv"> <SELECT NAME="Area" onChange="getSelect('Area', this.value,'County','countydiv');"> </SELECT> </DIV> [/code] When …

Member Avatar for brechtjah
0
130
Member Avatar for SavyCat

I counted numerous quotation errors in your selectTimeSettings.php [code=php] <?php $q=$_GET["q"]; ob_start(); session_start(); error_reporting(0); include("config.php"); include("functions.php"); $cy = date("Y"); $connection = mysql_connect($hostname, $user, $pass) or die ("Unable to connect!"); $query = "select tz_pref from av.pilot_info where uid='".$SESSION_UID."'"; $result = mysql_db_query($database, $query, $connection) or die ("Error in query: ".$query." mysql_error()"); $tz_pref=mysql_result($result,$i,"tz_pref"); …

Member Avatar for brechtjah
0
114
Member Avatar for Bryan Fox

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: [code=html] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <style type="text/css"> #myDiv { width: 400px; height: 300px; background-color: #bbbbbb; overflow: scroll; } </style> <script …

Member Avatar for brechtjah
0
187
Member Avatar for kvdd

How about this: [code] <script type="text/javascript"> function checkit(formName, checkBox) { var xx = document.formName.elements.checkBox; xx.checked = 1; } </script> <form name="myform"> <input type="checkbox" name="mycheck" onMouseOver="checkit('myform','mycheck')" value="1"> Checking</input> </form> [/code]

Member Avatar for kvdd
0
2K
Member Avatar for javlonchik

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.

Member Avatar for javlonchik
0
77
Member Avatar for egbert

1. XMLHttpRequestObject.status returns HTTP status codes; if it returns a 200, which you check for here, that means that everything is OK. See [url]http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html[/url] for more info. I suggest you read this too: [url]http://www.modelworks.com/ajax.html[/url] 2. Have you changed any settings related to redirecting or port usage? I have changed my …

Member Avatar for brechtjah
0
3K
Member Avatar for chchiu

What a coincidence, someone wrote a topic about that yesterday, you can find it here: [url]http://www.daniweb.com/forums/thread161189.html[/url] Oh and your link is wrong, it has a h too much in it. It should be: [url]http://img168.imageshack.us/img168/7080/task3vn7.png[/url] Might want to read up on that program he wrote, it can give you some ideas …

Member Avatar for brechtjah
0
88
Member Avatar for elbuhleini

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 you want to change that, you'll have to call a function, which …

Member Avatar for brechtjah
0
112
Member Avatar for mibit

To help you out a bit more; To use cout you need to have iostream included #include <iostream> Also, don't forget to use system("pause"); because otherwise your console window will close immediatly and you won't be able to see your code running : - )

Member Avatar for brechtjah
0
576
Member Avatar for squarkman

When I try to access [url]http://www.airedale911.org/gen_validatorv31.js[/url] it says "The system cannot find the file specified." Maybe that is where your problem lies, otherwise I'll have to see that code in gen_validatorv31.js Hope this helps : - )

Member Avatar for brechtjah
0
301
Member Avatar for 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: [code=javascript] <script type="text/javascript"></script> var goDownH = 300; var goUpH = 320; function goDown(id) { if(goDownH < 320) { goDownH = goDownH …

Member Avatar for Luckychap
0
173
Member Avatar for Sp1nn3y
Member Avatar for ohnomis

The square root of 1 is 1, this should lead to the square root of -1 being -1, however, this is imaginary. Taking the square root of a negative number doesn't work. i = -1 Hope this helps

Member Avatar for ohnomis
0
863
Member Avatar for 666kennedy

I'm afraid I'm not getting what you're trying to say. Maybe it's too late for this... :-) Are you trying to put the content of one array into the other or am I getting you wrong? Please elaborate

Member Avatar for 666kennedy
0
188
Member Avatar for Gamergirl22

1 = 1 10 = 2 100 = 4 1000 = 8 You can solve this in more than one way, well I can think of multiple ways atleast ^^ Hope this helps

Member Avatar for Gamergirl22
0
180
Member Avatar for SoprtsFilmer

Most of the errors you get are typing errors I presume. For instance, a lot of times you use max or min, where you're giving min or maxloc as argument to the function. Also some variables are just not declared in a function, remember that each function has it's own …

Member Avatar for vmanes
0
361
Member Avatar for mstrofdrgns

If you want to use cout and cin you'll have to include <iostream> and use namespace std. A sample program is something like this: [code=cpp] #include <iostream> int main() { int x, y, z, min; // Don't forget you can declare multiple variables of the same type on the same …

Member Avatar for Ancient Dragon
0
141
Member Avatar for Lokolo

[QUOTE=Lokolo;739525]1. No I thought it would overwrite it (like if you try to open a file, if it doesn't exist, it creates one)... guess it doesn't. Will look up file delete later (I funnily enough have a C++ tutorial now)[/QUOTE] You're declaring an ofstream with the append flag (ios::app) which …

Member Avatar for brechtjah
0
173
Member Avatar for brechtjah

I have absolutely no clue why the following code works except for the following three characters: ç, à and è. It should rule out all non-digit characters from being written into an edit control. Because it let's those three pass trough I am forced to turn this: [code=cpp] if(!isdigit(editControl_Content[2])) [/code] …

Member Avatar for brechtjah
0
169
Member Avatar for brechtjah

Hi, I'm having some frustrating issues with char/strings. I have a function which returns an unsigned short integer, the unsigned short integer is ALWAYS 1 char long. So if I try this code: [code] number[2] = function(); [/code] So, number[2] should give me the number I want, however, it gives …

Member Avatar for brechtjah
0
191
Member Avatar for brechtjah

Hello, I'm experiencing a little problem with what I'm trying to do: I've created a large number of buttons with Photoshop, these however, already look like buttons, and are rounded. However, when I put them on a BUTTON control the button looks ugly because it has another button on it. …

Member Avatar for William Hemsworth
0
131
Member Avatar for brechtjah

I want to simply put an image as background of my parent window. Is it possible to put this into the class? [code]wc.hbrBackground = image[/code] I've been looking all over Google, maybe I'm using the wrong keywords but I'm not finding anything. Anyway, on top of that image, would it …

Member Avatar for William Hemsworth
0
120

The End.