Search:

Type: Posts; User: NDK; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    1,759

    What does this code mean

    Hi,

    I have a file with some code, but I don't know what this code is doing.

    This is the code:


    sub funct1()
    if(cint(<%var(0,1,66)%>)=1) then
    document.write "reset"
  2. Thread: C# - static

    by NDK
    Replies
    2
    Views
    1,881

    I found the same yesterday, but can someone...

    I found the same yesterday, but can someone explain it with his own words?

    edit:
    Found more information on this site:
    http://www.daniweb.com/forums/thread96978.html#
  3. Thread: C# - static

    by NDK
    Replies
    2
    Views
    1,881

    C# - static

    When do we use static in c#?

    I'm reading a book and i see this

    static int val;
    or

    static void ShowDouble(){
    ...
    }
  4. Replies
    1
    Views
    1,819

    Resolved i can't find the delete button to delete this...

    i can't find the delete button to delete this post, but it's ok. I found the solution...
  5. Replies
    1
    Views
    1,819

    Resolved c# .NET - constructor

    Hi,

    I have 2 classes: class Person and class Address

    Is it possible to make a constructor in Person like something like this:

    public Person(String firstname, String lastname, int age,...
  6. Replies
    1
    Views
    2,542

    c# .NET - basic - get & set

    Hi,

    i'm programming for the first time in .NET (C#)

    I was wondering, what is the good solution to write getters en setters?

    Is this:

    public void getVar(){
    return m_var;
  7. Replies
    2
    Views
    4,915

    what you can try is this: CSS: * {...

    what you can try is this:

    CSS:

    * {
    margin: 0;
    }
    html, body {
    height: 100%;
    }
  8. Replies
    2
    Views
    1,421

    you use , try ...

    you use <a id="answer1">, try <a name="answer1">

    don't know if it will work, but you can try :)
  9. Thread: Var: Get URL

    by NDK
    Replies
    11
    Views
    4,285

    Resolved I did the test yesterday and it worked... this...

    I did the test yesterday and it worked...

    this was my test:

    <script type="text/javascript">
    var url = "http://www.mydomain.com/video.html?item=3"
    var item = url.split("item=");...
  10. Replies
    1
    Views
    1,675

    i've found it:...

    i've found it: replace(string.fromCharCode(13),"<br />")

    * topic can be closed *
  11. Thread: Var: Get URL

    by NDK
    Replies
    11
    Views
    4,285

    Resolved can't you just use the split method in...

    can't you just use the split method in javascript?
    var item = url.split("item=");

    item is now an array and then you can use item[1] (this is 3)
  12. Replies
    1
    Views
    1,675

    change "enter" in

    hi,

    i have an input-field where the user can write some text. How can i change the enters in his text in <br>?

    can i use replace.("*something*","<br/>") or what is the best solution?

    tnx
  13. Replies
    3
    Views
    1,692

    Resolved yeah, that was the only thing i could think the...

    yeah, that was the only thing i could think the problem was. Can i convert it to an integer?

    did not know there was a difference between string and int in javascript...
  14. Replies
    3
    Views
    1,692

    Resolved adding days to date

    I have a weird problem with adding days to a date.
    To add days i use: newEnddate.setDate(newEnddate.getDate()+extra);

    When i use a fix number it works fine.
    (var extra = 35)

    But if i ask the...
  15. Replies
    1
    Views
    1,727

    How to calculate time between two dates

    Hi,

    i'm trying to calculate the time between two dates. I already searched on internet, and i always see the same answer.

    But if i do it, it's not right...

    For example:

    Current date =...
  16. Thread: on close pop-up

    by NDK
    Replies
    0
    Views
    1,141

    on close pop-up

    Hi, i have a question

    at the moment, this is my code

    function executeWFAction2 (moveType, nodeId, target) {
    makeUserOwner(nodeId,"current");
    var url = "/wfaction/"+moveType+"?id="+nodeId;
    ...
  17. Thread: HTML anchor link?

    by NDK
    Replies
    2
    Views
    11,090

    or what you can do, you keep your links in...

    or what you can do, you keep your links in images. But on the bottom of your site you add your links in text.

    You see that on many sites, and i don't think it will make your design awful.
    ...
  18. Replies
    7
    Views
    5,942

    and the code is freemarker...

    and the code is freemarker

    http://freemarker.sourceforge.net/images/overview.png
  19. Replies
    7
    Views
    5,942

    ok, i have the answer for ?? apparently it's...

    ok, i have the answer for ??

    apparently it's just to see if the var exist...
  20. Replies
    5
    Views
    6,283

    Resolved don't think it's possible for an iframe, not sure

    don't think it's possible for an iframe, not sure
  21. Replies
    7
    Views
    5,942

    it's used for a DMS. The code is used so we...

    it's used for a DMS.

    The code is used so we can generate a dashboard for the DMS.

    so you have something like that:



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
  22. Replies
    7
    Views
    5,942

    html.ftl problem if condition

    i have a html.ftl page where i can see several #if condition, here is an example:


    <#if c.isDocument && !c.parent.isDocument && c.properties["present"]??>

    <#if !(c.properties["cm:creator"] !=...
  23. Replies
    2
    Views
    15,656

    Multiple conditions in while loop

    edit: i've made a mistake, i don't need a loop like this. But if i need one, is it correct to use an extra () like this ?


    ...
    while((a<1||a>10)&&b==0){
    ...
    }
    ...
Results 1 to 23 of 23