Creating a fixed menu while the rest of the site scrolls
I want to create a 2 column page where the left column is a menu and doesn't scroll, while the right side holds text/pictures and does scroll (no scroll bar needed, though). An example can be seen here: http://hack.acmwsu.com/
Any ideas of how I can do that?
Thanks!
EDIT: Nevermind, I figured it out.
The solution -- for others who may be searching this forum -- is to apply position:fixed to the division holding your menu.
Below are some examples:
http://alt-web.com/DEMOS/CSS2-Sticky-Footer.shtml
http://alt-web.com/DEMOS/CSS2-Sticky-Text.shtml
Fixed header, footer and sidebar
http://alt-web.com/TEMPLATES/FixedLayout.shtml
Nancy O.
Similar Messages
-
How do I create a context menu in the new CL_SALV
I like a function xx in context menu. How do I create a context menu in the CL_SALV ?
thank you!
CLASS lcl_event_handler DEFINITION.
PUBLIC SECTION.
TYPES: t_proc TYPE zmp_c00_pr_d,
tt_proc TYPE STANDARD TABLE OF t_proc,
tt_proces_subpr TYPE TABLE OF ltyp_proces_subpr.
CLASS-DATA: lr_context TYPE REF TO cl_gui_alv_grid,
r_selections TYPE REF TO cl_salv_selections,
lr_menu type ref to cl_ctmenu.
CLASS-METHODS: main CHANGING ct_zmp_c00_pr_d TYPE tt_proc
ct_proces_subpr TYPE tt_proces_subpr
cv_screen TYPE i.
PRIVATE SECTION.
CLASS-DATA lt_zmp_c00_pr_d TYPE TABLE OF zmp_c00_pr_d.
CLASS-DATA ls_process TYPE zmp_c00_pr_d.
CLASS-METHODS: handle_double_click
FOR EVENT double_click OF cl_salv_events_table
IMPORTING row column,
detail
IMPORTING l_objkey TYPE zmp_c00_pr_d-objkey.
ENDCLASS. "lcl_events DEFINITION
* CLASS lcl_event_handler IMPLEMENTATION
CLASS lcl_event_handler IMPLEMENTATION.
METHOD main.
DATA: lr_alv TYPE REF TO cl_salv_table,
lr_events TYPE REF TO cl_salv_events_table,
lr_columns TYPE REF TO cl_salv_columns,
lt_col_tab TYPE salv_t_column_ref.
FIELD-SYMBOLS <column> LIKE LINE OF lt_col_tab.
IF r_container IS INITIAL.
CREATE OBJECT r_container
EXPORTING
container_name = 'CONTAINER'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE i004(z_pm_tool).
ENDIF.
*Für Dynpro 1400
IF cv_screen = '1400'.
TRY.
CALL METHOD cl_salv_table=>factory
EXPORTING
* list_display = IF_SALV_C_BOOL_SAP=>FALSE
r_container = r_container
IMPORTING
r_salv_table = r_alv
CHANGING
t_table = ct_proces_subpr.
CATCH cx_salv_msg .
ENDTRY.
TRY.
* zeige die Daten
r_alv->display( ).
IF sy-subrc NE 0.
MESSAGE i001(z_pm_tool).
ENDIF.
CATCH cx_salv_msg.
ENDTRY.
ENDIF.
* Für Dynpro 1100
TRY.
CALL METHOD cl_salv_table=>factory
EXPORTING
* list_display = IF_SALV_C_BOOL_SAP=>FALSE
r_container = r_container
IMPORTING
r_salv_table = r_alv
CHANGING
t_table = ct_zmp_c00_pr_d .
CATCH cx_salv_msg .
ENDTRY.
TRY.
* zeige die Daten
r_alv->display( ).
IF sy-subrc NE 0.
MESSAGE i001(z_pm_tool).
ENDIF.
CATCH cx_salv_msg.
ENDTRY.
*Ereignisobjekt holen
lr_events = r_alv->get_event( ).
** get the SELECTIONS object
*r_selections = r_alv->get_selections( ).
* Interne-Tabelle füllen und an die Methode handle_double_click übergeben
LOOP AT ct_zmp_c00_pr_d INTO ls_process.
APPEND ls_process TO lt_zmp_c00_pr_d.
ENDLOOP.
* Zeiger auf Container für Kontexmenu
CREATE OBJECT lr_context
EXPORTING
i_parent = r_container.
DATA: lt_events TYPE cntl_simple_events.
CALL METHOD lr_context->set_registered_events
EXPORTING
events = lt_events
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
illegal_event_combination = 3
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Interne-Tabelle füllen und an die Methode handle_double_click übergeben
LOOP AT ct_zmp_c00_pr_d INTO ls_process.
APPEND ls_process TO lt_zmp_c00_pr_d.
ENDLOOP.
* Event: Add Function
SET HANDLER: on_added_function FOR lr_events.
* Event: Kontexmenu
* SET HANDLER: on_context_menu_request FOR lr_context.
* Event: Doppelklick
SET HANDLER handle_double_click FOR lr_events.
* get the SELECTIONS object
r_selections = r_alv->get_selections( ).
* Einzelne Spalte holen
lr_columns = r_alv->get_columns( ).
* Doppelklick funktioniert nur auf das Feld OBJKEY
LOOP AT lt_col_tab ASSIGNING <column>.
<column>-r_column->set_output_length( 20 ).
IF <column>-columnname = 'OBJKEY'.
<column>-r_column->set_visible( 'X' ).
ELSE.
<column>-r_column->set_visible( ' ' ).
ENDIF.
ENDLOOP.
IF lt_col_tab IS NOT INITIAL AND sy-subrc <> 0.
MESSAGE i002(z_pm_tool).
ENDIF.
ENDIF.
ENDMETHOD. "main
METHOD handle_double_click.
FIELD-SYMBOLS <fs_zmp_c00_pr_d> TYPE zmp_c00_pr_d.
READ TABLE lt_zmp_c00_pr_d INDEX row ASSIGNING <fs_zmp_c00_pr_d>. " vor dem Changing Parameter der Klasse
* READ TABLE ct_zmp_c00_pr_d INDEX row ASSIGNING <fs_zmp_c00_pr_d>.
IF sy-subrc <> 0.
RETURN.
ENDIF.
IF column = 'OBJKEY'.
lcl_event_handler=>detail( <fs_zmp_c00_pr_d>-zz_slotid_a ).
ENDIF.
ENDMETHOD. "handle_double_click
METHOD detail.
DATA: lr_alv TYPE REF TO cl_salv_table,
lt_alv_tab TYPE TABLE OF zmp_p00_sp_d.
* Subprozess holen
SELECT * FROM zmp_p00_sp_d INTO TABLE lt_alv_tab
WHERE objkey = l_objkey.
IF sy-subrc <> 0.
MESSAGE i003(z_pm_tool).
ENDIF.
TRY.
* Neu erzeugte Instanz für ALV-Tabellenobjekt holen
cl_salv_table=>factory( IMPORTING r_salv_table = lr_alv
CHANGING t_table = lt_alv_tab ).
* Ausgabe Fenster für SubScreens
lr_alv->set_screen_popup( start_column = 1
end_column = 130
start_line = 1
end_line = 10 ).
* Anzeige der Daten
lr_alv->display( ).
IF sy-subrc <> 0.
MESSAGE i001(z_pm_tool).
ENDIF.
CATCH cx_salv_msg.
ENDTRY.
ENDMETHOD. "detail
ENDCLASS."lcl_event_handler IMPLEMENTATION
Edited by: polaris1 on Dec 15, 2010 12:18 PMCan't read that jumble, but suggest you look at the excellent SALV tutorials by Rich Heilman by searching for SALV tutorial on SCN. You'll find working code and how-to for adding your own functions to SALV.
-
When I change the time zone of the clock, the "Date created" time information for my documents and image files in the Finder window (and in Get Info) is changed. Can I make the time info in "Date created" remain fixed regardless of the clock's timezone?
When I change the time zone of the clock, the "Date created" time information for my documents and image files in the Finder window (and in Get Info) is changed. Can I make the time info in "Date created" remain fixed regardless of the clock's timezone?
-
How to create Drop down menu in the selection screen
Hi all,
How to create Drop down menu in the selection screen.
Fast answer will be highly rewarded
Regards
Bikashi ,
TYPE-POOLS : vrm.
TABLES:vbak,vbap.
DATA : v(80) TYPE c.
DATA: wa_vbak TYPE vbak,
it_vbak TYPE vbak OCCURS 0 WITH HEADER LINE,
wa_vbap TYPE vbap,
it_vbap TYPE vbap OCCURS 0 WITH HEADER LINE.
DATA: l_name TYPE vrm_id,
li_list TYPE vrm_values ,
v_count TYPE i,
l_value LIKE LINE OF li_list.
PARAMETERS: p_test(20) AS LISTBOX VISIBLE LENGTH 60 MODIF ID DAT.
INITIALIZATION.
AT SELECTION-SCREEN OUTPUT.
PERFORM get_data.
LOOP AT it_vbak.
l_value-key = it_vbak-vbeln .
l_value-text = it_vbak-vbeln .
APPEND l_value TO li_list.
ENDLOOP.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'P_TEST'
values = li_list
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
AT SELECTION-SCREEN ON P_TEST.
clear : li_list , li_list[].
SELECT vbeln
matnr
meins
FROM vbap
INTO CORRESPONDING FIELDS OF TABLE it_vbap
WHERE vbeln = p_test.
START-OF-SELECTION.
SELECT vbeln
matnr
meins
FROM vbap
INTO CORRESPONDING FIELDS OF TABLE it_vbap
WHERE vbeln = p_test.
LOOP AT it_vbap.
WRITE :/ it_vbap-vbeln, it_vbap-matnr,it_vbap-meins.
ENDLOOP.
*& Form get_Data
text
--> p1 text
<-- p2 text
FORM get_data .
SELECT vbeln
FROM vbak
INTO CORRESPONDING FIELDS OF TABLE it_vbak.
ENDFORM. " get_Data
regards,
venkat. -
How to create a sub menu for the transaction se38
Hi All,
I have created menu item in se38 using menu exit.
By using the enhancement SEU00002 .
That menu item is displayed under utilities menu bar.
But i am unable to create sub menu for that.
My requirement is to create sub menu to the custom menu item.
How can we create a sub menu to the transaction se38.Hi,
it looks like that user exit SEU00002 offers only one extra function +CUS. This function then calls FM EXIT_SAPMS38E_010. Hence I do not think that it is possible to create sub menu with this user exit.
Anyway you can try to modify SAP standard. You need to modify menu for SE38 and then add your code for handling new function codes. You can easily find where you will have to add your code for handling functions from your sub menu. You just need to look for usages of the FM EXIT_SAPMS38E_010.
Cheers -
How to create a shortcut menu in the VIEW panel of Diadem
Hi everyone,
Is it possible to create your own shortcut menu in the VIEW Panel of Diadem?Hi Ovidius,
What do you mean by "shortcut" menu? You can add a custom menu to the top of any DIAdem panel and fill it with whatever menu items you want. You can also add/customize any icons at the top or the left of any DIAdem panel and program them to do what you want. There is additionally limited support in DIAdem 2010 and prior versions for adding custom context menus to VIEW areas. We are looking into expanding this support for DIAdem 2011.
Brad Turpin
DIAdem Product Support Engineer
National Instruments -
Hi,
Does anyone know how to create a context menu (right click on line or field) in the new ALV object model (class CL_SALV_TABLE)?
Thanks in advance
Keld Gregersen
PS: In the past we could use event CONTEXT_MENU_REQUEST in class CL_GUI_ALV_GRID, so it must be possibleI don't think there's "any such animal" in the new class. I'm not 100% certain however but the new class is only useful for fairly simple display only type grids.
There's no edit capability either.
I'd stick with cl_gui_alv_grid until there's some decent extra functionality in the cl_salv_table class.
It's fine for quick "bog standard" displays as it doesn't need a field catalog or any screens to be created by the user or developer - but you pay a price for that in limited fnctionality.
Cheers
jimbo -
How to create a shortcut menu for the pane
Hi all
Well - I know how to create a shortcut menu for a control, but how is it created for a pane? There is the possibility to add an event case for a shortcut menu linked to a pane (see picture), but how can I create this menu?
Message Edited by becktho on 08-01-2006 11:32 AM
Using LV8.0
Don't be afraid to rate a good answer...
Attachments:
ScreenShot001.png 22 KBahlers option works, sorry but I can't add images from work!
Just use the shortcut Menu Activation filter event? to create a menu.
Ton
Message Edited by TonP on 08-01-2006 12:56 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be!
Attachments:
Example_BD.png 4 KB
Example_BD.png 4 KB -
To create a fixed row in the bottom of table and to merge three columns
Hi,
I have a table displaying some values but is there any way to get a fixed row at the bottom which will sum the values above.
ie
service business jan feb mar april
table cut 900 100 100 200
chair blade 100 200 300 400
sum 1000 300 400 600
so the final row i need it to be constant even if i scroll down the table, this row should be always fixed and visible. and the table data are filled dynamically.. so i dont know the no of rows available as well.
How can I do it. Any insight on it will be helpful.
Thanks and Regards
TenzinHi,
CL_WD_TABLE - >SET_FOOTER_VISIBLE where you can provide that summation in the footer.
As you are calculating the sum there will be the Name for that field to hold summation value right.
Based on the name of that field you can set it to the footer by passing the necessary paramters to that
method.
How are you filling the table.
Regards,
Lekha. -
How do I create a fixed signature for the bottom of my E-mail?
'''bold text'''I want to add a signature to my E-mail body; Company name, title etc. How do I do this? In Eudora there was a signature drop down in the tools menue.
Thanks,
LaryFirefox doesn't do email, it's strictly a web browser.
If you are using Firefox to access your mail, you are using "web-mail". You need to seek support from your service provider or a forum for that service.
If your problem is with Mozilla Thunderbird, see this forum for support.
[http://www.mozillamessaging.com/en-US/support/] <br />
or this one <br />
[http://forums.mozillazine.org/viewforum.php?f=39] -
Elements 12 editor 'create drop down menu
In my 'create' drop down menu in the editor a very long blank drop down menu appears, is this normal and if not is there a quick fix... and if this involves re-install can that be done without re-doing all my plugins.
Elderly semi computer literate user.
Ian YoungHi,
Unfortunately, this functionality is not possible with Adobe FormsCentral.
Regards,
Nakul -
How do I create a fixed layout landscape-only epub3 in Indesign?
Hi
I have been trying to create a fixed layout epub3 from indesign without results.
What I've done is to create a book with 4 pages in layout format 1034px/768px, each of them with text and pictures. I gave the text a style with the paragraph and exported in epub3 format.
When I upload this to the ipad it works as a epub2, the layout is not fixed.
When I open the files and read the code it actually is like a epub2, there is no fixed layout meta tag, there is no page dimension in each page, in the css the body size is auto and so on.
I also opened the files and added without any result the following in the .opf file.
<meta property="rendition:layout">pre-paginated</meta> (this should create the fixed layout option)
<meta property="rendition:orientation">landscape</meta> (this should create a landscape only view)
<meta property="rendition:spread">none</meta> (this should create a one page at a time view)
Is there a way of achieving what I want or it simply is a functionality not yet introduced?
Thanks for any adviceInDesign CS6 or earlier is not designed for creating fixed layout EPUB files. Essentially it would have to be done in a very painful, very manual process. Anne-Marie Concepcion describes the process in this Lynda.com video:
Creating a Fixed-Layout EPUB
The Rorohiko product is the best thing going at the moment. -
Animated menu and the drop down window!
Hi,
I am trying to create a web site for my client with the
similar menu to the site below:
http://www.redomedia.net
Does anyone know if there is any tutorial or anything that
can help me to create such a menu with the windows appearing
underneath?
I know a bit of AS, not very advanced though.
Could you please help me with this?
So many thanks in advance.
Mojan"Organize Bookmarks" has been renamed to "Show All Bookmarks" in the bookmarks menu.
The Bookmarks button is for accessing the bookmarks that are not in the bookmarks toolbar. You can hide this button, if you do that, to access other bookmarks you can click the orange Firefox button then select Bookmarks.
To remove the bookmarks button, right-click on the Navigation toolbar and select Customize. This will open the customize toolbar window. Drag and drop the bookmarks button which will now be on the right hand edge of the navigation toolbar and drop it onto the customize toolbar window. Click Done to complete the process.
For more details on customizing the toolbars see https://support.mozilla.com/en-US/kb/how-do-i-customize-toolbars -
How can I change the sites homepage 365 and then make the changes public?
Hi is there any way I can change the look of the sites homepage and make it public so anyone who logs in see's the additoinal webparts etc.
it seems I can only create a personal view of the sites page which is slightly annoying as I would like to add a few announcements for users on the Intranet who go to the sites page.I created a link to the sites page as shown in the image above.
but I noticed the link goes like this:
https://mydomain.my.sharepoint.com/personal/ausername/Social/Sites.aspx
how can I link to the sites page without having to link to a particular user? what would be the link for that so when it goes to the sites page it goes to the sites page for that particular person?
thanks -
I created mega menu in adobe muse ( master page ) but the thing is when I preview that menu in other pages contents I already had created will overlap the menu. Is there any options that would fix that problem up. I'd like to have the menu overlap the contents. That does not happen on master page ( master page looks good ) Thank you very much.
Place the menu on its own layer above the rest of the page content.
Maybe you are looking for
-
Satelite L750 is slow, takes a long time to open programs
I've had my laptop (Satelite L750) for just over 6 months now, and it has a few problems. 1. It's very slow for a new computer. Often I type something and it doesn't register for a couple of seconds, I open a program and it takes about 20 secs before
-
Install Acrobat/Reader plugin on Mac
Has anyone installed an own Acrobat/Reader plug_in on Mac? Is there a standard way to do this? Up to Mac 10.4 there was a "Plug-ins" section in the information dialog of Acrobat/Reader, which was good to install/deinstall plug_ins. I don't find this
-
Why does my screen not work properly
I have had issues with my phone and sometimes I cannot use it because the screen does nothing but bounce. I have updated and rebooted as well aNdebele I am very disappointed with the fact that most of the time when I need it most it does not work.
-
Are there event handlers for graphic objects drawn with the CWIMAQViewer toolbar?
Hi, I use the CWIMAQViewer in my VB.Net application to display images from a CCD camera. I want to use the toolbar that comes with the viewer to draw graphics (e.g. a circler) over the image. Is it possible to get the position and radius of the c
-
I think I am missing something in referencing an external style sheet. Here is the demo page: http://johnnyvibeselement.com/nashville/forms_happyhour.html The reference to CSS is here: http://www.johnnyvibeselement.com/css.css Q1 At the top where the