AleMonteiro 238 Can I pick my title?

OK, so I guess that's nothing you can do by yourself with your current knowlodge.

This project isn't only HTML, JavaScript and CSS. It would most certainly have a database and a back-end language.

My point is: what you want is not only to "create a block button", you need to create a user block functionality. And for that you need to adapt the database, program all logic in the back-end language and then, only then, create the block button in the interface(and probably a blocked users list or something like that).

If you want to do it yourself you will need to have access to the database, have all source-code with you, and last, but most important, a very good knowlodge in web development.

AleMonteiro 238 Can I pick my title?

What type of website is this? A social network or something like it?

AleMonteiro 238 Can I pick my title?

Try using padding on the outter box.

AleMonteiro 238 Can I pick my title?

First of all, what do you mean by BLOCK BUTTON?

AleMonteiro 238 Can I pick my title?

Hi,

that's a float problem, to resolve it: just insert <div style="clear: both;"></div> after the float elements.

My test: Capture35

AleMonteiro 238 Can I pick my title?

What do you mean by:
p.name = "p";
?

I think he is sending the password as 'p' (name of the input), and the password input goes blank.

AleMonteiro 238 Can I pick my title?

Triggers can be dangerous, if you use it wrong, but for somethings is the best option.

And please, post your new question in a new post and mark this as solved.

AleMonteiro 238 Can I pick my title?

Sure, there's a lot of them, a couple are:

  1. You can do it all in asp.net.
  2. You can work only with triggers (ie.: a update trigger on Users that will check if the user has a application, and if it doesn't it'll create one).
  3. You can do the initial insert in asp.net and the new ones at the trigger.
AleMonteiro 238 Can I pick my title?
AleMonteiro 238 Can I pick my title?

You don't need to delete it, just mark at solved. It would be even better if you let the question and the anwser for future users.

AleMonteiro 238 Can I pick my title?

What error do you get? In IE, open developers tools (F12), go to the Script tab and start debugging.

AleMonteiro 238 Can I pick my title?

So, I suggest you to make an store procedure to create the records for the existings users and then create a insert trigger at the users table for the new users.

AleMonteiro 238 Can I pick my title?

Well, I never done something like that, but to build the interface I would suggest Microsoft .NET WPF.

But if I would do it, I would do it in HTML/JS/CSS.

AleMonteiro 238 Can I pick my title?

For each user on tblUser you want to create an record on tblApplicantScrutiny, is that it?

AleMonteiro 238 Can I pick my title?

Sorry, I don't know. That was my only idea.

AleMonteiro 238 Can I pick my title?

Do you want to build a photo editor? Is that right?

AleMonteiro 238 Can I pick my title?

What error do you get? I tried this code on IE, FF, Opera and Chrome, and work fine.

AleMonteiro 238 Can I pick my title?

If you post the website that you are trying to replicate I can tell you a good language to do it.

AleMonteiro 238 Can I pick my title?

No, if you want to create a desktop app you need to master just one of them(C#, JAVA, ROR or Delphi).

But be aware, none of the code of the website would be reutilized. So you better study the effects that you want to use to see what language and framework would do it more easily.

AleMonteiro 238 Can I pick my title?

Ok, i got it now.

The easist way is to transform the saved page you have into a new website. You don't have to host it, as far as the website contain only HTML, CSS, JS and VBS you can run it directly in the browser.

To ajust the websit interface you would need knowlodge in:

  • HTML
  • JavaScript ou VBScript
  • CSS

But you could also create a new app, and in this case you would need to choose a language to program and a framework to build the app on. At the top of my mind I can name you:

  • C# .Net
  • JAVA
  • Ruby On Rails
  • Delphi
AleMonteiro 238 Can I pick my title?

You are welcome, but mark the post as solved.

AleMonteiro 238 Can I pick my title?

Do you have any experience with software developement and/or programming languages?

AleMonteiro 238 Can I pick my title?

Is the type of Parameters!Path a string?

AleMonteiro 238 Can I pick my title?

I can't explain the theory to you, but I can say somethings from practice.

  1. When you use float on a element, you need to use clear in the next so it doesn't mess up:

    #left { background: #AAAAFF; margin-right: 10px; float: left; }
    #right { background: #FFAAAA; clear: left; }
    
  2. Or, if you want both to be on the same line you need to use float on both(and clear on the next element that will be on another line):

    #left { background: #AAAAFF; margin-right: 10px; float: left; }
    #right { background: #FFAAAA; float: left; }
    #bottom { clear: left; } 
    
  3. I don't like to use float, it always give me headaches. So, I use this class instead(works for all modern browsers - IE7+) :

        .inline
        {
            position: relative;
            display: -moz-inline-stack;
            display: inline-block;
            zoom: 1;
            vertical-align: top;
    
            *display: inline;
        }
    

And the HTML would be:

    <div class="columns inline" id="left">left</div>
    <div class="columns inline" id="right">right</div>  

Hope it helps.

AleMonteiro 238 Can I pick my title?

How it should do that? Where it's that array defined?

Please, post your complete code that can be tested.

AleMonteiro 238 Can I pick my title?

It would be something like this:

$(function(){ // OnLoad
    $("#MyInputID").keyup(function(){ // Key Up Event
        var val = $(this).val(); // Get value from input
        $("#MyParagraphID").html(val); // Set p html
    });
});
AleMonteiro 238 Can I pick my title?

Please, if you got your anwser mark as solved.

Thanks.

AleMonteiro 238 Can I pick my title?

Try this:

<input type="button" value="Add to Cart" />
AleMonteiro 238 Can I pick my title?

When you say link the HTML cell with the excel cell, it's sounds to me that each change at the HTML will reflect in the excel, and vice-versa.

But what I understood is that you just want to show your excel as an HTML table. Am I right?

AleMonteiro 238 Can I pick my title?

In each page request to your site you need to make sure that the user is logged in. If the user is not logged in you must block the content and redirect the user to the log in page.

One of the ways to do it, without going crazy, is to use the session to store the user info. If the user session exists, then the user is logged in.

Which languange are you using at the back-end?

AleMonteiro 238 Can I pick my title?

Try this:

a, a:link, a:hover, a:active, a:visited {
    color: #fff;
}
AleMonteiro 238 Can I pick my title?

But if 'qr' is defined on the html, what qr[i].val is supposed to be?

AleMonteiro 238 Can I pick my title?

You gave no info that can be analysed. Please post the code with problem, and if possible a test page or upload to jsfiddle.net.

AleMonteiro 238 Can I pick my title?

That's right, but I didn't even try to correct the code because was simpler to just remake it, a little more sophisticated.

I can't stand a lot more of code than it's actually needed.

AleMonteiro 238 Can I pick my title?

But did it solve your problem?

AleMonteiro 238 Can I pick my title?

I get it, I don't know the cause for your error, but take a look at a piece of my code using excel interop, maybe it can help you:

Excel.Worksheet sheet = (Excel.Worksheet) sheets.get_Item( i + 1 );

Excel.Range usedRange = sheet.UsedRange;
Excel.Range columns = usedRange.Columns;

for ( int c=0; c < columns.Count; c++ )
{
    Excel.Range cell = (Excel.Range) usedRange.get_Item( 1, c + 1 );
    if ( cell.Value2 != null )
    {
        // ... do what you need
    }
}
AleMonteiro 238 Can I pick my title?

Try this to block space:

$("#nickname").keypress(function(evt){
            if ( evt.keyCode == 32 ) // space
            {
                return false;
            }
        });

Here's my whole test:

<head>
        <script type='text/javascript' src='http://code.jquery.com/jquery-1.4.4.min.js'></script>
        <script type="text/javascript">

            $(function(){

                $("#nickname").keypress(function(evt){
                    if ( evt.keyCode == 32 ) // space
                    {
                        return false;
                    }
                });

                $("#nickname").change(function(){
                    str = $(this).val();
                    $("#log").append("<br/>change: "+ str);
                });
            });

        </script>
    </head>

    <body>
        <input type="text" name="nickname" id="nickname" />
        <div id="log"></div>
    </body>
AleMonteiro 238 Can I pick my title?

I didn't understand what you are trying to do, please explain it more carefully.

AleMonteiro 238 Can I pick my title?

But what's your problem? What doesen't work?

AleMonteiro 238 Can I pick my title?

The code you posted isn't complete, I can't test it as it is. Please post something that can be tested.

And by the way, where is 'w' and 'qr' defined?

AleMonteiro 238 Can I pick my title?

Maybe this test can help you out:

<script type='text/javascript'>
window.onload = function() {
    var strScript = 'function dynamicLoadTest(text){ alert("dynamicLoadTest: " + text);  }';
    eval(strScript);
    dynamicLoadTest("Fuck! It's works!");
}
</script>
AleMonteiro 238 Can I pick my title?

What's the problem?

AleMonteiro 238 Can I pick my title?

Hi, I didn't understand anything about your problem.

Please be more specific and try to explain what you want and what the problem is.

AleMonteiro 238 Can I pick my title?

What do you mean by wrong filtering? It's returning something it shouldn't or not returning something that it should?

Anyway, I would try DateTimePicker.Value.ToString("yyyy-MM-dd")

AleMonteiro 238 Can I pick my title?

In Brazil, the development of a restaurant software could cost from $5k to $30k (R$10k to R$ 60k).

But it depends on the functionalities. IE.: if it will register clients, products, staff, internet sales, delivery, if it will use printers, displays, scales, cards and so on.

Depending on how far the system goes, it can be pretty expensive.

And this is only considering one plataform(desktop or web), but in restaurants it's nice to have an mobile app for the waiters to make the orders.

What I want to say is that it's hard to ask for a budget without the list of functionalities, without a pre-defined scope.

AleMonteiro 238 Can I pick my title?

I thin your problem is with the dashes(right and left) aligned with float. I don't like to use float, instead I use this class to align inline:

.inline
{
    position: relative;
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    vertical-align: top;

    *display: inline;
}

Try it and let me know.

AleMonteiro 238 Can I pick my title?

It's sounds a little specific to me, I don't know if you'll find something ready out of the box.

But there is not only JQuery, there's a lot of others JS frameworks that you might want to look into. Some examples:
ExtJS
YUI Library
MooTools
Prototype

But if you don't find it, you'll have to build it.

AleMonteiro 238 Can I pick my title?

Hi Laura, try this:

function showImage(imageFileName) 
{
    // get image element
    var theImageElement = document.getElementById("cameraImage");
    // get caption element
    var theCaptionElement = document.getElementById("imageCaption");
    // change what image is displayed
    theImageElement.src=imageFileName;  

    // Set the name to lower case to make an case insensitive comparison
    imageFileName = imageFileName.toLowerCase();

    if(imageFileName == "canon_20d.jpg")       
    {
        theCaptionElement.innerHTML = "Canon 20d";
    }
    else if(imageFileName == "fuji_s3pro.jpg")     
    {
        theCaptionElement.innerHTML = "Fuji S3 Pro";
    }
    else if(imageFileName == "fuji_9500.jpg")      
    {
        theCaptionElement.innerHTML = "Fuji 9500";
    }
    else if (imageFileName == "sony_r1.jpg")      
    {
        theCaptionElement.innerHTML = "Sony r1";
    }
}

Hope it helps.

AleMonteiro 238 Can I pick my title?

Please post the complete code so we can run it, or, better yet, upload it to jsfiddle.

AleMonteiro 238 Can I pick my title?

Did you check the EPPlus library?