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.0K People Reached
Favorite Tags
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
544
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
145
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
158
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
122
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
122
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
160
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
272
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
137
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
219
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
143
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
150
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
72
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
194
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
323
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
158
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
67
Member Avatar for tripX
Member Avatar for brechtjah
0
35
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
157
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
203
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
167
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
127
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
112
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
179
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
75
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
86
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
109
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
574