575 Posted Topics

Member Avatar for r.scan

No, you can't do this in any cross-platform way. There's many good reasons why not - for one, a site could launch popups that were difficult to close without using hotkeys or a task manager. The fact you feel that a given window 'doesn't need a titlebar' is a little …

Member Avatar for MidiMagic
0
93
Member Avatar for The Dude

I put everything handle up, except the sharpest knives: I put them blade up - just to tempt fate. Noteably, I always prep and empty the dishwasher standing on one leg whilst blindfolded.

Member Avatar for bumsfeld
-1
175
Member Avatar for MattEvans

Really not sure if this a hardware or software issue.. My scrolllock seems to have gone AWOL. The indicator LED doesn't light up when I press the scrolllock key; but, occasionally, the LED lights up, stays on no matter how much I hit the scroll-lock key itself, and only turns …

Member Avatar for DimaYasny
0
125
Member Avatar for opsryushi

Yuk.. it's a real hack to serve diff pages to diff browsers, especially when using HTTP headers to determine the browser. How many browsers are you gonna target? What happens when the browser version changes? What happens if the browser identifies itself as a different browser? ( that's not farfetched …

Member Avatar for opsryushi
0
172
Member Avatar for crioto

Look for any information you can find about the A-star graph-search algorithm. It's a heuristic-based best-first search -- it is pretty much the de-facto 2D pathfinding algorithm, and it works well in tile-based maps. This is probably the best introduction to A-star, specifically for tile maps: [url]http://www.policyalmanac.org/games/aStarTutorial.htm[/url] Alternatively, if that …

Member Avatar for MattEvans
0
198
Member Avatar for TheAlex

well. that's definately JavaScript; and the reason it doesn't work well in all browsers is because all browsers have a different idea of what the relationship between windows, frames and documents is. Often, it's just a case of a different object containing the information... This is code that works for …

Member Avatar for MattEvans
0
612
Member Avatar for apontutul

Erm.. not using javascript. It's not a good way to adequately password protect pages. The best you can do with javascript is: - hide everything but the password form on the page (wrap everything in an html element, set display:none; or visibility:hidden; in css) unless the user enters the correct …

Member Avatar for bruceshining
1
222
Member Avatar for blade_costic

Thread moved to Networking Hardware Configuration: please try to post in the most appropriate forum, because your post has nothing to do with Web Development. Also, to get the most useful help, please describe the problem in more detail. Read this thread [url]http://www.daniweb.com/forums/thread5722.html[/url] for some good advice about the best …

Member Avatar for Suetan
0
132
Member Avatar for manishchoudhury

Usability standards or technical standards? For technical standards at the client end; just look at up the latest W3C recommendation for XHTML and CSS, and then step back ( at least ) one version to be sure of compatibility on current / popular / most browsers. If it's technical standards …

Member Avatar for MattEvans
0
85
Member Avatar for SergioQ

Use only the colours from the Web-Safe pallete: [url]http://www.oreilly.com/catalog/wdnut/excerpt/web_palette.html[/url] they are supposed to be the same everywhere. I find that I only need to use the websafe pallete with GIFs; other image types ( ie. PNG's ) tend to always look OK... But, transparency with PNGs is a problem in …

Member Avatar for DangerDev
0
73
Member Avatar for steve57

Thread moved; to a board where you're more likely to get the best coverage.. Personally.. I wouldn't worry about uninstalling Windows if it's really playing up - Windows is only a program. Back up all of your data, of course; in a safe place, and virus scan or selectively bring …

Member Avatar for steve57
0
88
Member Avatar for mhretabk

Does the Amhric language need a special font installed? Can it be represented in Unicode? Do you want to serve an Amhric page to people physically in Ethiopia, and an English page elsewhere, or do you want to serve an Amhric page to anyone who can view Amhric, wherever they …

Member Avatar for SheSaidImaPregy
0
96
Member Avatar for CoolGamer48

This is good reference, [url]http://www.gamasutra.com/features/19991018/Gomez_1.htm[/url] there are collision tests for different pairs of 3D objects ( see contents box on the right ). The tests would work in 2D, but, there are even simpler versions of these tests for 2D. 'Separating objects' that have collided is theoretically simple - calculate …

Member Avatar for Phaelax
0
112
Member Avatar for sbv

The easiest way to get that look is with a <table> element, especially if you want text in either of the two side columns. Otherwise.. you can do some tricks with background color, etc, to make it look like the other column's are supposed to be that long, or, you …

Member Avatar for SheSaidImaPregy
0
134
Member Avatar for aparnesh

For getting the same header on every page... - Configure your server for SSI ( server side includes: [url]http://en.wikipedia.org/wiki/Server_Side_Includes[/url] ), or Perl / PHP, or anything else that can glue pages together on the fly. - Or come up with your own search/replace policy. For example, if you write [B]<!--!!$$$HEADER$$$!!-->[/B] …

Member Avatar for DangerDev
0
246
Member Avatar for MattEvans

I'm trying to work out what the best structure is for these requirements.. will happily work on it, just wondering on the best direction to go in / if anyone knows from experience or reason what the best type of storage structure is.. - I 'generate' up to 20,000 integers, …

Member Avatar for MattEvans
0
114
Member Avatar for CoolGamer48

As long as its [I]always[/I] the negative of what it should be; you're ok to put in a * -1, you could also try swapping the cos and sin exprs around, so that movex is the sin, and movey is the cos. I wouldn't worry about it, the problem arises …

Member Avatar for CoolGamer48
0
105
Member Avatar for Serunson

What's the significance of the numbers? I have 2 green dots, a power of 4, and 120 point(s) [which is secret].. is there some simple mathematic relationship between points, green squares and power? 1 power integer = 30 points = 0.5 green squares? Green squares relationship there can't be right, …

Member Avatar for overwhelmed
0
145
Member Avatar for CoolGamer48

The first two look good; assuming you have a fixed number of columns and that the tileset can then extend "infinately" vertically, and the tiles are given frame indices like: 0 1 2 3 4 5 6 7 8 9 ... If you index your tiles starting from 1... don't …

Member Avatar for CoolGamer48
0
60
Member Avatar for toadzky

Using the Javascript XmlHttpRequest object ( all common modern browsers have it, although it sometimes has a different name ), you can issue a HTTP request to any page or program on your server, and then process XML replies as a DOM structure, or plaintext replies, as plaintext ( the …

Member Avatar for ~s.o.s~
0
71
Member Avatar for mjmythili

I don't think there is any way to manually specify texturing co-ords for quadrics objects; since you dont even specify their vertex positions. Do they respond to glTexGen though? I have never tried, but I would think that they should.. [url]http://pyopengl.sourceforge.net/documentation/manual/glTexGen.3G.html[/url]

Member Avatar for MattEvans
0
48
Member Avatar for Inny

O_O the wildcard * generally relates to everything. If that was possible, your code would be saying "call every function you can find, and pass no parameters". it would be more handy if you could go halfway, like [inlinecode]onload = "wildfnc('_onload*')"[/inlinecode] to execute all functions prefixed with _onload.... But, unfortunately …

Member Avatar for sharonm
0
107
Member Avatar for Mouche

O_o There is no such thing as this; not in Java anyway. It would require some kind of dynamic/run-time typing... You won't get that for free in a compiled language like Java, or C++. One way to go about this would be to have 'helper objects' that contain the variables …

Member Avatar for Grenwood
0
448
Member Avatar for Grenwood

I don't think it's NP complete, not the example you've given anyway. If you assign every viable object it's 'score' for a certain requirement, ( i.e. highest protection ); including negative scores if a piece of equipment 'removes protection'... It's just a case of finding the maximum score item for …

Member Avatar for Grenwood
0
122
Member Avatar for MattEvans

When compiling under MSVC I get warnings about using 'this' explicitly in a constructor's initializer list. I don't get warnings if I use the return from member functions though, even member functions that return 'this'. I also experience no noticeable problems in any test* but; is using 'this' there bad, …

Member Avatar for MattEvans
0
553
Member Avatar for scru

3D math and physics, artificial intelligence ( as it relates to games ), 3D graphics [ stay on top of all of the updates ], general programming skills, data formats, optimizing, and more... of course, pick/change/add the parts that are relevant to what you're trying to do. A good way …

Member Avatar for FireNet
1
150
Member Avatar for Dani

you can hyperlink the entire contents of a div... put an enormous image inside it, set the overflow to hidden, and hyperlink the image :P i have a q, i was gonna start a thread but this is close enough to my question: can you hyperlink a form submit field? …

Member Avatar for tracedef
0
582
Member Avatar for Ancient Dragon

what happens if someone posts in an already-solved thread? do they still get a +1?

Member Avatar for jbennet
0
242
Member Avatar for Ravenous Wolf

Er.. this was a hot-ish topic last week: [url]http://www.daniweb.com/forums/thread88858.html[/url] C# is a Microsoft lock-in, Java doesn't work (yet) on any major consoles. I would say, neither of these languages will replace C++ in games, perhaps another language will, and perhaps it'll be the next revision of the C++ standard [url]http://en.wikipedia.org/wiki/C++0x[/url].

Member Avatar for maddog39
0
187
Member Avatar for eagerbeaver

I would: Create a 'pool' containing the 90 numbers, shuffle the pool so that all of the numbers are mixed, and then select them as needed in the order they appear in the pool ( i.e. random ). This is much the same as a bingo caller picking numbers really. …

Member Avatar for MattEvans
0
78
Member Avatar for Aprilia

[B]<off-topic>[/B] [quote="niek_e"]off-topic: What's going on with the game-dev forum lately? Is it just me or is it becoming a horrible mess of useless posts?[/quote] Agreed.. there's alot of "how do i make a game?" which is an unanswerable question without more detail; a bit of "how do i do [some …

Member Avatar for MattEvans
0
188
Member Avatar for aarya

I find if i'm using Dreamweaver it's just to add colors to my code =P, and same with any editor to be honest. I don't even like functions that auto-close tags or auto "fix" my markup... generally they don't have a clue what I'm trying to do and cause more …

Member Avatar for techna
0
380
Member Avatar for autocrat

His replies were more extreme ( and personal ) than your statements. He is the one being 'overly' anything, by being 'overly childish' in his reprisal. His site [I]looks[/I] ok, perhaps he just wanted a superficial review rather than a probing inspection of code. Since the company advertises website design, …

Member Avatar for reen.blom
1
155
Member Avatar for adrive

If by 'error message' you mean an error in the server side code; the error message is returned in the response text. If the error message is generated by conventional means; the xmlhttp object's 'status' property will be anything but 200, where 'anything but' is one of the standard HTTP …

Member Avatar for adrive
0
141
Member Avatar for dada77

As far as I know, RPG Maker is Windows only development and Windows only deployment; so no, it's not cross platform in any way. There's nothing technical to stop someone writing a non-Windows version of the engine or IDE but to my knowledge, nobody has. With regard to marketing and …

Member Avatar for dada77
0
100
Member Avatar for scru

DirectX is hard because it's very raw. OpenGL is less raw, but not necessarily easier to learn. I would say, it's easier to start in OpenGL - you'll get that spinning triangle on the screen with less written code; it doesn't necessarily get harder, but you have to consider the …

Member Avatar for addy999
0
173
Member Avatar for Scrawn_Dog

Try adding CSS like this to wherever the rest of your styles are defined: [code="CSS"] object,embed { margin:0; padding:0; } [/code] That's the only thing I can think of off the top of my head... Also.. check to see if the space is INSIDE the object/swf instance itself, or if …

Member Avatar for MattEvans
0
129
Member Avatar for darkagn

Learn both. If you use only vertex buffer objects in OGL, and manually specify the transform state before drawing every object; that's how Direct3D works.. with a few other differences I suppose.. Hey, as an advantage in Direct3D you don't have to write your own matrix/vector classes -_- Learning both …

Member Avatar for jbennet
0
203
Member Avatar for amaravanich

try changing: [code] cellText.onClick="return changestatus(this,this.parentNode,document.form_enc);" [/code] to: [code] cellText.onclick=function(){return changestatus(this,this.parentNode,document.form_enc);}; [/code] That's a weird error message though... You tend to get that error (in firefox) when you try and access html elements out of context (i.e. without a <html><body> /etc around them), or when you try to access 'null' elements …

Member Avatar for yurj
0
136
Member Avatar for Shadow webber

If you document.write( ) [B]AFTER[/B] the page has loaded fully, it tends to write in a new, blank page ( [url]http://javascript.about.com/library/blwrite.htm[/url] ). It's not particularly well standardized behaviour between the browsers, so you're advised not to use document.write( ) after the page has been loaded ( i.e. button click -> …

Member Avatar for hari charan
0
120
Member Avatar for ivatanako

[quote="MidiMagic"]The id attribute is required in a form tag in XHTML, the name attribute is required in the form tag in HTML. You have neither in the form in the last div displayed.[/quote] XHMTML id is [B]NEVER[/B] required. name isn't required for form elements ( or even fields ) in …

Member Avatar for MidiMagic
0
96
Member Avatar for kevindougans

form != input.. name is XHTML deprecated as an attribute of the form element, that is [B]<form...>[/B]. It's not deprecated on any of the form fields. The validator can't be wrong, it's fed the DTD/schema and it validates the input page; the schema/DTD can't be wrong; because they ARE XHTML …

Member Avatar for kevindougans
0
948
Member Avatar for MattEvans

The 'Quick reply' and 'Go advanced' buttons on the quick reply form stopped working for me about a week ago, I thought it might be temporary/known about, but that's quite some time, and perhaps it is Opera specific. This is only on the quick reply form at the bottom on …

Member Avatar for longrun
0
548
Member Avatar for doel.jangkrik
Member Avatar for MattEvans
0
68
Member Avatar for rrocket

document.getElementById("t").submit( ), or document.forms["t"].submit(); should work.. It may be the case that the inline script isn't running at the right time, or that the form cant be auto-submitted from inline script... if that was the case you'd need a body 'onload' handler in javascript to invoke the submission of the …

Member Avatar for MattEvans
0
130
Member Avatar for Robbins

[quote="~s.o.s~"]A slightly better(definitely not the best!) way of doing it would be: .... [/quote] Definately not the best... What's the reason for assigning different classnames twice in sequence on the same object? Where do the variables link3 and link4 come from? Simple mistakes though.. I can see what you meant …

Member Avatar for ~s.o.s~
0
157
Member Avatar for leathan

how did you put your file onto the server? did you upload it in ASCII mode? binary mode wont work. I had big problems using Windows FTP as it assumes the filetype and doesn't seem to have any options.. try uploading the file using your domains control panel if you …

Member Avatar for xmassey
0
337
Member Avatar for agrothe

[quote]Basically whatever url I passed in xmlHttp.open("GET",urlstr,true) had to match the actual url in the address bar.[/quote] Yes, this is the case. [url]www.domain.com[/url] is a different subdomain from [url]domain.com[/url] in terms of the address.. it might not infact [B]be[/B] a different subdomain but the address indicates that it is. FF …

Member Avatar for jquick
1
162
Member Avatar for Ninad

Whether or not a browser allows a page to reference files on a user's computer in any way is dependant on the browser and perhaps security settings; although, it's certainly been possible in previous IE versions to display images that are stored on a user's PC via a webpage, regardless …

Member Avatar for MattEvans
0
1K
Member Avatar for huskersox

>_< OR, if you're gonna ask someone to do your assignment for you; at least TRY and make it look unlike you've just typed in whatever your teacher gave you, rather; make it look like it's something you've been stuck with trying to do at work, something that isn't clearly …

Member Avatar for MattEvans
0
112

The End.