• Member Avatar for Traevel
    Traevel

    Gave Reputation to JamesCherrill in Just want a little feedback

    20 differ = annualSales, What is this intended to do? annualSales wasn't initialised explicitly, so differ will just be a copy of its default value of 0 if (n < …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Conceptual and Logical database design

    I would include relations in physical. Especially since they could be different due to the physical situation. A logical model is as detailed as you can get it without the …
  • Member Avatar for Traevel
    Traevel

    Began Watching Conceptual and Logical database design

    Hi, sorry for my newbie question but I can't understand what is the different between Logical and Conceptual database design. Can you provide me with some samples for those two …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Conceptual and Logical database design

    Sounds homeworky so just a hint to get you started: it's all in the details. There is also a physical model by the way.
  • Member Avatar for Traevel
    Traevel

    Began Watching Install a new locale on Apache (XAMPP, Windows)

    Does anyone know how to install a new locale on Apache that comes with Xampp for Windows? I'm trying to find an answer with Google but it only shows results …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Install a new locale on Apache (XAMPP, Windows)

    Sounds like something I [read a while ago](http://webcache.googleusercontent.com/search?q=cache:IGRjWon2Gv0J:japborst.net/posts/apache-on-windows-and-its-locale+&cd=1&hl=en&ct=clnk) however the page is offline now (yey google cache). FYI, it also shows a solution for the floating point issue (comma versus …
  • Member Avatar for Traevel
    Traevel

    Began Watching Just want a little feedback

    'Ello I just completed my final individual assignment for my first java programming course. This is what I want to do and learning how to do it is what brought …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Just want a little feedback

    Regarding the JavaDoc, the `@param` and `@return` tags are not entirely filled with information. The convention is as follows: /** * @param variableName Description that may contain multiple terms * …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in How to convert html to image

    You could try following [this tutorial](http://pietschsoft.com/post/2008/07/C-Generate-WebPage-Thumbmail-Screenshot-Image) if you don't want to do it from the HTML page. It requires a url though.
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in How to convert html to image

    Using [this example](http://html2canvas.hertzen.com/examples.html) I'm getting the entire page just fine, regardless of screen size. The only thing I see happening is that dynamically sized elements (like the banner on their …
  • Member Avatar for Traevel
    Traevel

    Began Watching How to convert html to image

    How can I convert html to image?
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in How to convert html to image

    Take a screenshot. Or, use the new HTML5 canvas and a library like [html2canvas](http://html2canvas.hertzen.com/documentation.html).
  • Member Avatar for Traevel
    Traevel

    Began Watching Date creation

    How to create simple calender in javascript,
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Date creation

    The easiest way would be [jQuery-ui's Datepicker](http://jqueryui.com/datepicker/). <script> $(function() { $( "#datepicker" ).datepicker(); }); </script> <input type="text" id="datepicker"> Even easier would be the [HTML5 date input](http://www.w3schools.com/html/html_form_input_types.asp), but it's not yet …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in PHP tables

    Again, use [jQuery](http://api.jquery.com/) to collect the user input and store it in your table. Then use the [AJAX functions](http://api.jquery.com/category/ajax/) in jQuery to POST your table data to a PHP page …
  • Member Avatar for Traevel
    Traevel

    Began Watching Convert html/css into PDF and save into database

    Hello. The scenario is a div and in the div are multiple cloned images, its like a floor plan thing and I would like to save that into the database …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Convert html/css into PDF and save into database

    Table and chair icons (large tables, small tables etc.) are a fixed size I take it? And a user can then drag them around to place them how they want …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in HTML Form , Validate & Preview in Same Page

    > What do you mean you can't alter the same page using PHP? You can't run PHP code, have the user do something, then run some more PHP code **on …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Replace each string in style tag [i element] with jquery

    Are you running them **after** the elements have been loaded?
  • Member Avatar for Traevel
    Traevel

    Began Watching HTML Form , Validate & Preview in Same Page

    Hi , i already build up a php form which is will sent data on same page, validate it , but i stuck how to switch to new display that …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in HTML Form , Validate & Preview in Same Page

    You can't alter the same page using PHP since it runs on the server-side and not the client-side. You can have the page post to itself, which will refresh the …
  • Member Avatar for Traevel
    Traevel

    Began Watching Replace each string in style tag [i element] with jquery

    Hello! I have some i like this: `<i class="pcon" style="background-image: url(./styles/SkyBoot/imageset/topic_unread.gif); background-repeat: no-repeat;">` I want to change only this: `styles/SkyBoot/imageset` to this: `styles/SkyBoot/imageset/black` Because i have cookies and i want …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Replace each string in style tag [i element] with jquery

    // short version $('.pcon').each(function(){ $(this).css('background-image',$(this).css('background-image').replace('/styles/SkyBoot/imageset/','/styles/SkyBoot/imageset/black/')); } ); // long version for clarity $('.pcon').each(function(){ var el = $(this); var oldBackground = el.css('background-image'); var newBackground = oldBackground.replace('/styles/SkyBoot/imageset/','/styles/SkyBoot/imageset/black/'); el.css('background-image',newBackground); } ); However, find/replace …
  • Member Avatar for Traevel
    Traevel

    Began Watching errors in inbox.php

    Hi i have 2 errors on some software i brought for inbox can anyone tell me whats wrong with the code below to cause the errors any help would be …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in errors in inbox.php

    The `implode()` is failing because of `$topuid` not being an array which causes the `mysql_query` to fail and thus resulting in a `false` being stored in `$userquery`. Then, when `mysql_fetch_array($userquery)` …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Upgraded editor

    Ah that makes sense since I would have to highlight something before copying it, making it seem to me as if it was quoting all the copied texts while it …
  • Member Avatar for Traevel
    Traevel

    Began Watching Upgraded editor

    I've upgraded the Markdown editor that we use to the latest version. Please let me know if anything isn't working.
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Upgraded editor

    Every now and then I'm experiencing a rather alternating result when using the quote function. My ctrl-c's on that thread will be remembered and pasted (along with any selected text …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in update the id field

    > But if i delete id 1 the view looks odd That could be solved outside of the database, just print a number indicating the student is `#1`, `#2`, `#3` …
  • Member Avatar for Traevel
    Traevel

    Began Watching update the id field

    If i delete recored 1 next when i want to view the table i shall see recored 1 deleted and in that place recored 2 shall be named as recored …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in update the id field

    What I gather from your question is that you want to alter the `id` of record #2 to match the `id` of record #1 after deleting record #1. It's a …
  • Member Avatar for Traevel
    Traevel

    Began Watching Is it possible to add a jQuery Ui Icon into a text box?

    Basicly the title say it all.
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Is it possible to add a jQuery Ui Icon into a text box?

    Try .input-icon-wrapper { position: relative; } .input-icon-field { padding-left: 15px; } .input-icon { position: absolute; top: 3px; left: 2px; } and <div class="input-icon-wrapper"> <span class="ui-icon ui-icon-person input-icon"></span> <input type="text" class="input-icon-field" …
  • Member Avatar for Traevel
    Traevel

    Began Watching Android Proximity Alert for savenger hunt

    Hi all, I'm writing a scavenger hunt app and want to use the Proximity Alert functions. I'm having a hard time to finding any decent tutorials to help me with …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Android Proximity Alert for savenger hunt

    > I just can't find any helpful tutorials for writing that code. Have you tried googling for "android proximity alert" and clicking the [first result](http://www.javacodegeeks.com/2011/01/android-proximity-alerts-tutorial.html)?
  • Member Avatar for Traevel
    Traevel

    Began Watching Best Linux for home

    I want to know which light weight linux would be better for my internet browsing and only one game that is Counter Strike.I hate Windows because of slow response and …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Best Linux for home

    I prefer Crunchbang as "lightweight" OS. Runs well on older model laptops and virtual machines. And since it's based on debian it has solid packages and plenty of support documentation. …
  • Member Avatar for Traevel
    Traevel

    Began Watching Problem in seo when search on google result.

    Hello, I need your some time to suggest me. For my own site [http://gititsolution.com/](http://www.gititsolution.com/) **Problem:** When i enter google search 'gititsolution' then given me search result link list like 1) …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Problem in seo when search on google result.

    > But I am new be in seo so can suggest me which steps i wan't follow to improvement of site. From your own website: > SEO & Web Marketing …
  • Member Avatar for Traevel
    Traevel

    Gave Reputation to hericles in How much commenting in my code is appropriate?

    You'll get a lot of differing views on this but my take is that the code should be self-documenting i.e. it is written well enough that its purpose can be …
  • Member Avatar for Traevel
    Traevel

    Began Watching IsoTriangle

    Write a function IsoTriangle() that takes a sizw parameter and displays an isosceles triangle with that many lines. Use the DrawBar() function as a Basis. it should look like this: …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in IsoTriangle

    A. No B. That's not Java C. The answer is the first result on Google no matter which part of that ancient question you search with, plagiarize away
  • Member Avatar for Traevel
    Traevel

    Began Watching How to Increase my website organic traiffc

    Hello Friends, How to increase my website organic traffic. any suggestiion.......
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in How to Increase my website organic traiffc

    No one ever seems to mention semantics in these kinds of threads. Structural semantics, microdata, rich snippets, RDFa. Google 1998 called, it wants the keywords meta tag back. To take …
  • Member Avatar for Traevel
    Traevel

    Began Watching save data to .txt file using javascript

    Hi everybody, I need to save same data to a .txt file (using javascript). Please see this example of clicking in an image and get the coordinates ([Click Here](http://www.emanueleferonato.com/2006/09/02/click-image-and-get-coordinates-with-javascript/)). The …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in save data to .txt file using javascript

    Not to beat a horse that's been decaying for the past two years but this sounds like a job for [Node.js](http://nodejs.org/) (trumpets blazing) See the [documentation](http://nodejs.org/docs/v0.10.35/api/fs.html) on File System: var …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Can't Properly Record Data On csv File

    > shows me a quick glimpse That's the `echo $v1`'s I put in to test the other time. Just delete both and it shouldn't print to screen anymore.
  • Member Avatar for Traevel
    Traevel

    Began Watching Need Help in Creating A statistic Calculator

    Hi, I am new to web development so please bear with me, i am looking to create statistic calculators like f test etc. In order to do that, i need …
  • Member Avatar for Traevel
    Traevel

    Replied To a Post in Need Help in Creating A statistic Calculator

    You could have a click on a row call a function that will collect all the values in said row and insert them into the calculator fields. I would suggest …
  • Member Avatar for Traevel
    Traevel

    Began Watching welcome message

    This is my index page <html> <head> <title>Login - FLATY Admin</title> <link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" href="assets/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="css/flaty.css"> <link rel="stylesheet" href="css/flaty-responsive.css"> <link rel="shortcut icon" href="images/login.png"> <script type="text/javascript"> function …

The End.