Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~917 People Reached
Favorite Tags
Member Avatar for ulrik04

hi I'm making a full AJAX site with prototype, and I want that every time a hyperlink is activated, the event is canceled and a AJAX script loads the page instead. This is the code I'm using: [code=javascript]Event.observe(window, 'load', function(){ Event.observe($$('a'), 'click', function(e){ Event.stop(e); window.location.hash = $(Event.element(e)).readAttribute('href'); new Ajax.Updater('main', $(Event.element(e)).readAttribute('href'), …

Member Avatar for pcmaniac
0
105
Member Avatar for ulrik04

Hey all I have a htaccess file, than I want to redirect from (*)\.php to index.php#$1, but the # is making the rest a comment, how do I avoid this? I've tried with \#, but no change. How do I insert this icon?

Member Avatar for BeachyUK
0
82
Member Avatar for ulrik04

hey all :) I'm making a console program, and I want to do that when you run it from the terminal, you can give arguments like -debug (./program -debug). How do i get whether an argument is set or not in the code? i've tried #ifdef debug, but it didn't …

Member Avatar for ulrik04
0
164
Member Avatar for OmniX

When using this HTML code: You get a rectangle where the location is stored, and a button labelled "Browse..". I would like to redesign the "Browse.." button and I was told this would have to be done using mainly javascript and abit of css (I thought it would be the …

Member Avatar for OmniX
0
158
Member Avatar for ulrik04

Hello :) I'm making a (new :P) game in C++, and in the beginning of the file, I'm initializing an array like this [code] int tower_dmg[5][3]; int tower_spd[5][3]; int tower_eff[5][3]; int tower_efc[5][3]; int tower_cst[5][3]; [/code] And later in the program, when loading images and initializing a lot of stuff, i …

Member Avatar for ulrik04
0
129
Member Avatar for ulrik04

hey :) i have this piece of code: [code] while(!(std::cin >> input) || input < 1 || input > 100){ std::cout << "not valid, try again: "; } [/code] it should allow the user only to be able to write numbers between 1 and 100 (input is a short int), …

Member Avatar for Radical Edward
0
96
Member Avatar for ulrik04

I've made this Supaplex-like game, but I have a problem. I want to have more levels, so I've made that when moving to the next level, it clears the vectors with all the objects, and putting new objects into. this is my code for moving to level 2: [code] void …

Member Avatar for ulrik04
0
108
Member Avatar for ulrik04

Hello :) I'm making a very simple game in C++ (very much like the old DOS game Supaplex if anybody know that :P). I'm using the windows API, not GDI, DirectX or anything like that. I've only just begun learning the Win Api some days ago :) I have the …

Member Avatar for ulrik04
0
75