Applet overlaps HTML elements

Hi,
Anyway not to let Applet overlap other HTML elements? I saw this is a classical problem in applet/flash. But one workaround in Flash is using a parameter: <param name="wmode" value="transparent">. This can let HTML elements be on top of Flash.
So are there any similar ways in Applet?
Thanks!

I am sorry for not describing the problem clearly.
The HTML elements here I mean are those with an absolute positioning, for example, a flowing <div> element which has an intersection part with an applet and should be exactly positioned over an applet.
An article has shown the phenomenon in Flash. In that article the "Search Form" is an HTML element which should be rendered above the Flash objects.
However, in most cases, objects like Flash and Applets usually ignores z-indexes assigned to HTML elements and are always on the topmost and covers these absolute positioned HTML elements if they overlaps. That article hints me about having a parameter like "<param name="wmode" value="transparent">" to force the Flash object rendered below the HTML elements, but I just cannot find a similar way in Applet.
Any suggestion? Thanks!

Similar Messages

  • Swf overlaps HTML

    Hello!
    I am developing for Adobe Air 2.5 with HTML and JavaScript.
    I use HTMLLoader component loading external url and some urls can include swf. In that case swf overlap my HTML elements.
    So could I disable overlapping of my HTML via some properties of the HTMLLoader or in some another way?
    Thanks!

    Hello.
    So, I could solve this issue with a little trick.
    As I could not to access to document which was loaded into HTMLLoader (non-application sandbox), I generate bitmap from content of the HTMLLoader and swap loader with created bitmap when modal dialog box is opened. Unfortunaly genetated bitmap can not include flash or pdf elements because it is restriction of the technology and such behavior described in the documentation, but it is not so critical trouble for me as when flash overlaps everything dialog.

  • Error while calling applet in HTML in SAP NWDS

    Hi,
    We have written a java code with Main method and we are trying to run it on web. So we have written another piece of HTML code where we are calling the othe program with applet. But getting below error.
    Below is exce[ption I am getting while running jree charts made in java :
    Java Plug-in 1.6.0_24
    Using JRE version 1.6.0_24-b07 Java HotSpot(TM) Client VM
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.reflect.InvocationTargetException
    at com.sun.deploy.util.DeployAWTUtil.invokeAndWait(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.runOnEDT(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.RuntimeException: java.lang.InstantiationException: org.jfree.chart.demo.BarChartDemo
    at sun.plugin2.applet.Plugin2Manager$12.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.InstantiationException: org.jfree.chart.demo.BarChartDemo
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    ... 15 more
    Exception: java.lang.reflect.InvocationTargetException
    Below is html code run to call applets :
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "" title="http://www.w3.org/TR/html4/loose.dtd">" class="link">http://www.w3.org/TR/html4/loose.dtd">
    (http://www.w3.org/TR/html4/loose.dtd)
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Hello</title>
    </head>
    <body>
    <applet code=org.jfree.chart.demo.BarChartDemo archive="src.jar" width="320" height="120"></applet>
    </body>
    </html>
    Please suggest.
    Regards
    Agamani

    Hi,
    Though there are a lot of importing parameters, you should give only one structure for outtable, and read as index 1 and index 2.
    FORM GET_SPRAS TABLES intable   STRUCTURE itcsy
                                              outtable  STRUCTURE itcsy.
      DATA: lv_kunnr LIKE kna1-kunnr.
      CLEAR: GV_SPRAS.
      lv_kunnr = intable-value.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = lv_kunnr
        IMPORTING
          output = lv_kunnr.
      SELECT SINGLE LAND1 SPRAS INTO (gv_land1, gv_spras) FROM KNA1
        WHERE KUNNR = lv_kunnr.
      IF sy-subrc = 0.
        READ TABLE outtable INDEX 1.
        outtable-value = gv_spras.
        MODIFY outtable INDEX 1.
        READ TABLE outtable INDEX 2.
        outtable-value = gv_land1.
        MODIFY outtable INDEX 2.
      ENDIF.
      IF gv_land1 EQ 'DE'.
        CLEAR: GV_LAND1,
               GV_SPRAS.
      ENDIF.
    ENDFORM.
    Edited by: Srinivas Kalluri on Mar 30, 2009 5:00 AM
    Edited by: Srinivas Kalluri on Mar 30, 2009 5:10 AM

  • How to include text as HTML elements (see DOMElement)

    I am working with Flash PRO CC v. 14.0.  to convert my Flash website to HTML5 / javascript
    I have converted a file to the HTML5 Canvas
    I am very happy that the new Flash Pro has the feature to convert to HTML5 canvas
    HOWEVER:
    In my original .FLA file project I use only one font: Copperplate Bold.  I use several sizes of that font within the project / scene
    In the original file for all text I use static text, Letter spacing, AntiAlias, AutoKern and single line (Linetype)
    - none of which the HTML5 canvas seem to allow / support?
    How do I maintain the FONT look that I have chosen in my original FLASH project, after I convert to HTML5 canvas?
    Is there a way in the HTML canvas to maintain the FONT look that I want?
    HTML5 canvas will not allow Font embedding
    The device font destroys the LOOK of my Copperplate Bold font.
    How do I include text as HTML elements (see DOMElements)?
    WARNINGS generated when I convert the original file into an HTML Canvas:
    Warnings generated while copying/importing in 140827a HTML test.fla:
    * AntiAlias is not supported in HTML5 Canvas document, and has been converted to DeviceFonts in an instance of Text.
    * AutoKern is not supported in HTML5 Canvas document, and has been removed in an instance of Text.
    * Frame Scripts have been commented
    * LetterSpacing is not supported in HTML5 Canvas document, and has been converted to 0.0 in an instance of Text.
    * LineType is not supported in HTML5 Canvas document, and has been converted to MultiLineNoWrap in an instance of Text.
    * Some artwork contains Hairline stroke, which is not supported in HTML5 Canvas document, and has been converted to Solid.
    * StaticText is not supported in HTML5 Canvas document, and has been converted to DynamicText in an instance of Text.
    New HTML Canvas Document created.
    NOTE:  So far the only way I have been able to maintain the font look is to convert the fonts to .png files
    This is painstaking work that I would like to avoid.
    Even then I still get a WARNING when I test my scene - (no doubt because I left the original FONT text  in guide layers)
    After conversion ON TEST SCENE:
    WARNINGS:
    Frame numbers in EaselJS start at 0 instead of 1. For example, this affects gotoAndStop and gotoAndPlay calls. (18)
    Only circular (not oval) radial gradients are supported. (85)
    Text support is limited. It is generally recommended to include text as HTML elements (see DOMElement). (6)
    Color effects are published as a filter and subject to the same limitations. (4)
    Filters are very expensive and are not updated once applied. Cache as bitmap is automatically enabled when a filter is applied. This can prevent animations from updating. (2)
    Content with both Bitmaps and Buttons may generate local security errors in some browsers if run from the local file system.
    HOW CAN I MAINTAIN the FONT LOOK that I have chosen for my project?
    How do I include text as HTML elements (see DOMElements)?
    ANY HELP will be appreciated
    A good, in depth, tutorial on the subject (FONTS) would be a BIG help to many using the convert to HTML5 canvas features.

    GOOGLE HAS
    https://www.google.com/fonts
    choose a font from above site
    then:
    google generates instructions on how to embed that font
    Montserrat
    3. Add this code to your website:
    <link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
    4. Integrate the fonts into your CSS:
    The Google Fonts API will generate the necessary browser-specific CSS to use the fonts. All you need to do is add the font name to your CSS styles. For example:
    font-family: 'Source Sans Pro', sans-serif;
    font-family: 'Ubuntu', sans-serif;
    font-family: 'Montserrat Alternates', sans-serif;
    font-family: 'Montserrat', sans-serif;
    font-family: 'Open Sans', sans-serif;

  • How to include HTML file in JSP using HTML elements or Javascript?

    Hi,
    I have around 15000 static html files one for each item which we display each upon invoking an item.The HTML file should be part of a JSP file.
    Please note that the name of the HTML file is determined dynamically
    Placing all the HTML files within the web application does not give us good performance so i would like to put all of them in the webserver.
    I am not able to include the file in the JSP using the jsp:include attribute if i place the HTML files in the webserver ,
    in order to do that i think should use either HTML element or javascript to include the HTML in the JSP.is there any alternative to <Jsp:include>
    Does anyone have an idea how to include the HTML file and take advan tage of webserver?
    Any ideas are appreciated

    What you need to do is simply read the HTML file from the disk and dump it out to the outputstream. It really is that simple.
    There's no reason you need to include all 15000 files in the actual WAR, you can place those files any place handy that is easy for the application to see (in another directory, or accessible from a file server if you have multiple front ends).
    Then, just write a utiility function that takes the output stream (i.e. the 'out' JSP variable), and the file name, read the file, and write it to the stream.
    If you start noticing performance issues, then you can try doing some caching, but truth is your OS should be doing that for you.
    But, truth be told that's the only practical way to do it.
    Another solution would be to use JavaScriipt and XMLHttpRequest (i.e "AJAX") to load the file at the client side, and simply replace a tag with the results.
    That's also pretty trivial to write, any web site talking about AJAX should give you hint there.
    Of course, that won't work for folks who have JavaScript turned off, or some other incompatible browser, whereas the server side solution obviously works everywhere.

  • WSRP Portlets - HTML elements renamed

    Moved from Webcenter Spaces.
    All,
    I have a JSR-168 portlet that I WSRP-ed using the wsrp-predeploy tool. I have this registered in Weblogic as a WSRP producer and added to Webcenter Spaces. What I notice is that when rendered on Spaces, the HTML elements including javascript function names are renamed and prefixed with some string values. For e.g. my input fields have "_adfp_portlet_field___adfpfp_f1723360181_adfpsep_f0_adfpsep_" added at the beginning and my javascript function names (within the script tag) have "adfp1723360181_" added.
    The portlet I have (it's the JasperServer portlet fwiw) uses Javascript functions for navigation. As a result of this renaming, none of the button controls work in the portlet.
    Is there anything I can do about this?
    Bijesh

    Yannick,
    That was brilliant. It worked.
    BTW, I notice that the edit mode of my portlet always opens in the Maximized state. This happens even though the portlet render url is constructed with "normal" window state. Is there anything else I need to do so Webcenter displays the portlet in normal mode?
    Edited by: Bijesh Krishnadas on Dec 5, 2010 7:33 PM

  • Html elements not declared as items ?

    Hello !
    Related to that thread (Reusing existing htp pages my question :
    Is there a chance to use html elements which are not declared as items (added a manually in html region…) ? I tried to cheat a bit by naming it p_t100 for example. Indeed, “p_t100” is accepted by the wwv_flow.accept procedure (no miss match error message). But, I’m unable to get back the posted value in an “after submit” process.
    Thank you in advance
    Pat

    Pat,
    It is not recommended you add your own HTML form elements to HTML DB pages. You point out one of the main reasons yourself. May I ask why you feel compelled to do this?
    Sergio

  • HTML elements obscuring scroll bar

    HTML elements on the below webpage obscures Firefox's scroll bar. That should never be alowed to happen, right? It only happens on that particular page though, not other pages on the same site. Haven't a clue as to why but it's obviously a bug that needs fixing.
    Page in question: http://pfangirl.blogspot.se/2010/05/rip-frank-frazetta-father-of-fantasy.html
    Screenshot: http://i.imgur.com/V8U4aav.png

    That is not the main scroll bar attached to the body or html element, but a scroll bar attached to a scrollable div container that is part of the page. This is just an example of a bad design. I see the same in Google Chrome and there this top widget is a lot longer with 5 elements.

  • Muse changes size of embedded HTML-Elements

    Hello,
    Muse drives me crazy: I've added some HTML-Elements to my site and Muse always rescales 'em. For example: One element is 317x356 Pixels - but Muse scales it at 396x423. Now I go and change it back at 317x356 - and a few seconds later it's again 396x423. And if I try to rescale it with the mouse, it gets bigger and bigger each time I try to rescale it.
    What can I do? What is wrong with muse?
    Best,
    Sven

    How are you setting the width and height? Are you editing the embed code or using the width and height controls in Muse? YouTube videos and most HTML embed code specify their own dimensions. If you've accidentally changed the dimensions of the container holding the embed code, the easiest way to reset the widget to the default size is to drag-resize the widget with the mouse to dimensions that are much smaller than their default size. Muse will initially allow you to resize to these smaller dimensions but will then ask the browser to render the embed code and report its dimensions. If the dimensions are larger than the current size of the container, Muse will reset the container's dimensions to match those reported by the browser.
    With respect to your bandcamp embed code, it consists of an iframe with internal dimensions of 356x317. For HTML embed code pasted onto a page, Muse does not know what is in the code but it needs to know the dimensions so it can put it in a container. So, Muse hands the embed code to the browser and lets the browser determine its dimensions and generate a poster image for design time rendering in Muse. These dimensions are the initial dimensions of the container. Muse lets you style this container by adding a stroke and fill, for example, and it lets you resize the container. If you attempt to resize the container by dragging a resize handle or using the width and height controls, Muse gives the html embed code a chance to adapt to the new size of its container by handing the embed code back to the browser along with the container it needs to draw within. If the embed code is smart enough to adjust its dimensions, it will do so and pass a new poster image and new dimensions back to Muse. In this specific instance, the iframe has hardcoded dimensions so it cannot change its size. However, Muse will still allow you to adjust the container's dimensions as long as you don't resize it to be smaller than what the browser says its dimensions should be.
    Try the following experiment with your bandcamp widget. Give it a colored fill. Resize it larger than 356x317 by dragging the bottom-right selection handle. When you let go of the mouse, Muse will pass the container and the embed code for the widget to the browser to give it a chance to resize the widget. The band camp code does not respond so you see a colored fill in the portions of the container not filled by the widget. Now resize the container smaller than 356x317. Muse again gives the widget a chance to resize but the browser again returns 356x317 for its dimensions. So, Muse adjusts the dimensions of the container to match this minimum size.
    If you want to really make the widget a different size, you need to adjust the dimensions specified in the embed code. If you want to experiment, try the following:
    1. Right-mouse click on the widget and select "Edit HTML..."
    2. Find the 'width' and 'height' values and change them to something else. Try changing the width to something like 500px. Make sure you preserve quotes and semicolons and only change the numbers so that you do not break any syntactical rules.
    3. Press OK and watch how it changes the widget.

  • I cannot see all html elements

    I have worked on a file in Dreamweaver. When I open it in Edge Animate and look at the Elements panel I can see all the html elements BUT I cannot see them on stage. I can only see the Edge Animation stage. How can I see the entire html page?

    If this is a subscribed calendar that is pulling the events from another server on the internet, and you have a CDMA phone (such as Verizon or Sprint), it may be because your carrier doesn't support simultaneous voice and data (i.e., when you're talking on the phone, the data connection is suspended dropping the subscribed calendar until you're finished with the call).  This is just a guess; I can't confirm this with my phone as I have AT&T which supports simultaneous voice and data.

  • Can JFC handle all event of html element

    I was just going through with JSF spec.
    I have some doubts .
    Can JSF hanlde all the events related to html element like key down , onclick etc, on form load.
    Instead of writing heavy javascripts for this on client , can i handle all this on server side with JSF.
    In my application , for each html field, we make server trip. To handle these html events , we are dependent on javascript. we don't use any fancy Elememnt.
    My concern is this ,
    by using JSF can i avoid this javascript coding on html event. and use JSF element with server side event handling .
    thanks

    If I understand your question, you're asking whether JSF component event handling can be done on the server side, rather than through the use of client side javascript.
    The answer, I suppose is yes; you'd write server side code that is run during an appropriate phase in the life-cycle after data is submitted to the server.
    However, I don't see much point in doing this. You're bound to create less scalable applications. If you're disgruntled about javascript, consider designing a set of JSF components based on XForms (provided you have an appropriate browser plug-in).
    Rob

  • How to put flash as a table or cell background or put HTML elements on top of flash file?

    Hi Guys,
    Could anyone please suggest me that how to put flash file as a table or cell background. I want to design a website and want to put HTML elements like table, images, text on top of flash file. so its look like animation in background. please visit following websites for an example: http://www.gagudju-dreaming.com/ and http://disneyworld.disney.go.com/
    Please guide me ASAP, thanks a lot in advance.
    Nitz.

    Hi Nitz
    The first thing you must do is convert your layout from table based to css based, (tables are o/k for tabular data, but not layout) but if you have never used css for layout it may be a steep learning curve.
    My recommendation is to start with the following tutorial on converting a table based comp to a css layout -
    http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt1.html
    More info on using css is available here - http://www.adobe.com/devnet/dreamweaver/css.html.
    Once you have converted your site the 'procedure' for using swf's as a background, (does not work well with flv's, but can be done using html5 video without a skin, to a limited extent) is the same as having a background-image resize automatically to the full browser view-port. The best way to learn how to do this is to view the code on a page using the background-image technique, view the code on this page - http://www.pziecina.com/indexold.php.
    However, instead of having a fluid layout I would recommend using a fixed layout size to start with, as this overcomes many problems. I have uploaded a basic test page to illustrate the idea to - http://www.pziecina.com/test_ideas/swfbg_test.html. As I said the page must be resized in this example in order to see the effect, (so do not forget to resize the browser, even if it is only by 1px), but if you use a fixed size layout and your swf's size fits the desired area correctly the resize should not be required.
    PZ
    www.pziecina.com

  • Applet overlaps

    Hai,
    I am having two applets in a single JSP as Tab Control. When we click first tab first applet will be loaded. When we click second JSP first tab will be hide (using Div) and second one will be loaded. When I click first tab I am hiding second tab and make visible first tab. My problem is, when I make visible first tab, some porting of second screen applet overlaps the first screen applet. If I minize the screen and if I reload it looks fine.
    I tried with paint,repaint and updateGUI option. But nothing works.
    Thanks

    Hai,
    I am having two applets in a single JSP as Tab Control. When we click first tab first applet will be loaded. When we click second JSP first tab will be hide (using Div) and second one will be loaded. When I click first tab I am hiding second tab and make visible first tab. My problem is, when I make visible first tab, some porting of second screen applet overlaps the first screen applet. If I minize the screen and if I reload it looks fine.
    I tried with paint,repaint and updateGUI option. But nothing works.
    Anybody updates?
    Thanks

  • I am starting to learn html, but when I tried to open the file saved, safari displayed all the html elements. what did I do wrong

    I am starting to learn web coding. when I saved my code with html extension and opened in safari, the html element is also displayed. what possibly did I do wrong?

    I was trying to attach a screen shot but it keeps missing....
    there is no option other than web page(.html) and Rich text. the other option is for microsoft document file.
    I am totally new with OS X  as I was a developer using Microsoft XP to develop main frame computer. I hope you can help to go through this issue.

  • How can I add an HTML Element to a RowSetBrowser

    Hello,
    I am looking for any help on adding a HTML element such as a checkbox to every row that is returned to the RowSetBrowser. I am wanting to have the value on the checkbox be the primary key such as a logid, so that I can have a user select multiple rows, and then create a combined log that will be stored in the database as one record.
    Could anyone please let me know if you can add an HTML element to the RowSetBrowser.
    An answer would be greatly appreciated ASAP. If this cannot be done, I would like to go about it another way.
    Thank You,
    Jason

    The idea is the following:
    First you create a new attribute in the ViewObject, with the following information:
    In the definition of the new attribute, there are three things to consider:
    In the information "Attribute":
    - Name: RowChecked
    - Type: String
    - Selected in Query: Yes
    In the information "Updateable":
    - Updateable: Never
    In the information "Query Column":
    - Alias: RowChecked
    - Expression: '<input type="radio" name="recomendado" value="'||TableName.ColumName||'">Text to show'
    - Queriable: Yes
    Then in the jsp page you use the setDisplayAttributes method where you include the attributes to render, to show this attribute you have created. And if you need pass this information to another page, include a a HTML Form before the RowSetBrowser, and after the bean a button to submit the information and finally close the HTML Form.
    I hope this information can help you.

Maybe you are looking for

  • Problems with the (WINDOWS 8 pro -64 BIT) IN THINKPAD L520 - 5016 RL2

     I have some problems with the (WINDOWS 8 pro -64 BIT) is not working properly IN THINKPAD L520 - 5016 RL2. 1. Message appears telling me that the drivers of the display  has been restored crash. 2. The mouse pointer moves very slowly sometimes, and

  • No signal received in Wave studio from turntable connected to SB External Line

    I have a SB external (USB) with a turntable connected to line in. While the output (including wave studio) works fine into my preamp/amp and speakers, and while I get the turntable signal signal via the external's headphone jack, it does not appear/r

  • Automatic Locking of Production Order on release

    Dear Experts, When the production order is released, the order should be "Locked" automatically. When changes are required, the production order is unlocked manually and changes are done. This is our requirement. Is it possible to lock the order on r

  • Need Help with setting up this Filter

    Hi, I need help making a filter sound like the one used in this youtube song. I tried setting it up but I've had no success; even though I know for a fact that this filter was made in Logic Pro 9 according to the maker of this song. I think there mig

  • Ichat away status

    Hi, My ichat recently been changing its status on its own. I usually put my status as away, and when I log off for a few hours and then log back on it will still say that I am away. Recently when I have been logging off then logging back on it's sayi