719 Posted Topics
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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? | |
Re: 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. | |
Re: 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 … | |
Re: 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. | |
Re: 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? | |
Re: 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 … | |
Re: The idea you already have. What do you need help with? | |
Re: 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 … | |
Re: The code you posted is not JavaScript nor HTML. What is it? Maybe you should ask in the specific forum. ![]() | |
Re: 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 … | |
Re: 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), … | |
Re: 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 … | |
| |
Re: 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 … | |
Re: 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 … | |
Re: 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? | |
Re: 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 | |
Re: 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: … | |
Re: 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 … ![]() | |
Re: 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, … | |
Re: 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++; }; | |
Re: 3rd rock from the sun Your favorite ritual to think about your code? | |
Re: 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({ … | |
Re: The URL you posted is not working. What error do you get when trying to use jQuery? | |
![]() | Re: 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 … |
Re: 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> … | |
Re: 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 | |
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? … | |
Re: 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". | |
Re: 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. | |
Re: Just a guess, but aren't you missing .DataBind()? propertyBindingSource.DataSource = _property; propertyBindingSource.DataBind(); propertyUnitsBindingSource.DataSource = _propertyUnit; propertyUnitsBindingSource.DataBind(); | |
Re: 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"]; ?> | |
Re: I suggest using http://htmlagilitypack.codeplex.com to properly parse the HTML and then navigate through it. | |
Re: 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); | |
Re: 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. | |
Re: 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 | |
Re: 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. | |
Re: Try this: foreach($busName as $code=>$bname) { $edit = (isset($_REQUEST['do'])=='edit' ? $seldata['bus_name'] : ""; echo "<option value=\"$code\" $edit>$bname</option>"; } | |
Re: //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); } } | |
Re: 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 … | |
Re: 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. | |
Re: In the example you gave, they use this validation: if($(window).scrollTop() + window.innerHeight >= $(document).height() - 50 && !busy){ } *View Source is very usefull =)* | |
Re: You can use an `<a href="myPage.html" target="_blank">Open It</a>`. And use JavaScript to click it if nedeed. | |
Re: 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 … | |
The End.