Advanced Search

Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    10,852

    Moving the Viewport of a DrawingPanel

    I have a JFrame that is 500x500 and inside that is a DrawingPanel that is 2000x2000.

    How would I change the view of the DrawingPanel so that I could see a different area other than from 0 to 500...
  2. Replies
    0
    Views
    1,665

    Filter/Search outlook address list

    The code below reads the Global Address List in Microsoft outlook.
    How do I search the address list or filter out unwanted entries.

    There are about 100,000 names in the list and I only want the...
  3. Replies
    5
    Views
    3,279

    The file which I'm trying to do this in is a .hta...

    The file which I'm trying to do this in is a .hta (Hyper Text Application). I'm trying to load HTML code from a .txt file into a <span></span>. The .txt file contains a template html code that must...
  4. Replies
    5
    Views
    3,279

    Inline Variables like ASP.net

    Is it possible to reference a javascript variable as you would an asp.net variable.


    var test="hello";

    <input type="textarea" value="<%=test%>">

    Ideally the value of the textarea should now...
  5. Also using -=- is the same as += but it will...

    Also using
    -=- is the same as += but it will be treated as a number rather than a string.
  6. Is there a Java equivalent to the Javasciprt setInterval() ?

    I'm creating a single class java program that needs to constantly run a method.

    I know in javascript you can do setInterval("Method",time);
    but this obviously does not work in java. Any help...
  7. Replies
    3
    Views
    4,695

    Resolved Thanks for your help. I removed void because I...

    Thanks for your help. I removed void because I though string replaced it.
  8. Replies
    3
    Views
    4,695

    Resolved Return Issues

    I'm trying to pass a string into the method and have it return the results from mydata2. It keep getting the error "missing return statement".



    // Main method
    public static String readData...
  9. Replies
    6
    Views
    2,799

    With that the button will never disable once you...

    With that the button will never disable once you have been to 2 webpages.
    Even if you go back to the first page it will still say there are 2 items in the history.
  10. [DHTML + AIM] = Multiplayer Cross Browser Games

    1) CODE TITLE: DHTML + AIM = Multiplayer Cross Browser Games

    2) AUTHOR NAME/NOTES:

    This is done using the web aim (http://developer.aim.com/webaim)
    The code is not by me but I modified it....
  11. Replies
    2
    Views
    3,745

    I'm not really sure why i haven't received and...

    I'm not really sure why i haven't received and replies. Maybe pseudo was the wrong choice of words. This really works. It allows for data communication between 2 javascript applications on 2...
  12. Replies
    1
    Views
    1,369

    This is what the code in the head should be....

    This is what the code in the head should be. Notice the onload event is the only change


    function menuRedirect(){
    var select = eval(document.redirectForm.elements[0].selectedIndex);
    var...
  13. Replies
    6
    Views
    2,799

    Your options are kinda limited. history.back()...

    Your options are kinda limited.

    history.back() or history.go(-1)
    history.foward() or history.go(1)
    history.length


    history.length seems like a ray of hope... but its not.
    if you start at...
  14. Replies
    2
    Views
    3,745

    [DHTML + FSO] Psuedo Sockets

    1) CODE TITLE: Psuedo Sockets


    2) AUTHOR NAME/NOTES: Gavin Delphia

    3) DESCRIPTION:
    This demo shows that is is possible to send data packets between 2 applications using javascript on a lan....
  15. Replies
    3
    Views
    2,121

    var my_deck=new Array(1,2,3,4,5); var...

    var my_deck=new Array(1,2,3,4,5);
    var area_deck=new Array();
    function ShuffleDeck(){
    arena_deck=my_deck.slice(0,my_deck.length);
    area_deck[0]="a";
    alert(my_deck)
    }
    ShuffleDeck()
  16. Replies
    3
    Views
    2,121

    So how do I fix it so this does not happen?

    So how do I fix it so this does not happen?
  17. Replies
    3
    Views
    2,121

    Help with array

    i have the following code:


    var my_deck=new Array(1,2,3,4,5);
    var area_deck=new Array();
    function ShuffleDeck(){
    area_deck=my_deck;
    area_deck[0]="a";
    alert(my_deck)
    }
  18. Replies
    35
    Views
    12,056

    I honestly didn't create the conversion. I found...

    I honestly didn't create the conversion. I found the script on a website and asked premission to use it but no one knew who made it. I recreated it using the codes that already existed (except \n...
  19. Replies
    35
    Views
    12,056

    Completly Fixed.. I Hope

    So I got rid of all the global this.variable and I only used this. to call functions within the namespace.

    I also made all the functions in the namespace format with better names that "To".
    ...
  20. Replies
    35
    Views
    12,056

    ok, I'm going on vacation soon but I'll work on...

    ok, I'm going on vacation soon but I'll work on converting them all to use namespace rather than this.variable
  21. Replies
    35
    Views
    12,056

    [UPDATED VERSION] my_script.js

    No longer contains $ in function names.
    New Binary and Ascii Conversion by Twey. - Credited in file too :)

    Added Custom Error handler
    Added Window Resizing

    Although some of the functions do...
  22. Replies
    35
    Views
    12,056

    Thanks I'll start using that in my scripts...

    Thanks I'll start using that in my scripts instead of the this.variable.
  23. Replies
    35
    Views
    12,056

    I'm unfamiliar with your code so could you create...

    I'm unfamiliar with your code so could you create the namespace using my code as an example without the $ signs :)
  24. Replies
    35
    Views
    12,056

    I used the dollar sign to prevent duplicate...

    I used the dollar sign to prevent duplicate functions. I intended people to link the script and start using it. I wanted to make sure my functions and there functions were unique and short so I added...
  25. Replies
    35
    Views
    12,056

    I intended this.x and this.y ect so that you...

    I intended this.x and this.y ect so that you could do the following

    var conversion1=new $ToAscii('00000000'); - returns \n
    var conversion2=new $ToAscii('01010000'); - returns P

    then later if...
Results 1 to 25 of 30
Page 1 of 2 1 2