-
Posts
912 -
Joined
-
Last visited
-
Days Won
7
Content Type
Profiles
Forums
Events
Everything posted by Coly010
-
I'm confused now, lol, i'm sorry but could you please change the code so that it looks correct? thanks. Sorry but i'm very confused.
-
I've made a dropdown box with some values in it. Now what I want to do is, when somebody selects an option it changes the writing within a <td>. Here's my code so far. To be honest I don't see why it isn't working <table width="75%" style="color: white;"><tr><td>Size:</td><td><select type="dropdown" name="size"> <option id="a2" onclick="A2()">A2</option> <option id="a3" onclick="A3()">A3</option> <option id="a4" onclick="A4()">A4</option> <option id="a5" onclick="A5()">A5</option></select></td></tr> <tr><td>Email Address:</td><td><input type="email" name="email" /></td></tr> <tr><td>Price:</td><td id="price">£150</td></tr> <tr><td></td><td><input type="submit" Value="Continue" /></td></tr></table></form> <script type="javascript"> function A2() { document.getElementById("price").innerHTML = "<td>£150</td>"; } function A3() { document.getElementById("price").innerHTML = "<td>£100</td>"; } function A4() { document.getElementById("price").innerHTML = "<td>£75</td>"; } function A5() { document.getElementById("price").innerHTML = "<td>£50</td>"; } </script> thanks for any help :)
-
Thanks, lol I knew I'd get there in the end :P Yeah I noticed that about the cube too... So do I increase or decreasethe u, v? And I was aiming for the footrest to be wonky. I was going to use it in a ransacked bar scene so it would make it look like it was a little deformed.
-
Ok, taking everything you have said into consideration I have created and rendered a new chair. http://img401.imageshack.us/img401/2760/chair3.png The footpiece is supposed to be offset a little, by the way.
-
Ok, thanks for investigating :)
-
and another thanks A_Bertrand I can see the difference, I need to use a more pore looking texture with the chair to make it look softer and lower the specular hardness. Thanks
-
Thanks very much for the feedback. I'll need to look into environment maps and i'll set up some different lightrooms to use
-
ok thanks :)
-
I have created a few 3D Models and rendered them. I would like some feedback on the renders. Thank you very much. Some Text: Chair: Table And Chairs: About the last one I just realised that the closest chair is floating off the ground. Any Criticism Welcome :D :P Oh btw I have some modelling tutorials on my youtube channel at : http://youtube.com/Coly0101 Regards, Coly010
-
Thanks bertrand and Djkanna. I know about the materials but when i go into unity it wont let me reapply them if they are exported with blender :S
-
I'm trying to make a game in Unity. An FPS to be exact. I know, it's a lot of work but its a long term project because I have exams etc. I am trying to do a military one and I am using blender. The fbx exporter doesn't export textures. Any ideas on how to either: get the textures to work or where I could find some free assets I could use in my scenes? Thanks Very Much, Coly010
-
I recently created a slot machine game using vb.net. It was created for amusement purposes only so no money is involved but it was great to finally create a game using vb.net. It's completely random winnings, but I'm working on it. Here's a few screenshots. Link to game download can be found here: https://sourceforge.net/projects/epacslotmachine/ My sourceforge page is awful but I can't use html and I have no clue on how to chnage things on it so it looks good. Any advice for it would be great. Regards, Coly010
-
It's a great start Sniko, and As i first learned how to program with visual basic . NET when i was 13 i find it a very good place to start. at the moment i have just turned fourteen but i still use it to develop some games but xna is the best for that. Still a great start, lol something i couldnt yet and i've been using VB.NET for a year now. Good luck
-
you should only be getting this error if you're server is running a version of php which is above 5.3.0. You should be able to replace with stristr. Not sure if this will work but try it. chat.php <?php $name=$ip." Website Visitor : "; //The name of the user print "<h3>Chatroom</h3>"; if($_REQUEST['message']) { $_GET['message'] = $_REQUEST['message']; $mess = array("gay","****","poo","game","sign up", "porn", "nob"); $found = 0; //amount of dirty words found foreach($mess as $val) { if(stristr($_GET['message'], $val)) { $found ++; } //filterd done $_GET['message'] = str_replace($val, "?$!^!%", $_GET['message']); } $newtotal = $name; $newtotal .= $_GET['message']; $newtotal .= "/n"; $f = @file_get_contents("chatbox.txt"); $newtotal .= $f; $f = fopen("chatbox.txt", "w"); fwrite($f, $newtotal); fclose($f); } print "<iframe src='chats.php' width='100%' height='60%'> </iframe> <div id='do_a'></div> <form name='newmessage' action='chat.php' method='post' onsubmit='checkbad()'> Message: <input type='text' name='message' value='' size='30' maxlength='30'> <input type='submit' id='mess' value='Add your message'> </form>"; ?> Like I said I'm not sure if this will work.
-
good idea to keep it all in one file :)
-
I haven't really used it and when I think about it would take a really long time to code and might not even work( unless you set a word limit on how many words can be in the question) and would probably be difficult to code but if you were to use the php function explode you might just be able expand on this modification to have answers that refer to specific keywords. To have this respond to specific questions however you would need to know the frequently asked questions (could easily be done by having the form create a log:P) and then recode the original file, add a few if statements then include specific answers. Then any question that does not contain the keywords or any questions you could have just respond one of the original set of answers I shall look into trying to recode to find keywords using explode. Another method would be to use ajax to link a keyword or many keywords to a separate file. :P :D Just a few things to think about
-
Miscreants is a short novel consisting of 10 chapters (7 fully completed) that have been written by 3 authors. You are welcome to read and give feedback as you want either through commenting on the posts or at this email: [email protected]. The blog is at http://miscreants2011.wordpress.com [iAbout the book. The Book… Ronan Duddy, Grace Summers and Nicholas Bradley are all new first years at Montgomery High with the expectations of an ordinary school life. However, this was not so. The moment Ronan and Grace set eyes on each other a barrier grew between them and they argued and fought about it. Grace is constantly doing things for the better where Ronan is trying to do all things wrong. Nicholas was brought into this when Ronan falsely accused him of deliberately pouring acid onto Grace’s hand. This is a twisted story of fiction with many twists and turns. You never know what will come next!
-
it just gave me something to do i'll look into other stuff and expand the range
-
dayo how do you do your pixel art :?
-
yes but the professional version isnt that much. only bout £50
-
html5 has the keygen which can be used for authentication i used the canvas tool too which uses javascript and for mouse over effect lol :( here's the code so you understand , it's easily coded: <!DOCTYPE HTML> <head> <title id="title"></title> <style type="text/css"> #nav { position:absolute; left:0px; top:0px; z-index:-1 } #Login { position:absolute; left:850px; top:13px; } #Body { position:absolute; left:0px; top:50px; z-index:-1 } #home { position:absolute; left:0px; top:0px; size: 20px; color: #c3c3c3; font-family: Arial, Comic Sans, Veranda; } a:link, a:visited, a:active { color: #FF9900; text-decoration: none; } #bimg { position:absolute; left:0px; top:50px; } #screenshots { position:absolute; left:870px; top:340px; border: 4px groove #c3c3c3; } #Register { position:absolute; left:870px; top:50px; border: 4px groove #c3c3c3; } </style> </head> <body> <div id="Login"><input type="text" id="username" value="Username" />  <input type="password" id="password" value="Password" /><input type="button" onclick="Login()" value="Login" /></div><div id=Nav></div> <div id=Body></div> <p id=home>[url="index.html"]Home[/url]       [url="register.php"]Register[/url]        [url="tos.html"]TOS[/url]</p> [img=Images/ferrari.png] <fieldset id="screenshots">[img=Images/screen.png][img=Images/screen.png] [img=Images/screen.png][img=Images/screen.png]</fieldset> <fieldset id=Register><legend id=lregister>Register</legend><form action="register.php" method="POST" name="Reg"> Username: <input type="text" name=username value="Username" /> Password: <input type="password" name=password /> Confirm Password: <input type="password" name=cpassword /> Email: <input type="email" name=email /> Security: <keygen name="security" /> <input type="submit" value="Register" /> <input type="button" onclick="document.Reg.reset()" value="Reset" /> </form></fieldset> <script type="text/javascript"> var scnHei; var scnWid; if (self.innerHeight) // all except Explorer { scnWid = self.innerWidth; scnHei = self.innerHeight; } else if (document.body) // other Explorers { scnWid = document.body.clientWidth; scnHei = document.body.clientHeight; } document.getElementById("Nav").innerHTML = "<canvas id='nav' width='" + scnWid + "'  height='" + scnHei + "'></canvas>"; var c=document.getElementById("nav"); var nav=c.getContext("2d"); var grd=nav.createLinearGradient(0,0,1500,50); grd.addColorStop(0,"#003D00"); grd.addColorStop(1,"#00CC00"); nav.fillStyle=grd; nav.fillRect(0,0,1500,50); document.getElementById("title").innerHTML = "Welcome To NoticeBoard"; document.getElementById("Body").innerHTML = "<canvas id='body' width='" + scnWid + "'  height='" + scnHei + "'></canvas>"; var c=document.getElementById("body"); var body=c.getContext("2d"); var grd1=body.createLinearGradient(0,0,1500,1000); grd1.addColorStop(0,"#006600"); grd1.addColorStop(1,"#FFFFFF"); body.fillStyle=grd1; body.fillRect(0,0,1500,1000); </script> </body> </html> i know i could have used css for the hover but i was testing my js skills since i'm pretty new to it
-
Hello everyone, I have successfully created a new login and I would like to share the image with you. It is HTML 5, Javascript and CSS inspired. It took me the best part of two hours to do so and any comments from you would be great. please ignore the watermarks ;). I haven't given out the code yet, but I do have it so please tell me what you think first, then I'll decide whether to give out the code or not :) Thanks, Coly010
-
I use 3dCrafter and think it deserves a place among the free versions and then the professional version unlocks more tools its great
-
Ok, Would you create a function like function touchingwater { //js code } so how do you have the players character respond to clicking somewhere on the map? or should I have it respond to keys pressed? Would you need js for all that too? thanks
-
Ok thanks , should I search collision in php 4 the collision?