cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
380
Views
5
Helpful
4
Replies
Highlighted
Beginner

Can Page-Level Finesse Gadgets be rendered at the Bottom of ALL Pages/Tabs?

It seems that the Page Level Finesse Gadgets are rendered at the top of all Tab Level Finesse Gadgets.

 

Curious, if a Page-Level Finesse Gadget can be configured to be rendered at the Bottom of ALL Pages/Tabs and therefore, underneath all Tab-Level Finesse Gadgets?

4 REPLIES 4
Highlighted
Collaborator

This is not possible. Gadgets in the <page> layout will always be on top of the page.
Highlighted
Beginner

It is not possible by default, but you can create function in your gadget, which move the gadget frame to the bottom of page.

Highlighted

Cool — Can you elaborate and provide the framework/function?
Highlighted

Just use jQuery or javascript 

insertAfter(), appendTo() or appendChild();

Find another elements in parent and just move to the element of gadget you want to the end of length of gadget elements. :)

 

some example:

<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
    document.getElementById("gadgets").appendChild(document.getElementById("pageGadget"));
});
</script>
</head>
<body>

<div id="gadgets">
	<div id="pageGadget">PAGE GADGET</div>
	<div id="gadget1">GADGET 1</div>
    <div id="gadget2">GADGET 2</div>
    <div id="gadget3">GADGET 3</div>
    <div id="gadget4">GADGET 4</div>
    <div id="gadget5">GADGET 5</div>
</div>

</body>
</html>
Content for Community-Ad