SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2000
    Location
    Leeds, UK
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I already know how to open a window, however I have 2 problems, one being, what do you need to do to make the source window close, and the other one being, how could I get this to work in a Seacrh applet, here is the HTML i am currently using:

    <applet archive="search/search.jar" code="SearchApplet4ech.class" width="100" height="40">
    <param name="TIMED" value="true">
    <param name="RESOURCE.FILE" value="search/out.txt">
    <param name="TARGET" value="_blank">

    How could the document.close() be implemented into this?? thanks very much.

    Hell.

    Oh, and P.S - How would I display an Image insted of just the basic "launch" button which it has??

    Thanks.

  2. #2
    SitePoint Guru CJ's Avatar
    Join Date
    Apr 2000
    Location
    Mechelen, Belgium, Europe
    Posts
    684
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    why are you still using Java???? I think everything you can do with Java on webpages can be achieved with other formats which load faster and take less cpu.

    Christophe

    ------------------
    http://freesources.net - the ultimate webmaster resources site

  3. #3
    SitePoint Member
    Join Date
    Jun 2000
    Location
    Brossard
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote/font><HR>Originally posted by HellFire:
    I already know how to open a window, however I have 2 problems, one being, what do you need to do to make the source window close, and the other one being, how could I get this to work in a Seacrh applet, here is the HTML i am currently using:

    &lt;applet archive="search/search.jar" code="SearchApplet4ech.class" width="100" height="40"&gt;
    &lt;param name="TIMED" value="true"&gt;
    &lt;param name="RESOURCE.FILE" value="search/out.txt"&gt;
    &lt;param name="TARGET" value="_blank"&gt;

    How could the document.close() be implemented into this?? thanks very much.
    <HR></BLOCKQUOTE>

    The problem is that you have to hard code the closing in the Java applet.

    Usually in JavaScript, you just write windowName.close();



    ------------------
    Dominic Tremblay
    AceHTML 4 Freeware
    http://www.visicommedia.com

  4. #4
    SitePoint Enthusiast
    Join Date
    Apr 2000
    Location
    Palo Alto, CA
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if its (class) doesnt have an option to do so, you will not be able to do it. If you got .java files, then you just write some code.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •