451 Posted Topics

Member Avatar for daniel36

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.

Member Avatar for ndeniche
0
99
Member Avatar for GlenRogers

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.

Member Avatar for GlenRogers
0
183
Member Avatar for NardCake

A quick [google search](https://www.google.hn/search?q=Segoe+UI+font+license) might be helpful

Member Avatar for NardCake
0
136
Member Avatar for EnriqueLandivar

> 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 …

Member Avatar for Webville312
0
133
Member Avatar for Maideen

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 …

Member Avatar for ndeniche
0
279
Member Avatar for Neon Tetras

Welcome to Daniweb. I hope you find what you're looking for and more!

Member Avatar for Stuugie
0
84
Member Avatar for Ronnie.Sk1ttl3s.Eke

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.

Member Avatar for Ronnie.Sk1ttl3s.Eke
0
313
Member Avatar for PF2G

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 …

Member Avatar for ndeniche
0
1K
Member Avatar for ddanbe
Member Avatar for deceptikon
0
303
Member Avatar for takeover4444

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.

Member Avatar for takeover4444
0
251
Member Avatar for johan72
Member Avatar for ndeniche

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 …

Member Avatar for ndeniche
1
248
Member Avatar for ndeniche

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 …

Member Avatar for ndeniche
0
240
Member Avatar for tformed

[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 …

Member Avatar for vmanes
0
3K
Member Avatar for linux
Member Avatar for The Dude

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]

Member Avatar for Ene Uran
9
4K
Member Avatar for ebanbury

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; }

Member Avatar for ebanbury
0
214
Member Avatar for ndeniche
Member Avatar for chrishea
0
1K
Member Avatar for ndeniche

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 …

Member Avatar for GrimJack
0
2K
Member Avatar for Serunson
Member Avatar for cdays

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 …

Member Avatar for ndeniche
0
115
Member Avatar for moeketsi.mathe

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?

Member Avatar for ndeniche
0
150
Member Avatar for Beeej21

try putting the id not in a [inlinecode]<div></div>[/inlinecode] but in the [inlinecode]<td></td>[/inlinecode]

Member Avatar for usman123usman
0
327
Member Avatar for lovetwins01

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 …

Member Avatar for krissybhabhie
0
2K
Member Avatar for presly

> 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.

Member Avatar for presly
0
151
Member Avatar for CasperG

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 …

Member Avatar for andhie.dhie.1
0
542
Member Avatar for HibaPro

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 …

Member Avatar for Pgmer
0
267
Member Avatar for mrbungle

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 …

Member Avatar for mrbungle
0
145
Member Avatar for newbie1234

>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.

Member Avatar for IIM
0
159
Member Avatar for Iamcray_1122

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 …

Member Avatar for Richardlevins
0
106
Member Avatar for presly

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, …

Member Avatar for rotten69
0
145
Member Avatar for xbat

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 …

Member Avatar for xbat
0
328
Member Avatar for subrata_ushasi

You can do this by using [AJAX](http://www.w3schools.com/ajax/default.asp). It's an incredibly useful tool.

Member Avatar for subrata_ushasi
0
176
Member Avatar for anandagrawalseo

Welcome to DaniWeb, Anand!! Hope you enjoy participating in this community!!

Member Avatar for anandagrawalseo
0
50
Member Avatar for JukesK

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.

Member Avatar for ndeniche
0
248
Member Avatar for Dani
Member Avatar for Ancient Dragon
2
243
Member Avatar for Dani

Well, this IS DANIweb... I think you should do it... A little nostalgia for cscgal though, but IMO you definitely should :)

Member Avatar for JorgeM
0
229
Member Avatar for Misbah khan

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 …

Member Avatar for Misbah khan
0
187
Member Avatar for Netcode

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!!

Member Avatar for Dani
0
184
Member Avatar for mrnutty

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 …

Member Avatar for ndeniche
1
232
Member Avatar for ndeniche

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 …

Member Avatar for ndeniche
0
255
Member Avatar for Dani

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 …

Member Avatar for ndeniche
1
217
Member Avatar for Dani

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 …

Member Avatar for Dani
0
335
Member Avatar for spideyprasad

**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 …

Member Avatar for JorgeM
0
301
Member Avatar for Goomba79

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

Member Avatar for ndeniche
0
133
Member Avatar for silvercats

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, …

Member Avatar for silvercats
0
874
Member Avatar for naief

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 …

Member Avatar for naief
0
102
Member Avatar for supastar.sp

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.

Member Avatar for JorgeM
0
123
Member Avatar for hwoarang69

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), …

Member Avatar for code739
0
285
Member Avatar for code739

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 …

Member Avatar for code739
0
91

The End.