Not signed in (Sign In)

Categories

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

RecentTags

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

This discussion has been inactive for longer than 90 days, and is thus closed.
    • CommentAuthortobaba
    • CommentTimeOct 6th 2006
     permalink
    Hello!

    I want to use a java-applet. When I insert the code into a widget it works. But i want to run this applet into a own page (it´s to big for a widget). When i insert the code into a page it doesn´t work (wysiwyg unabled).
    • CommentAuthorDenis
    • CommentTimeOct 6th 2006
     permalinkBuy a Drink

    Ewww. I fear this is almost hopeless because of WP will sanitize your posts' content to a point where you cannot insert this kind of stuff into your posts.

    Try the following, though:

    a) create a my-applet.php file where you insert your applet code as you normally would. Drop this file in the blog folder (the one where your wp-config.php file is).

    b) activate the phpexec plugin, disable the wysiwyg editor

    c) in your post, use the following to insert the applet:

    <?php include ABSPATH . 'my-applet.php'; ?>
    

    Please post a reply in this forum to let other users know if this worked.

    Best, D.

    • CommentAuthortobaba
    • CommentTimeOct 6th 2006 edited
     permalink
    This message turns up:

    <meta name="description" content="
    Parse error: syntax error, unexpected '<' in /var/www/htdocs/cust/w3neurofx/www.neurofx.net/saxo.php on line 2

    unfortunately this is the very first php-file i´ve created...

    here ist is:

    <?php
    <script type="text/javascript"
    src="http://cs.iitech.dk/Site/PartnerProgramme/Scripts/
    ChartAppletScripts.asp?id=1263078"></script>

    <script type="text/javascript">

    ChartApplet1(
    "1263078", // User Number
    "100%", // Width
    "300", // Height
    "6", //
    "EURUSD", // Instrument List
    "C0C0C0", // bgCol
    "000000", // fgCol
    "163456", // menuBG
    "FFFFFF", // menuFG
    "000000", // chartCol
    "FFFFFF" // chartBG
    );

    </script>
    ?>
    • CommentAuthorDenis
    • CommentTimeOct 6th 2006
     permalinkBuy a Drink

    remove the <?php and ?> and things should work fine.

    • CommentAuthorDenis
    • CommentTimeOct 6th 2006
     permalinkBuy a Drink

    btw: this is a javascript, rather than a java applet. you could also have used a simple ad unit.

    Cheers, D.

    • CommentAuthortobaba
    • CommentTimeOct 8th 2006
     permalink
    Thank You for support!

    i´m sorry - i didnot learn already what a unit is and how to ad it...
    • CommentAuthorDenis
    • CommentTimeOct 10th 2006
     permalinkBuy a Drink

    www.semiologic.com/software/ad-space/

    D.


This discussion has been inactive for longer than 90 days, and is thus closed.