Element position regulation

Hello

How to place images in the order of the screen to reach overlaps or places them side by side?

If none of the existing managers do what you want:
http://supportforums.BlackBerry.com/T5/Java-development/how-to-extend-Manager/Ta-p/446749

Tags: BlackBerry Developers

Similar Questions

  • Element positioning Please Help Web site

    I am redesigning a web site I did for my small business to parents and I don't know how to do this thing properly.

    I'll include the website, so if someone is willing they have access to the source code viewing.

    www.actheatingandcooling.com

    The problem I have is I am just placing the text on top of an image, but at the same time, I want the page stay Center in the window of the web browser then expanded or compressed. The page currently operates to how I want it, but it requires a lot of work further and all the apdiv should be included after the elements on the page. Which translates to the need for a negative number in the style apdiv for example.

    {#temp}

    position: relative;

    Left: 30px;

    top:-300px;

    Width: 840px;

    height: 226px;

    z-index: 2;

    text-align: center;

    }

    I know that apdiv is for absolute positioning, but it is the only way I could find a way to get the page to look at how it works. I'm sure it's a mistake, how can I do this correctly? A book that I read mentioned something similar to this and said to wrap a an absolute position with a relative label is that the answer? If so how do you do that because the authors just mentions in passing and does not explain everything yet.

    It works on most of the browsers I checked but in safari adds 300 pixels down the page too, which does not look great and is worse than the div elements add up and the pages go on way longer than necessary. If someone is willing to look and the code source and tell me how it correctly I would appreciate greatly help.

    Novice in over his head,

    Joe

    There are several ways to place text on an image.

    1. in your image editing program, add the text you want to the image itself.  OR

    2. in DW, place your image as a background for any container it's in, then enter your text on the image.

  • Help with element position fixed on the screen, with a difference to follow!

    Hi guys

    While I don't have any examples online, it will be easier for you and I want to help explain my layout.

    I have a single page site, with 4 sections vertically. Each section is a div to 100% width and a height of 1200px to fill screen of the user, and obviously, this div contains a lot of divs for content.

    Now in a section, I want my navigation bar to ADOPT the screen as it scrolls down but does not scroll in the section located below or above it. So I put the item Nav to have this CSS code:

    .hostingBackgroundWrap .nav {}

    Width: 150px;

    height: 100px;

    float: left;

    position: fixed;

    left: 0px;

    background-image: url(images/td_bg3.png)

    It works ALMOST well. It follows the screen down, he won't go in the section below when I scroll down... but it spread in the previous sections if I scroll to the top of the screen.

    Here is the CSS code for the .hostingBackgroundWrap just in case it is necessary, which is be more or less the same coding for each of the sections above and below.

    {.hostingBackgroundWrap}

    height: 1200px;

    Width: 100%;

    background-repeat: repeat;

    border-top-width: 0px;

    border-right-width: 0px;

    border-bottom-width: thick;

    border-left-width: 0px;

    border-bottom-style: solid;

    border-bottom-color: #30312F;

    background-image: url(images/bg_hosting.jpg);

    position: relative;

    Thank you!

    Can you please put to the top of your file online on your server and give us a link?

    What you want to achieve is called a "post-it". There is a pure jQuery plugin that will do just fine for your needs. Take a look here: http://labs.anthonygarand.com/sticky

  • Element input event and oninput

    I'm trying to get a user input to work. I found a code on this forum to create the input field and add it to the stage, that works well.

    I would use the oninput event generated by the input field. I can listen to the event if I use the d.oninput (see code below), but I can't access this.gotoAndStop () from inside the event handler (gives a TypeError). Makes me think that there is a problem with the scope.

    I went back to the documentation of createjs and they suggest dcjs.d. event should do, but I get an error with that too - TypeError: dcjs is not defined. I tried with the onclick event following their example, but who gave the same error.

    I can get around it and the use of an indicator in a timer to check if you need to reset (which is what gotoAndStop (69) fact), but seems a shame.

    The code that creates the element:

    Create the input element

    var d = document.createElement ("input");

    d.style.Visibility = 'hidden ';

    d.style.position = 'absolute ';

    d.style.Left = 0;  defines 'the origin' to (0,0)

    d.style.Top = 0;

    d.setAttribute ("type", "text");

    round = 10;

    d.Height = "80";

    d.ID = 'inputField ';

    d.Value = 5;    Initial value in the input field

    Attach the element of CreateJS stage

    canvas.parentNode.appendChild (d);

    DCJS var is new createjs. DOMElement (d);

    DCJS.x = 55;  element position here

    DCJS.y = 105;

    stage.addChild (dcjs);

    It works, except for the call to this.gotoAndStop (69) creates a TypeError - does not recognize the function

    d.oninput = function() {}

    var entry = Number (d.value);

    If (isNaN (input)) {}

    Alert ("enter a number");

    } else {}

    printNumber();

    this.gotoAndStop (69);

    this.placeHolders (3, 4);

    }

    }

    It does not work - TypeError - does not recognize dcjs.d

    DCJS.d.oninput = function() {}

    Console.log ("Input");

    }

    Try:

    Create the input element

    var d = document.createElement ("input");

    d.style.Visibility = 'hidden ';

    d.style.position = 'absolute ';

    d.style.Left = 0; defines 'the origin' to (0,0)

    d.style.Top = 0;

    d.setAttribute ("type", "text");

    round = 10;

    d.Height = "80";

    d.ID = 'inputField ';

    d.Value = 5; Initial value in the input field

    Attach the element of CreateJS stage

    canvas.parentNode.appendChild (d);

    DCJS var is new createjs. DOMElement (d);

    DCJS.x = 55; element position here

    DCJS.y = 105;

    stage.addChild (dcjs);

    It works, except for the call to this.gotoAndStop (69) creates a TypeError - does not recognize the function

    var tl = this;

    d.oninput = function() {}

    Console.log ('input');

    var entry = Number (d.value);

    If (isNaN (input)) {}

    Alert ("enter a number");

    } else {}

    printNumber();

    tl.gotoAndStop (69);

    this.placeHolders (3, 4);  have not now what it is supposed to do but is probably problematic

    }

    }

    It does not work - TypeError - does not recognize dcjs.d

    /*

    DCJS.d.oninput = function() {}

    Console.log ("Input");

    }

    */

  • How to hide post text of item in page element

    Hi friends,

    I have a page titled Justification in which under the element text of this article post I give as
    <br><div style="color:blue" font size="1">(240 char max)</font></div>
    Inorder to view a note behind the element.

    But the element of justification page must don't come until after checking the page of another element called reason (which is an option button). So for this I wrote a DA(hide/show) for display of the justification of the point of the page only when the page right element is checked.

    But the problem is that the text of element position within this element of page Justification does not hide with this element (in the DA).


    How can I hide the text of item post in the justification for page element. so I can see this text when the reason page element box is checked as well as the justification for a page element.

    Brgds,
    Mini

    Hey Mini,

    I just write bad :/

    The function is $x_Hide () not $p_Hide ();

    Thnx

  • Positioning of the quiz slide objects

    I'm working on a project, Captivate 5, with many slides of quiz. The questionnaire slides have implemented project by someone else. I need to move different quiz slide objects (submit button "back" button "clear" key, the question text, review area, legend of suspicion, etc.).

    These items must be moved to the same position in all the slides in the quiz. I've been moving these items in one place and it's very tedious.

    Is it possible to create a style for all these objects move on all the slides in the questionnaire at the same time?

    Each of the items you mention on the quiz slide are a special type of object in Captivate.

    So although the object Styles does not allow you to specify the coordinates X and Y of an object, you CAN simply move one of these objects on a slide where you want them all and then go to the accordion in Position and size properties (accordion in Cp5.5 Transform) tab, look for the small dropdown in the upper right the accordion and choose the option apply to all items.

    The name is a bit misleading because it make you believe it will actually be the adjustment of positioning of each element in the project.  But the fact is that it it will only apply to items OF THE SAME TYPE OBJECT. So well that you would never do something like text captions in the main part of your project, you can do it safely for things like Submit, Clear, back, and buttons in quiz slides because all of them are in fact totally different types of objects to the extent of the Captivate is concerned.

    Note also the possibility to apply it to all elements of the same style.  This means that you can create custom styles and apply them to only certain buttons or legends, if you wanted to only CERTAIN elements positioned in a certain way, while all the other elements should keep their original position.

  • Disable/hide the message text element image of a field of text in javascript

    Hi friends,

    I added a text of element position for one of the textfield object in my page as
    <img src="#IMAGE_PREFIX#ws/small_page.gif" onclick="javascript:popUp2('f?p=&APP_ID.:99:&SESSION.::NO::P89_select:2', 500, 500);" />
    Which will display a page when click the image

    I want to disable the textfield depending on certain conditions. I do it in javascript. The text field is disabled
    but the message text image is present and is clickable. I want to hide or disable the image displayed in the message as well item. Is it possible to do so. Help, please

    Thank you
    TJ

    Hello

    If you try to hide the entire line where the point is?
    http://download.Oracle.com/docs/CD/E14373_01/apirefs.32/e13369/javascript_api.htm#CHDIIJHG

    Or it works if you wrap your article to the div tag and try to hide
    Add to the text of item pre

    end post text element

    
    

and change your javascript to hide id Px_ITEM_CONTAINER

BR, Jari

Published by: jarola February 2, 2010 08:58

  • Find Dates between 2 dates

    Hi all

    I use SOASuite 11 g. Using XSLT, I want to find some dates between 2 dates

    For example, if I input 01-02-2016 and 2016-02-07


    The XSLT must return

    2016-02-01,.

    2016-02-02,.

    2016 02-03,

    2016 02-04,

    2016 02-05,

    2016 02-06,

    2016 02-07


    can someone suggest me how to build this logic in the xslt file?


    Thank you

    (1) fn:days - of-life feature gives you the difference in days between two dates.

    (2) use the value above in the foreach loop and then create a counter variable and map it to element position().

    (3) now use this counter variable in the Sub method within the loop for.

    xs:date(fromdate) + xs:dayTimeDuration(concat('P',$counter,'D'))

    (4) you can now print this value (or) copy it to a repetitive Xml structure element. When copying, you can use the $counter as an index for the repetitive element of the target.

    Now if you want including and to the dates too, then add 1 to the output in step 1 and step 3 use $counter - 1 in xs:dayTimeDuration.

    It will be useful.

  • Resizing to a different liquid width

    Dear Adobe community,

    I'm building a website that is 1200 px wide and so I am making a liquid-type, which is a site that adapts to the web browser window.

    I want to place two elements side by side that are also liquid.

    Because I set the minimum width of the container to 800 px I don't want these items to always be next to another, as the web browser reduces its width to, or near, this width.

    What I want to achieve is: when the web browser reaches a certain value, I want the right element positioned under the element to the left while increasing its width to take account of the white space that is created by this clearing.

    I want to add the same function as www.nasa.gov has, then please, get to him and reduce the window of the web browser while keeping an eye on what happens when the elements to the right place below (they resize to another value of liquid).

    In other words, how to achieve this effect can reach other values of width liquid (in percentage) after taking position on a vertical line?

    Thank you very much!

    Best regards

    Andreas

    Use a media query to apply different rules. Using queries in Dreamweaver visual media

  • How to select different browsers to test

    I have Google Chrome as a browser by default Mu but I see that the elements positioned in Design view can be far from the position in the preview in browser. As IE comes with my windows 8.1 wondering how or if I can choose different browsers?

    You can try the solution in this post? You can choose which browser to see a preview of the Muse to?

  • Trigger composition off live clickable place and extended when button area.

    Hello!

    I have attached a few screenshots of the layout in muse so the web page live. As you can see in the first two, the video button, which is a trigger of composition is not higher on the live version as shown in the software. In the second two screenies, you can see the position of the cursor, the clickable area for the Send button is much larger than the size of the button itself. I tried to delete these two widgets on the site and re - create from scratch only to have it happen again.

    So, I would be grateful any help to solve this problem.

    Thanks in advance.

    01.PNG

    02.PNG

    03.PNG04.jpg

    Well, the answer that you do not like is that you have incorrectly nested your elements and therefore their changes of alignment based on dynamic parameters like size of the browser window, because which is used as a reference instead of possible surrounding elements and parents. You need to work with groups and create a layer hierarchy that reflects your Visual arrangements and/or use according to the rules of formatting rather than rely on an absolute separate elements positioning. Which explains pretty well all of your questions.

    Mylenium

  • Continuous rasterization without condensation of transformations

    Hello

    I would ask you - masters - help:

    The composition of my final opinion is 1920 × 1080 px. I have the camera on the inside as well as the composition of the main stage. The main screen is 1920 × 3000 px. There is the main stage 3D animations. The final composition view camera I want to fly from the bottom to the top, while animating the elements in the main screen. The only problem is that I have to use Transformations to collapse because of the blur made vector elements inside. As I do, all the animations that are broken, of course. I found a unique solution and very tiring: place each vector element of his own composition with condensed transformations. So I did well vectors in the final composition and properly the elements positioned at once. But I am convinced that this title is not professional. I preferred to set the main scene 3000 px high, so I can see everything at once. (If I'd build stage of 1920 × 1080, you would hide the 2/3 of the elements upwards or downwards all the time and work it would be incredibly awkward.)

    Do you know another approach when you have such scene portrait-format high (3000 px) and camera more small format landscape (1920 px) to exploit in it?

    Kamera.png

    Apples and oranges - transformatinons collapse and continuously rasterize - in my opinion.

    Thank you in advance!

    As I expect your ball composition are made up exclusively of 2D layers CT has no effect. Changing diapers of ball in 3D and everything's fine. No need to reset the keyframes, or do something with the size of the model. You cannot mix 2d and 3d layers and the camera reacts the same thing at the same time. The layer 2 will be just like a 2d layer in the main computer and do not have to be performed by the camera.

  • Media scroll behind header / CS3

    My page includes a viewer and 3 plugin. The whole page scrolls well behind the header with the exception of the media items. (only when they are activated). Which can be fixed?

    Index-Z works on positioned elements - position: relative, position: absolute or position: fixed.  You can post a link to your site so that we can see what is happening?

    Nancy O.

  • where should I put the jquery code to

    Hi all

    New to web design, I need help...

    I need to know where to put the jquery code to... I'm trying to use ccs menu to put in a reactive navigation on my site...

    Here's the code...

    $('#cssmenu').prepend ("< div id =" indicatorContainer"> < div id ="pIndicator"> < div id ="cIndicator"> < / div > < / div > < / div > ');
    activeElement var = $(' #cssmenu > ul > li:first');

    $('_#cssmenu_>_ul_>_{li').each (function ()})
    If ($(this) .hasClass ('active')) {}
    activeElement = $(this);
    }
    });


    var posLeft = activeElement.position (.the);
    var elementWidth = activeElement.width ();
    posLeft = posLeft + elementWidth/2-6;
    If (activeElement.hasClass('has-sub')) {}
    posLeft-= 6;
    }

    $('#cssmenu_#pIndicator').css ('left', posLeft);
    var element, leftPos, flag = $("#cssmenu pIndicator");

    $("#cssmenu_>_ul_>_{li").hover (function ()})
    element = $(this);
    var l = element.width ();
    If ($(this).hasClass('has-sub'))
    {
    leftPos = element.position () .the + w/2-12;
    }
    else {}
    leftPos = element.position () .the + w/2-6;
    }

    $('#cssmenu_#pIndicator').css ('left', leftPos);
    }
    function() {}
    $('#cssmenu_#pIndicator').css ('left', posLeft);
    });

    $('#cssmenu>ul').prepend ("< li = id" menu button"> < a > Menu < /a > < /li > ');
    {ravishing (function ($(«#menu-bouton»))
    If ($(this) .parent () .hasClass ('open')) {}
    $(this) .parent () .removeClass ('open');
    }
    else {}
    $(this) .parent () .addClass ('open');
    }
    });

    The safest place to put the script is just before the end body tag-.

    Make sure that the jQuery library is loaded before the script above similar to

  • z index bug

    Hello! need a little - to - help.

    Under browser compatibility, I get the following message:

    Positioned containers define a new stacking order, even when the computed z-index of the container is automatic. This may cause some children of the container to appear above other elements positioned on the page when they shouldn't.

    Affects: Internet Explorer 6.0, 7.0

    Probability: likely

    How can I do this right?

    Thank you, Tony

    Maybe this will help clear up any misunderstanding about positioning declared as well as the use of the z indexing:

    The actual display of a positioned element will depend on or not has a parent element is also a position declared or not.

    z-indexing works only with items that have a declared position.

    Using a stated position as absolute said and browser to take this element out of the natural flow and do something different with it. If you have the browser analysis in order from top to bottom, then throw in some elements that are completely out of traffic... they can be very difficult to control, because there are special rules that apply to items with reported positions.

    The least understood of these rules are what I call the "rule of the Parent. Giving an element declared as relative or absolute position can have huge differences in the way in which this element appears actually depending on whether or not the PARENT of this element has also a declared position.

    So a div which is position: absolute for example will display a way if it's parent also has a declared position and it will show in a completely different way if it's parent is NOT a declared... position to consider:

    If parent container a div IS NOT also has a declared position, the child

    1 of 2 things will do so.
    If position: relative, he positions himself as you wish but space will remain as if this element was still in the natural flow. So you can move the item 500 X 100 and rollover, but a space of 500 X 100 will be left, as if it was still there.
    If position: absolute, child is positioned against the window of the browser and this position does not change even if the window contracts or expands.

    So don't forget to give a position with the parent and the child

    .

    Failure to follow this rule is the main reason why the use of declared positioning fails.

    And just one more point, almost never is necessary to use a declared position, and that method should definitely not be used for general page layout.

    But when a particular situation that happens you really need z-indexing... so of course, you also have to use a declared position. Understand the rule of the 'Parent' will work with z-indexing positions and declared much easier and more effective.

    Best wishes

    Adninjastrator

  • Maybe you are looking for