SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict richard_h's Avatar
    Join Date
    May 2002
    Location
    London
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    updating url param - java applet

    Hi
    I'm trying to load different java applets with a click of a button ... but with no success. Here's my code:
    Code:
    <APPLET name="IpixViewer" code="IpixViewer.class" archive="IpixViewer.jar" width="350" height="240" codebase="http://localhost/ipix/test">
    <PARAM NAME="url" VALUE="http://localhost/ipix/ipix3/entrance_hires.ipx"> 
    <PARAM NAME="toolbar" VALUE="on"> 
    <param name="Spin" value="on">
    <PARAM NAME="spinspeed" VALUE="10"> 
    </APPLET>
     
    // form button to change the applet
    <form>
    <input type="button" value="Another one" onClick="document.IpixViewer.setURL('http://localhost/ipix/ipix1/livingroom_hires.ipx')">
    </form>
    Any help, greatly appreciated.

  2. #2
    SitePoint Addict richard_h's Avatar
    Join Date
    May 2002
    Location
    London
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I believe the javascipt applet object has no properties ... so don't think I can change the URL param.

    On a seperate note this ipix technology is rubbish (and expensive) ... don't every be tempted with one of their virtual tours.


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
  •