719 Posted Topics

Member Avatar for Nyck24

Hi Nyck, I think your schema it's quite good. Just some remarks: In the table(s) 'Parts Used/Specified' you don't need to have the Part_Name because you already have the Part_id. Another thing is that you have two tables for used parts (specified and additional). Instead of having two tables for …

Member Avatar for AleMonteiro
1
786
Member Avatar for Draw

Hi Draw, your project seems really nice. The idea is great and the desktop interface looks good. I just like to point it out, that, even if the interface it's 100% JS/HTML/CSS it doesn't mean it'll work wonders in all devices. In a desktop interface you can have all those …

Member Avatar for Draw
0
267
Member Avatar for rosario1990

What you need to learn depends on what you want to do with knowledge. Do you want knowledge for knowledge or you want to build something? What do want to build? For me, there's no better way of learning than doing. And I don't think studying only HTML it's much …

Member Avatar for fantyfiz
0
225
Member Avatar for RikTelner

Yeah... it's kinda hard to understand too... I didn't. Can't you post your classes or at least the methods you're talking about?

Member Avatar for RikTelner
0
177
Member Avatar for Niloofar24

Do you have the database installed? What DB are you using? MySQL? If you are new to PHP and MySQL maybe you should use Xampp.

Member Avatar for Niloofar24
0
293
Member Avatar for toplisek

toplisek, you have only to change '$' for jQuery, not anything that starts with '$'. Let me exemplify. // jQuery object var jQuery = { ... }; // Sets $ as a reference of jQuery object var $ = jQuery; // Variables that start with '$' are usually to identify …

Member Avatar for toplisek
0
300
Member Avatar for panjiasmara

Panjiasmara, as defined at http://www.w3.org/TR/CSS2/page.html the @page rule don't have a padding property, only margin and size. If you really want that space, you'll have to use margin and fix the logo another way.

Member Avatar for panjiasmara
0
184
Member Avatar for Ayman_4

Why can't you open them? Which error do you get? Could you open it before and now can't or you were never able to open it?

Member Avatar for AleMonteiro
0
67
Member Avatar for Fuseteam

You need to do the maths... how much memory does those sites consume in an desktop browser? You can check it out using developer console in most of the modern browsers. If you know how much memory each browser use to display the site, you can estimate how much memory …

Member Avatar for Fuseteam
0
116
Member Avatar for OMER AHMED
Member Avatar for samson.oba.77

Oh boy, there's so many things that could go wrong... The jquery plugins could malfunction, they could not support the devices/browsers you're testing, you could have implemented them wrong, some css rule might be interfering with the plugins and etc. You need to give more info about your problem. Which …

Member Avatar for AleMonteiro
0
108
Member Avatar for maas
Member Avatar for diafol
0
774
Member Avatar for strRusty_gal

I've never seem embebed windows applications in web pages. And it's probably because it doesn't make much sense. Maybe you could convert the windows form to an silver light app. Then browsers with the plugin would be abble to run it. But anyway, why would you want to run a …

Member Avatar for AleMonteiro
0
958
Member Avatar for GlenRogers

Maybe a simple logic like this could resolve your problem: // $currentVisible will hold the current visible element var $currentVisible = undefined; $(document).ready(function() { /* Every time the window is scrolled ... */ $(window).scroll( function(){ /* Check the location of each desired element */ $('.showme').each( function(i){ var $this = $(this), …

Member Avatar for GlenRogers
0
273
Member Avatar for Niloofar24

Hi Niloo. Apart from the language, there's much to be done before start coding. A CMS can become a monstruous project. So, the first thing I'd do would be to list down all the functionallities that you'll implement at first. 'Simple' doesn't cover it so well. With the list at …

Member Avatar for Niloofar24
0
1K
Member Avatar for Edward16
Member Avatar for PM312

How did you installed you app in the user machine? Usually the app config file would be at the root folder of the installation, right beside the app exe. Anyway, that's not a good distribution concept. If you need to change the DB connection for each client, you should make …

Member Avatar for AleMonteiro
0
252
Member Avatar for Centorpe

Centorpe, you current have Windows Form like app.exe, built with VB.NET right? That app.exe can only run at windows with .NET Framework installed. It would probably run at Windows Mobile, but I'm not sure about the new Windows Phone, I think only WPF(Windows Presentation Foundation) apps run there. Anyway, if …

Member Avatar for AleMonteiro
0
1K
Member Avatar for Giorgi_3

Why can't you log in? What error do you get? Can you log in from a browser in your desktop/notebook? Can you log in from a browser in your mobile?

Member Avatar for AleMonteiro
0
82
Member Avatar for jacob21

I'm not sure... but maybe this could do the trick: SET @session=0; SELECT DISTINCT @session:=@session+1, company_id, user_id FROM chats ORDER BY created_at

Member Avatar for AleMonteiro
0
223
Member Avatar for patodeborracha

What do you mean by not work? What error do you get? what alerts do you get before the error? Are you sure the ajax loaded options have a value property? Another thing.. your validation is not good. If you're so uncertain of what you're getting, try something like this: …

Member Avatar for AleMonteiro
0
190
Member Avatar for Riteman

I'm assuming you have an desktop application with an embebed browser in it. The problem it's probably caused because of the default setting for Document Mode for embebed IE's. So, if the registry 'tweak' works, you can just make your app change the registry. There's lot's of resources on setting …

Member Avatar for iamthwee
0
989
Member Avatar for gentlemedia

By elegant do you mean simpler? Less code? More didact? More Efficient? Elegant code it's a very personal concept i think. For me, elegant code it's a set of well structured and dynamic functionalities. That's said, here's a more dynamic function. var _add = function($el, num, method) { var html, …

Member Avatar for gentlemedia
0
224
Member Avatar for Jenieline

Try like this: var counter = 0; $(document).ready(function () { $("#clickbtn").click(addRow); // If you want to add a row at the start: addRow(); }); var addRow = function() { var newRow = $('#form-sample').clone(true); newRow.attr('id', counter); $('#forms').append(newRow).html(); counter++; };

Member Avatar for AleMonteiro
0
92
Member Avatar for <M/>
Member Avatar for Bensirpent07
3
1K
Member Avatar for nadiam

I'm not sure I understood exatcly... do you wan't to save multiple identical forms at once? If so, I suggest you use json formatting to transfer the data. You should create an object within JS to hold all the data, something like this var arr = []; $("#add-child div").each(function(){ arr.push({ …

Member Avatar for AleMonteiro
0
344
Member Avatar for Online_1
Member Avatar for AleMonteiro
0
46
Member Avatar for lithium112

I'm not a LINQ expert, but analysing your code, the first thing I'd try would be: var query = from Table1 in datatable.AsEnumerable() join Table2 in Datatable2.AsEnumerable() on Table1.Field<int>("ID") equals Table2.Field<int>("ID") where Table1.Field<DateTime>("Date").Date < enddate.Date group Table2 by new { Name = Table2.Field<string>("Name"), Amount = Table2.Field<double>("Amount"), } into c select …

Member Avatar for AleMonteiro
0
153
Member Avatar for better.atbcs

I don't think this is correct at all, but it makes much more sense than yours do... maybe it can help: <html> <head> <title>Future Value Calculation</title> <style type = "text/css"> table { width: 100% } th { text-align : left } th span { color: #008; margin-left: 15px; } </style> …

Member Avatar for AleMonteiro
0
229
Member Avatar for PinoyDev

There's no build-in function that does that. I think the best approach is to search for the tables you want in the information schema and then delete them by name. Here's a way: http://stackoverflow.com/questions/4393/drop-all-tables-whose-names-begin-with-a-certain-string

Member Avatar for PinoyDev
0
470
Member Avatar for AleMonteiro

Hi guys. I have an Cisco DPC3925 router at the Office which I use to close an VPN Tunnel with an customer. Now, I want to close an VPN from my Home to the Office, so I'll be able to connect to the customer VPN from home. Would this work? …

Member Avatar for AleMonteiro
0
440
Member Avatar for Trle94

What do you got so far? If you are trying to convert and is stuck at something, I'm sure lots of people here would help. If you just want somebody to do it for you, you should probably be posting at the "Jobs and Resume" section, at "Bussines Exchange".

Member Avatar for Trle94
0
259
Member Avatar for nikunjkacha
Member Avatar for Prateek_2

Streams are used to manage sequence of bytes. Manage: read, write, seek, count. Sequence of bytes are usually files or images, but can be any data in form of byte array.

Member Avatar for JOSheaIV
0
204
Member Avatar for peter.dzuya

Just a guess, but aren't you missing .DataBind()? propertyBindingSource.DataSource = _property; propertyBindingSource.DataBind(); propertyUnitsBindingSource.DataSource = _propertyUnit; propertyUnitsBindingSource.DataBind();

Member Avatar for AleMonteiro
0
186
Member Avatar for shammi.khan.73

Try something like this: <input type="hidden" name="buttonaction" value="D" /> <input type="submit" onclick="javascript: document.form.buttonaction.value=this.value;" value="previous"> <input type="submit" onclick="javascript: document.form.buttonaction.value=this.value;" value="next"> <?php $action = $_POST["buttonaction"]; ?>

Member Avatar for AleMonteiro
0
229
Member Avatar for aseeman

I suggest using http://htmlagilitypack.codeplex.com to properly parse the HTML and then navigate through it.

Member Avatar for JOSheaIV
0
297
Member Avatar for younes.keraressi

I didn't understand what you saying about server and client machine, jQUery is always client. Anyway, try like this: $("#i_b_prob") .children() .removeProp("selected") .first() .prop("selected", true);

Member Avatar for AleMonteiro
0
107
Member Avatar for Santanu Das

First you need to know why is not starting. Does it show any errors? What message do you get when you try to start the service? Also look in the Windows Event Viewer for logged errors.

Member Avatar for AleMonteiro
0
103
Member Avatar for nadiam

Hello! For resizing use http://jqueryui.com/resizable/ For rotation, I never used, but there's a couple here: http://plugins.jquery.com/tag/rotate/ Like this one: http://jquery.jcubic.pl/rotate.php

Member Avatar for AleMonteiro
0
707
Member Avatar for ashokkmr22

There's no cache in JavaScript, just cookies in the browser. You have to set and get the cookies that you want. Simple as that.

Member Avatar for AleMonteiro
0
72
Member Avatar for snehaanjit

Try this: foreach($busName as $code=>$bname) { $edit = (isset($_REQUEST['do'])=='edit' ? $seldata['bus_name'] : ""; echo "<option value=\"$code\" $edit>$bname</option>"; }

Member Avatar for AleMonteiro
-1
61
Member Avatar for nadiam

//You can do it normally... $("#X3").click(function() { // Do Something }); //Or you can append listener at the creation... var x=3,y=3 for (var i=0; i<x; i++){ var line=$('<div>', {id:"X"+i } ).css({clear:'both',width:'100%'}).appendTo('body'); for(var j=0;j<y;j++){ $('<div>',{id:"X"+i+"_"+j}).css({float:'left',width:10,height:10,border:'2px solid red'}) .click(function() { // Do Something }) .appendTo(line); } }

Member Avatar for AleMonteiro
0
3K
Member Avatar for nadiam

The first time the button is clicked you're going to clone it once? The second time the button is clicked you're going to show it twice? And so on? Then, it sould be something like: $(function() { var element = $("#textbox").hide(); var count = 0; $("#clickme").on("click", function() { count++; for(var …

Member Avatar for AleMonteiro
0
16K
Member Avatar for markii.borabon_1
Member Avatar for markii.borabon_1
0
98
Member Avatar for javed.iqbal.3979

That's probably because "http://www.contoso.com/library/homepage/images/ms-banner.gif" is not a image anymore, it's redirecting to microsoft webpage. So you don't get a file to download. Try using an valid file URL.

Member Avatar for AleMonteiro
0
222
Member Avatar for dschuett

In the example you gave, they use this validation: if($(window).scrollTop() + window.innerHeight >= $(document).height() - 50 && !busy){ } *View Source is very usefull =)*

Member Avatar for AleMonteiro
0
303
Member Avatar for burhanahmed92

You can use an `<a href="myPage.html" target="_blank">Open It</a>`. And use JavaScript to click it if nedeed.

Member Avatar for AleMonteiro
0
140
Member Avatar for piers

I didn't get into the merit about the dating algorithm, but just by condensing your own logic... var poslow = [1,2,3,4,5,6]; var poshigh = [7,8,9,10,11,12]; // this function displays all the positions on the screen aligned // in two rows one row has 1-6 the opposite row has 7-12 function …

Member Avatar for piers
0
3K
Member Avatar for bolfescu

Sorry, I couldn't understand what you are trying to do and also didn't get your problem. Please explain better.

Member Avatar for bolfescu
0
149

The End.