16 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 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 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 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 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 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 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.