• How do get an applet to work in the text widget. It’s meant to show an animated banner. The code is:

    <APPLET CODE=”Animate1.class” WIDTH=”170″ HEIGHT=”90″ ALIGN=”Middle”>
    <PARAM NAME=COPYRIGHT VALUE=”Animate applet, Copyright 1997 Sun Microsystems, Inc., all rights reserved.”>
    <PARAM NAME=DOCUMENTATION VALUE=”Documentation found at: http://www.xm.com/cafe/”&gt;
    <PARAM NAME=WIZARD VALUE=”Created with J-Perk. J-Perk Web site at: http://www.mcwebsoftware.com/j-perk”&gt;
    <PARAM NAME=SOUND.ACTIVATION.0 VALUE=”auto”>
    <PARAM NAME=TRANSITION.STEP.0 VALUE=”30″>
    <PARAM NAME=TRANSITION.RATE.0 VALUE=”100″>
    <PARAM NAME=TARGET.0 VALUE=”_blank”>
    <PARAM NAME=TARGET.1 VALUE=”_blank”>
    <PARAM NAME=IMAGE.0 VALUE=”est1.gif”>
    <PARAM NAME=IMAGE.1 VALUE=”est2.gif”>
    <PARAM NAME=PAUSE.0 VALUE=”3000″>
    <PARAM NAME=TRANSITION.TYPE.0 VALUE=”scroll(2)”>
    <PARAM NAME=TRANSITION.TYPE.1 VALUE=”scroll(6)”>
    <PARAM NAME=URL.0 VALUE=”http://www.whatworks4prostatecancer.com/est.html”&gt;
    <PARAM NAME=URL.1 VALUE=”http://www.whatworks4prostatecancer.com/est.html”&gt;
    <PARAM NAME=CYCLES VALUE=”0″>
    <PARAM NAME=BGCOLOR.0 VALUE=”255,255,128″>

    What needs to be added to make it work?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Err.. Nothing needs to be added to make it work. The text widget doesn’t modify your text at all, it puts it into the place where the widget is in the sidebar, verbatim.

    If you’re having problems, then you should probably put the widget on your page, load the page, then view the source of the page to see what is getting changed between what you typed and what is appearing on your page.

    Offhand, I’d say that you probably want to close your applet and param tags properly though.

    Thread Starter bran8464

    (@bran8464)

    The applett ‘needs’ two css files which are ‘supposed’ to be in the same directory as the page that the code appears on. I assume that this should be in the same directory/folder as the theme ‘cos the sidebar.php page is there. Tried putting them in the widgets plugin file but that didn’t work. Wondering where they should go or would the applett code work on it’s own if it was altered and if so, how?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Ummm.. I’m really not following you too well here, but I’ll try.

    You say that it needs some kind of CSS files. I assume these are supposed to be included in the page itself. In which case you’ll need to either copy the relevant CSS bits into your theme’s CSS files, or include the CSS files into your page generator itself.

    CSS files don’t get pulled in externally, at least, not like that. CSS files get loaded with the page itself and parsed into memory. If you need to include these new CSS files in the page, you’ll probably need to modify header.php to add some more link rel=”stylesheet” type=”text/css” links to the files.

    Nothing will go into the widget plugin folder. That would not make any sense whatsoever.

    Thread Starter bran8464

    (@bran8464)

    The files appear to be binary. Guess I’ll have to find a plugin that can display animated banner ads that will work with a widgetised sidebar.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Binary? Then they’re not CSS files. Are you talking about class files? Those are compiled Java.

    Thread Starter bran8464

    (@bran8464)

    yes, sorry, got it wrong. They are class files.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Okay. Well then, the class files need to be wherever you define them as being in the Applet code. Given your code above, probably in your main blog directory.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Putting applet in sidebar text widget??’ is closed to new replies.