451 Posted Topics
Re: I think the best aproach may be using a popup message asking the user to fill out a survey before leaving, and loading the survey unto the same page the user is seeing. If the user decides to stay, he'll fill in the survey, else, close the page. | |
Re: Assuming your `a.project` content is inside your `#shownews`, you should use `$('a.project').on('click', function(e){...});` instead of the click function, since it will only work for the content you load the first time, and is not binded to dynamically created objects. | |
Re: A quick [google search](https://www.google.hn/search?q=Segoe+UI+font+license) might be helpful | |
Re: > can you be more specific "Writing any test in any screen" do you mean on the console.. or? I think he means "Writing any text in any window" I agree with gusano79. May be an oversensitive touchpad. Try lowering the default settings for the touchpad sensitivity or placing your … | |
Re: here's a simple syntax for using ajax: function funcName() { var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("myDiv").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","ajaxFile.txt",true); //can be any file that … | |
Re: Welcome to Daniweb. I hope you find what you're looking for and more! | |
Re: Do a step by step verification. Try printing the output for the variables involved in the error, for instance `$url`, `$shell_loc` or `$get_url`. It is easier to iterate through each warning in order to try to identify any errors. Maybe that helps. | |
Re: Add a separate file upload to your form, and process it apart from the other one. **Extra 1**: you may wanna consider changing some coding habits, like giving your variables names that represent better what they do, so `$tmp` is `$tmp_img` and `$tmp1`is `$tmp_event`, same for `$filename1` and `$newwidth1`. **Extra … | |
Re: your tabs-inner class has a 15px padding that causes the navbar to slide to the left when the browser winow is resized. The class is set in [this file](http://www.blogger.com/static/v1/widgets/2159474849-widget_css_2_bundle.css), which I assume you are importing into your project. | |
Re: You mean, like [this](http://moto.oakley.com/#airbrakemx)? | |
Hey guys. I would like to know, which js library do you prefer when designing websites that implement the parallax effect and why. Which one suits you better and why? I'm new to this effect (it took me quite i while, I know), and I'd like to know your oppinions … | |
Hello guys, There's always been this queston on my mind: Why doesn't the website auto add the threads you reply to as watched articles? Is this functionality meant for any other purpose? In my opinion, the reply action in a thread should work like facebook (i know... i know...): replying … | |
Re: [quote=Narue;381712]>is there any way one could do a square root program without sqrt or pwr functions? No, those functions are magic. There's no way you can simulate their behavior in C++ without pixie dust or phoenix feathers. One might assume that if you know how the mathematics work, you could … | |
| |
Re: i guess i might get trouble for this... but its worth a try... [quote]do you know why mexicans don't have an olympic team? ......... ........ ....... ...... ..... .... ... .. . because all those who can run, jump and swim are already in america...[/quote] | |
Re: Well, your tag names are all wrong. Try this: HTML <div id="wrapper"> <div class="logo"><img src="meshomagic_logo.jpg" width="559" height="280" alt="meshomagic logo"></div> <div class="bgShape"><img src="images/logo_bg.png" width="1000" height="114"></div> </div> CSS #wrapper .bgShape { position: absolute; left: 0px; top: 0px; } #wrapper .logo { background-color: #000; position: relative; top: 0px; z-index: 2; } | |
i can't beleive i'm starting a thread about this... but it is a subject that must be discussed through and through... 1.- when i was talking about hating everything gay, i wasn't talking about what they've invented, because the fact that they're gay doesn't mean they're intelligent... 2.- i never … | |
Re: Assuming from your previous posts, you are a novice programmer just starting to learn. If that's the case, let me welcome you to the programming world; I can guarantee you will have a lot of fun. Adressing your issue about the project, I'd recommend a simple sales project,where you can … | |
Re: What you wanna do is learn any server side scripting, like PHP or ASP. These languages can be integrated with HTML and connect to your databases to load data into your webpage. Here's a good place to start: http://www.w3schools.com/php/default.asp You'll find tutorials, tips, etc. Did I answer your question? | |
Re: try putting the id not in a [inlinecode]<div></div>[/inlinecode] but in the [inlinecode]<td></td>[/inlinecode] | |
Re: i guess your mistake is not using [B]break;[/B] after each case... if you don't do this, your switch will run all the way until all the cases are done... another thing i would advise you to do is use the default until the end of the switch statement, since this … | |
Re: > Before you write any code you should have > Apache server PHP MySQL I recommend downloading WampServer (or Lamp if using linux)... It has everything you need to start working on php webpages out of the box. | |
Re: Actually, your error is literally what the compiler displays. You _do_ have an error in your SQL syntax. It should be [icode]SELECT * FROM engineer[/icode]. I don't really know what the ADODB class for row storage is, so i'll just call it [icode]RowSet[/icode], so, supposing you have a [icode]Name[/icode] column … | |
Re: Asuming the information filling the comboboxes exists in the record from which you are searching the text in the textbox, you can do a query returning 3 vaues (one for each combobox) and assign it to each combobox. If the comboboxes will be filled with the records thrown by the … | |
Re: Well, you could create a function in MYSQL that would return the next number in the database. That way, when you open a new citation, it will load the next number. If you look back to an old citation,once you close it and open a new one, just call the … | |
Re: >i think it is not possible Well, actually it is. It's called url rewrite. Maybe [this](http://httpd.apache.org/docs/current/mod/mod_rewrite.html) link can help you understand how it works in an Apache webserver. | |
Re: Well, if you deleted your music files from your computer, your best shot is with a file recovery software, or a file "undeleter". Google might come in handy in this type of cases: [you should try typing your literal question into the search bar](http://www.google.com/webhp?rlz=1C1TSND_enHN421HN421&sourceid=chrome-instant&ie=UTF-8&ion=1#hl=en&gs_nf=1&cp=43&gs_id=c&xhr=t&q=i+deleted+all+my+music+how+do+i+get+it+back&pf=p&safe=off&rlz=1C1TSND_enHN421HN421&sclient=psy-ab&oq=i+deleted+all+my+music+how+do+i+get+it+back&gs_l=&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=620f4183c90141be&ion=1&biw=1304&bih=707) and it should give you the … | |
Re: I actually find it better to work every code by myself. Why? Because that way, if something goes wrong I'll surely know where it went wrong. Most GUI IDEs will fill your applications with code from the elements you might insert into your project, so if one of them fails, … | |
Re: You can create an array that tracks which items have been selected, so everytime an item is selected it adds +1 to the item's value in the array. Then, after the form is submitted (or in the form submit action) you call the function that stores the data into de … | |
Re: You can do this by using [AJAX](http://www.w3schools.com/ajax/default.asp). It's an incredibly useful tool. | |
Re: Welcome to DaniWeb, Anand!! Hope you enjoy participating in this community!! | |
Re: As pritaeas said, I'd recommend adding a table idetifier column, since that is the only way of identifying which table is every row from. | |
Re: Like it!! Specially the rankings on the headers of the sections | |
Re: Well, this IS DANIweb... I think you should do it... A little nostalgia for cscgal though, but IMO you definitely should :) | |
Re: Well, straight forward I can see something very wrong with your code: you didn't define any `<head>` tags, and you closed the `<body>` tag without opening it. About the error, I just tried that exact same code and I had no problem. The only way that should give you trouble … | |
Re: What is this new system we're talking about? Absolutely LOVE the new Daniweb... I just returned today after a few months and oh my lord, it looks so different and so good!! | |
Re: I have just come back as well, and I did too make some friends here. Some of them are now banned, some of them passed away (actually, one each), and some I still smile when I see their screen name. Thanks everybody for these awesome years. Thanks to everyone that … | |
Hey guys. Although I've stated several times that I absolutely love the new DaniWeb, I feel that something big has been left out: a nofitication system. How can I know when someone has replied to a post I've made, or to a reply I made to a post? I feel … | |
Re: Perhaps the related article could be relocated? For some time (I can't remember if it was only for non-registered viewers), the OP's first post had a reduced width to make space for ads. Why not make that space for related articles? That way, there can be a list of related … | |
Re: Yay for me. It's my second day using it (I went away for a long time) and I'm absolutely loving it. pyTony has a point though, about long posts. Maybe make it somewhat scrollable, so it won't change the page size that much, scrolling as you type. I'm also in … | |
Re: **Question**: Why do you need to use a frameset/iframe? Those are some quite obsolete methods that can now be replaced by client running processes, like javascript or ajax. There are only so many cases where you actually *need* to use iframes. If this is so the case, you can always … | |
Re: You could make the dropdown to collect the data from a dataset with a `select` command that selects unique records for the CellName: SELECT UNIQUE CellName FROM Table | |
Re: well, the `main()` function, the `int main()` and the `void main()` all do the same, which is process the main process of the program. The difference is `int main()` is the only right way of calling it, since every program, when called, returns an "error message" that the OS interprets, … | |
Re: I once did this for a vote counting project on national elections. The users would send a SMS with a pre-established string format to a certain phone number, and a text file would be downloaded from the phone company owning the phone number receiving the SMSs to my server. The … | |
Re: How are you controlling the student's access to the information? If you're using student number autentification, you can check if the parent has associated the student number he's trying to access. If so, grant acces, else access denied. | |
Re: Have you any knowledge of php sessions? If so, create a session variable for every user that logs in, adding up to the counter stored in your database. Assing a timeout period for the session, so that once the user has been away for that time period (say, 30 minutes), … | |
Re: Reputation indicates how "trustable" your posts are according to Daniweb community. These points are awarded in support forums, and there are no points for upvoted or downvoted posts in the lounge or other community forums. You get reputation when someone upvotes a comment you made on an article, and negative … |
The End.