popover in the footer - css

I am using an icon in the footer using fragmentation. On press of the icon, it opens a popover. I want the popover above the footer but it is opening below it and no content is visible.
sapui5 <xml>
<footer>
<OverflowToolbar id="otbFooter">
<ToolbarSpacer/>
<OverflowToolbarButton text="Add" icon="sap-icon://add" press="popover" class="popover"/>
</OverflowToolbar>
</footer>

Set placement property of sap.m.Popover to Top.
<Popover title="{Name}" placement="Top">

Related

draw.io How do I set a container element to be vertically scrollable

I can currently add a container element from the sidebar to my diagram and drag and drop text to the container, where each text line added to the container becomes a separately selectable element.
I want, when I drag and drop more text lines to the container than the container can display, is the container to switch to being vertically scrollable instead of the container resizing to accommodate the additional text lines.
Is there a way to accomplish this?
Create a new document,then go to Extras -> Edit Diagram...:
replace the content of the dialog with this:
<mxGraphModel dx="942" dy="546" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="hHBZA0x96M1ugzBaWHee-3" value="<div style="overflow-y: auto; height: 200px " class="s-prose js-post-body" itemprop="text"><br/> <br/><p>I can currently add a container element from the sidebar to my <br/>diagram and drag and drop text to the container, where each text line <br/>added to the container becomes a separately selectable element.</p><br/><p>I want, when I drag and drop more text lines to the container than <br/>the container can display, is the container to switch to being <br/>vertically scrollable instead of the container resizing to accommodate <br/>the additional text lines.</p><br/><p>Is there a way to accomplish this?</p><br/> </div><div class="s-prose js-post-body" itemprop="text"><br></div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;overflow: scroll;" parent="1" vertex="1">
<mxGeometry x="40" y="60" width="320" height="200" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
Main change is:
style="overflow-y: auto; height: 200px "
You'll got something like this:
Then you can duplicate block.
you need to edit html text (double click in text inside a block and click in the button </>) and add a div wrapper with a style
<div style="height: 100px ; overflow: scroll">
continue you need to edit style of block and add
overflow=fill

Alert modal from sidebar close(X) icon

I am using p-sidebar to display a component as a sidebar from another component. Now when the sidebar displays, it has a close(X) icon at the top right corner and clicking on it closes the sidebar. I want to display a alert modal when clicked in close(X) icon.
<p-sidebar [(visible)]="slideBarDisplay"
[style]="{'height':'75%','overflow':'scroll'}"
position="bottom">
<sidebar-component (add)="addNew($event)"
(cancelAdd)="slideBarDisplay = false"
*ngIf="slideBarDisplay">
</sidebar-component>
</p-sidebar>
and I have showClearModal = false; to display the modal in sidebar-component html.
So I want to call
showAlertDisplay() {
this.showClearModal = true
}
when clicked on close(X) button so it will make p-dialog visible.
Appreacite any help

Button not appearing using angular material while using go to next tab

I am using angular material tab library to display vertical and horizontal tabs. There are 3 horizontal tabs and in 2nd horizontal tab, there are vertical tabs. When I put Next button it should go to next horizontal tab. It's working with 1st horizontal tab but in 2nd horizontal tab Next button is not appearing.
Here is: stackblitz - ngular-material-tabs-inside-tab
in tab-group-basic-example.html in 2nd horizontal tab, I put Next button:
<div class="m-10">
<button (click)="nextTab(2)">Next</button>
</div>
in ts file:
nextTab(index: number): void {
this.selectedIndex = index;
}
Looks like the issue is that you want do display something outside of mat-tab. Moving the next button inside it does the trick:
<mat-tab *ngFor="let tab of tabs; let index = index" [label]="tab">
<div class="m-10" #appenHere></div>
Contents for {{tab}} tab <br> <br>
<button (click)="addNewComponent()">
Append to {{tab}}
</button>
<div class="m-10">
<button (click)="nextTab(2)">Next</button>
</div>
</mat-tab>

Whole button is not clickable on some of my pages

I have a site I created: http://www.raggeddaisy.com
On my Wooden Signs pages and Chalkboards pages, the 'Request More Information', only the top little bit of the button is clickable. The code is the same as my Magnetic Board and Wooden Benches pages. Why would this be? Thanks in advance for your help.
<div id="requestInfoButton">
<form action = "ContactUs.cshtml">
<input type="submit" class="button" value="Request More Information">
</form>
</div>
#requestInfoButton {
font : 10pt 'Century Gothic';
padding-top : 2.25pt;
position : absolute;
left : 500.00pt;
top : 400.50pt;
width : 150pt;
height : 16.50pt;
}
That's because your div with id 'optionsWoodenSignLargePrice' is covering it. I wouldn't advice the styling you've used for just the text and especially the absolute positioning.
However, removing the width and height attributes from the div#optionsWoodenSignLargePrice styles does solve your problem.
It looks like you have two divs that are absolutely positioned with a fixed width that cover the majority of that request more info button. If you remove the width on div#optionsWoodenSignSmallPrice and div#optionsWoodenSignLargePrice your button will be clickable.

hidden div with image map not working

I've been trying to have a simple image map on an image that is in a hidden div.
Once a button is clicked, the hidden div shows and on this image I want to place an image map. but its not working.
I got the show/hide from a jfiddle, take a look...
my button
[label for="home3"][img src="images/bt_modulo.png" alt="" width="92" height="72" /] [/label]
my hidden div
[div class="homeinfo3"]
[input id="home3" type=checkbox][div style="display: none;"] [img src="images/modulo_info.png" alt="" width="568" height="98" border="0" usemap="#modulomap" /]
[map name="modulomap" id="modulomap"]
[area shape="rect" coords="317,9,380,47" class="iframe fancybox-media" href="http://www.youtube.com/embed/azCeJoLcWhI?rel=0" /]
[area shape="rect" coords="385,10,444,45" class="iframe fancybox-media" href="images/Modulo-red.jpg" /]
[/map]
[/div]
When the image appears (div is visible) the map doesn't work.
What am I doing wrong?
test link is here http://manuki.net/test/test.html
The z-index for your "homeinfo3" div is 20, while the "imgright" div is 999. The imgright div is on top of your homeinfo, and therefor on top of your map. Increase the z-index of homeinfo3 to 1000 and your map will start working.

Resources