- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
97 Posted Topics
How do you test an Android app on different devices and screen sizes (not emulator)? So far I'm just assuming that the XML preview I get in design mode means the app would function, obviously this isn't enough. I don't want to ask friends/family, at least not yet. So I'm … | |
Re: I don't know any function that can do that but you can write your own like this!! [code=cplusplus] #include<iostream> #include<string> #include<iomanip> #include<algorithm> using namespace std; string urwelcome(string input) { begining: for(unsigned int i = 0; i <= input.length(); i++) { if(input[i] == ' ') { input.erase(i, 1); goto begining; } … | |
Re: Why do you need to use this many functions do write such a simple program?? Take a look at what I did, [code=c++] #include<iostream> #include<string> using namespace std; int main() { int hours, minutes; string ampm; // stores AM or PM depending on the value of 'hours' cout << "Enter … | |
Hi guys, I'm working on a side project for a friend and I'm looking for a C++ library that allows me to put bunch of paragraphs in a PDF format. Anyone know any good libraries that can do this as simply as possible? It will be just paragraphs and paragraphs … ![]() | |
Hi guys, I'm trying to make an app for iOS, Android and BlackBerry 10 that allows users to add frames to pictures. This is suppose to be a learning experience kind of thing for me! Anyway, I'm wondering what the best image editing libraries are for each platform.. Basically, I'm … | |
Re: Your post isn't very clear, are you trying to change the visiting user's IP after the person visits 10 pre-defined links?? | |
Re: Use the textcolor function (it's not standard compliant) from conio.h library: [code=cplusplus] #include <conio.h> int main() { textcolor(RED); cputs("Red text in console!"); return 0; } [/code] [url]http://www.ousob.com/ng/borcpp/ng6c57c.php[/url] try using google next time!! | |
Re: https://www.google.ca/#hl=en&safe=off&output=search&sclient=psy-ab&q=creating+thumbnail+php&oq=creating+thumb&gs_l=hp.3.1.0l4.706.2437.0.3977.14.12.0.2.2.0.341.1809.1j9j1j1.12.0...0.0...1c.RRpkDD0arPw&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&fp=ee7e1412ea6db892&biw=1920&bih=1062 | |
I was just wondering what the standard web design projects cost. Level of difficulty: Low Languages: HTML + PHP the most complex requirement is the payment processing capability. | |
Re: Are you setting something to `position: fixed;`? | |
Re: https://www.google.ca/search?q=Left+to+Right+Image+slider Next time please try Google first. | |
Re: > P.S. There are a lot of variables.. Like: > > > int one; > int two; > int three; > int launch; > int one_1 = 1776; > int two_1 = 1999; > int three_1 = 2012; > int launch_1 = 138974; > Couldn't these be in some kind … | |
Re: Okay so first off you need a table - use the `<table></table>` tags to create one... CODE: <tablet> </table> Now you want 13 rows - use the `<tr></tr>` tags! (I'm only going to make a table with 3 rows, you do the rest) CODE: <table> <tr> </tr> <tr> </tr> <tr> … | |
Re: Take a look at following piece of code and adjust yours accordingly: <script type="text/javascript"> if (screen.availWidth<=800) //if screen width is 800px or less //do soemthing here else //do something else here if (screen.availHeight<=800) //if screen width is 800px or less //do soemthing here else //do something else here </script> | |
Re: Not sure what kind of customizations you want on Facebook but I've seen ways of injecting your own code in some existing websites' code and re-load the page with your custom code... so it sounds like it's possible - do some research! | |
Re: <form method="post" id="some_id" action="process.php" onSubmit="alert('Thank you!');" > EDIT: Sorry I realized you wanted something on the reload and not before leaving.. What you can do is in the PHP script, add small code to change the content of a file to 1 from 0 after you do the saving of … | |
Re: Look up ASCII values and then `if (ASCII_value_of(some var) == 30) then set the element of an integer array to <soemthing>` Also, https://www.google.ca/search?q=convert+these+char+arrays+into+integer+arrays | |
Re: <?php $serverdir = "http://localhost:8080/core/data/"; include($serverdir."file_name.txt"); ?> Is that helpful? | |
Re: It's not recognizing it as "time" so what's happening is it's taking the 14.45 (which YOU understand to be 14h45m) and adds 0.15 (which YOU understand to be 15m) to give a 14.6. This makes sense if it's a base 60 number system... Anyways, this will be helpful to you: … ![]() | |
Re: Every programmer should know the difference between Google and Forums... -__- | |
Re: <?php $search = $_GET['input']; echo "<a href=\"http://www.google.com/search?q=$search\" target=\"blank\">Results</a>"; ?> and then when you call the page, go like this: `www.blahblah.com/index.php?input=php script to search all of the interwebs` | |
Re: <?php $input = "<p>This is an example of random input you might encounter! :)</p>"; $output = strip_tags($input); $output = str_replace (":)", "<img src=\"https://www.google.ca/intl/en_ALL/images/logos/images_logo_lg.gif\" alt=\"\"/>", $output); echo $output; ?> Remember that you need the slashes infront of the quotes so that PHP ignores the quotes (because they're not really the end … | |
Re: Find a problem at your university/college/teaching school and address it by making a website and make it look pretty since you want it all girly (no sexism intended towards fellow men who like to make their websites good looking) | |
Re: First link from Google when typing out your entire question as is: http://stackoverflow.com/questions/5349716/how-to-make-youtube-embed-code-video-auto-start | |
Re: To create what you want, you should create a PHP script that adds one to the number existing in a text file somewhere. 1. In the HTML file, you simply echo the contents of the file where needed. <small>This page has been visited <?php $count = file_get_contents("INSERT_PATH_TO_THE_TEXT_FILE"); echo $count; ?> … | |
Re: Find the nearest FRC/FTC team and ask them, they'll be very happy to show and teach you. www.usfirst.org | |
I have a form that takes in information from the user and saves the info and then displays it in the form field.. . . Form: <form method="post" action="/core/process2.php" name="step2_form" target="_blank"> <div class="float_left"> <table class="form_step2"> <tr class="form_step2"> <td class="form_step2 title"><p class="form_text">File Date</p></td> <td class="form_step2 input"><input type="text" class="box_form" name="file_date" value="<?php include($datadir."file_date.txt"); … | |
Re: > s India the 1st 2 columns of next page should contain the names n id of all the Indians from the database). The 3rd n 4th columns should be textboxes where user can enter data n that has to be stored in the database. plz help me with this.. … | |
Re: > Hi, As I know the barcode scanner is just like a keyboard. I want the barcode scanner scan the user ID before it enter to the system. May I know how to hide the textbox field but still able to handle the input from barcode scanner? Use IDs: `<input … | |
Re: Could be that the information from the 1000 inputs is taking too much time to transfer and the process is killed due to exceeding the time limit. One temporary solution would be to break the pages into two or three or however many pages, with each page having ~1000 inputs. … | |
Re: <div id="right"> <div id="grid" class="right"> </div> </div> You should have `id="right"` instead of `class="right"`. Also, if you're using `float: left` and `float: right`, make sure the width is never exceeding 50% of the screen. (I suggest 45%) | |
Re: You have it randomly written down in your code where it doesn't make sense... delete it and you should be fine. Open the file, search for ".banner" and delete the relevant text... | |
I'm making a website where users select one of the four options - A, B, C, or D (for simplicity) and press a button to be redirected to a different page (page 2) that uses the selection to display one of the four images at the top. The selection is … | |
Re: I don't see how it's difficult for you to make you site IE compatible. Although I don't have a degree in computer science, or a job in the field, I know programming and web development. I've developed a couple of sites for offline and online uses. Making them compatible on … | |
Re: <!DOCTYPE html> <html> <body> <select style="line-height:38px; padding: 20px; color: red; height: 20px; font-size: 30px; "> <option>Volvo</option> <option>Saab</option> <option>Mercedes</option> <option>Audi</option> </select> </body> </html> Run that code on http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_option and compare to what you're doing wrong... | |
Re: https://www.google.ca/#hl=en&gs_nf=1&tok=dQKB_kT2KJr6BIIDx21pbw&pq=let%20me%20google%20that%20for%20you&cp=12&gs_id=1h&xhr=t&q=different+css+for+different+browsers&pf=p&safe=off&sclient=psy-ab&oq=different+cs&gs_l=&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp=b73aac1983e9555&biw=1920&bih=1062 Sometimes it amazes me how people can't perform a simple Google search. | |
Re: To make it compatible in the major browsers, one of the tricks used is to "reset" the website and then giving styles to EVERYTHING again! http://perishablepress.com/press/2007/10/23/a-killer-collection-of-global-css-reset-styles/ is a good source to get yourself a reset code... One thing you should be careful is if you use this, you'll have to … | |
Hi, I'm a beginner programmer and I'm developing this web app, nothing major; the hardest part was writting to text file (not really hard...) Anyways, my company policy doesn't allow us to install server softwares on computers. So now, I can't run the PHP code I wrote!! **I am wondering … ![]() | |
Re: What's wrong with the code you have there? It works! If you want them to be equal despite the capital & lower case letters; you'll have to do some manipulation of the data before you compare them. string strtolower ( string $variable ) The above statement will convert a given … | |
Re: https://www.google.ca/#hl=en&biw=1440&bih=787&sclient=psy-ab&q=limit+radio+button+selections&oq=radio+button+limi&aq=0bK&aqi=g-bK2&aql=1&gs_l=hp.3.0.0i8i30l2.3572.6121.0.8296.17.17.0.0.0.0.360.3971.0j1j15j1.17.0.tsh.1.0.0.-LXxyCUp3EA&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp=d435548b4fe14b69 Did you try Googling first?? | |
Sometimes when the visitor clicks a button, nothing happens. I can't seem to figure out what the problem is. [URL="http://www.team188.com/web/index.php?page=main"]Working Navigation Bar[/URL] [code=HTML] <ul id="navigation"> <li style="border-left-width:0px;"><a href="http://www.team188.com/web/">Main</a></li> <li><a href="http://www.team188.com/web/">Ask 188</a></li> <li><a href="http://www.team188.com/web/">Season</a></li> <li><a href="http://www.team188.com/web">Resources</a></li> <li><a href="http://www.team188.com/web/">Robots</a></li> <li><a href="http://www.team188.com/web/">Gallery</a></li> <li><a href="http://www.team188.com/web/">History</a></li> <li><a href="http://www.team188.com/web/">FLL - Vex</a></li> <li><a href="http://www.team188.com/web/">Sponsors</a></li> <li><a href="http://www.team188.com/web/">Mentors</a></li> <li><a … | |
Re: [url]http://validator.w3.org/check?uri=http://lostangelsproject.com/&charset=(detect+automatically)&doctype=Inline&group=0[/url] On Line 409: <div id="background"><img src="http://lostangelsproject.com/wp-content/uploads/2010/07/JodieComp_1152x864.jpg" alt="field" style="width: 100%; height: 100%; background-repeat: no-repeat"/></div> What is no-repeat by itself? It makes no sense! | |
Re: Try this: [code] #footer { color: #fff; width: 1020px; height: ____px; margin-left: auto; margin-right: auto; background-image: url(images/ourbg2.png); background-repeat: repeat; } [/code] And when all fails, try to fix all the errors you'll see when you put your CSS here: [url]http://jigsaw.w3.org/css-validator/#validate_by_uri+with_options[/url] Good luck! | |
Re: I'd advise against posting the [I]entire[/I] code. People will just search Google, find this post and be lazy and just copy it! I know I would. :P | |
Re: Hmm, a day ago you didn't know that you have to declare a variable before using them. And now that!? Wow, you must be a really fast learner or a really fast at Ctrl + C & Ctrl + V. Very Interesting. | |
I have a javascript function to toggle a specific id sent to the function [code=javascript] <script type="text/javascript"> function toggle(id) { var localId = document.getElementById(id) if (localId.style.display == 'none') { localId.style.display = 'block' } else { localId.style.display = 'none' } } </script> [/code] I want to do the same in jQuery, … | |
I'm just starting to make my existing website's mobile version. I was wondering what kind of doctype should I use to ensure maximum number of phones rendering the site the way it was intended to. Targeted users use smartphones and not the thousand year old nokia phones. Also, Should I … | |
I am having a random problem with my website. I am not sure if its just my internet connection that is causing this or if it is a problem with the website it self. [url]www.team188.com/web[/url] The prob is that randomly once in like every 5-6 visits, the website will take … | |
Re: PLEASE don't post 600 line of code again! Thank You! Also, you need to learn some HTML. [url]http://validator.w3.org/check?uri=http://popnwedlock.com/services.html&charset=(detect+automatically)&doctype=Inline&group=0[/url] Remember that if you don't have proper syntax, you will never get cross browser compatibility. Good luck fixing those 124 errors and 3 warnings! :) EDIT: Line 240, Column 114: entity was … |
The End.