Floating Panel in MasterPage

  1. #1

    Floating Panel in MasterPage

    Hi There,

    Is it possible to place a panel in masterpage which floats when page scrolls down ?

    <ext:Panel ID="Panel1" Floating="true" Icon="Group" runat="server" X="0" Y="0" Collapsible="true" Collapsed="true" Height="300" Title="Floating Panel"><Body> am I floating over site ?</Body></ext:Panel>
    I tried like this, but its quite sticky.
  2. #2

    RE: Floating Panel in MasterPage

    Hi Emre,

    This functionality is not automatically included with the Panel, although it should be possible to attach a WindowScroll Listener to the ScriptManager and reposition the Panel based on the current scroll possition. Might be a bit tricky to wire all that up properly.*


    Example


    <WindowScroll Handler="console.log(arguments)" />

    It also might be better to us an <ext:Window> Control instead of a <ext:Panel>.


    Geoffrey McGill
    Founder
  3. #3

    RE: Floating Panel in MasterPage



    Hi Geoffrey,

    I am not sure if i am missing something but (probably I did), I am getting "console is not defined" error.

    window is not the perfect solution for me on this case, however i tried to use that. And couldnt make floating work either.

    in the end , i need to make some sort of container floats and stays sticky on screen regardless to scroll bar.

Similar Threads

  1. [CLOSED] How to use Floating, FloatingConfig for Toolbar
    By UnifyEducation in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: May 04, 2012, 10:54 AM
  2. [CLOSED] Window floating with Y = 0
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 11, 2012, 3:13 PM
  3. Floating property for Ext.Panel is not working
    By anulall in forum 1.x Help
    Replies: 1
    Last Post: Jul 12, 2011, 12:05 PM
  4. Replies: 2
    Last Post: Dec 28, 2010, 9:47 PM
  5. Replies: 1
    Last Post: Nov 07, 2009, 6:26 PM

Posting Permissions