Pages add horizontal scroll bar and cell capacity

hi i am running a league website where league tables are created and pasted into the tinymce plugin, ive manged to increase the standard table size to whatever i like,

at the moment 50 columns and 100 rows equalling 5000 cells

Question 1.

is there a limit to info being posted in before it maybe crashes as it did before i increased the limit.

could i say have 100 columns and 1000 rows this would allow an easy instal for say a fixture list for an entire season.

Is this unwise as it would create an annoying delay whilst data is being sorted by pages and tinymce. small delay is fine. if there is a problem what would be a sort of suitable number.

question 2.

how can i add a horizontal scroll bar which would allow the cells to display information  without them being squished up.

yes i'm a noob

thanks for your time and help

Wayne

  • I guess you are saying about the problem, when you paste some text or include an image in the posts. Some cases, the text is shown out of the text area. This happens even in ELGG community posts.

    Is this you are asking about? Actually I could not understand your problem.

  • no mate i wish to insert spreadsheets and increase the size of cells allowed which i thought i had done.. see next comment.

    it seems that roughly speaking it can take 464 cells before i need to split it to another page

    example spread sheets. first sheet needs alot more vertcally

    example spread sheet 2. will need more horizontally as more players score goals hence the need for a horizontal scroll bar.

    Colour code:- Patana PATTAYA Arsenal

    To be rescheduled








    Casual League 2011/2012 SCHEDULE
    Update 01.11.2011





    Next>>P2
    Date Venue Time Team
    Team









    24.09.11 Patana 02.30PM LST LOG
    Triumph Master



    01.00PM Anatolia
    Scans



    04.00PM FC Planet
    Les Gaulois



    04.00PM Londoner
    Cosmos









    25.09.11 Patana 02.30PM I Play
    Siam Celtics



    04.00PM BSL Youth
    Titans









                       
    Div1 WK5                
    FC Planet 11 Micheal 3 Mark 12 Kevin 17 Nick 15 Lee 9 NJOKE 10 BJORN 7 MARK
    # 3 1 4 1 1 2 1 2
    Les Gaulois 08 Marc              
    # 1              
    Londoner FC 5 Craig 8 Bilty 19 Dom          
    # 1 1 1          
    Cosmos FC 10 Menhorn 15 Obi 2 Levy 7 Veerman 20 Weeks      
    # 2 1 1 1 1      
    Anatolia FC 7 Dominik 17 Mohammed 24 Ugar 17 Wongkaew 12 Thongjun Piyapong 19 Danupon 17 Mohammed
    # 5 3 2 2 1 1 1 1
    Scans 9 Anders Sivapol            
    # 4 2            
    Pattaya City 16 Emmanuel 4 Luca            
    # 2 1            
    German All Stars 24 Alexander 5 Pablo 51 Emir 22 Umut        
    # 1 1 1 1        
    BFC D Pelican 10 Aidam 21 Emawell 5 Federico          
    # 1 1 1          
  • i thought this had done the trick.. but maybe i did it wrong(question mark)

    tinyMCE.init({
            mode : "specific_textareas",
            editor_selector : "elgg-input-longtext",
            theme : "advanced",
            plugins : "spellchecker,autosave,fullscreen,style,table,advhr,advimage,emotions,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,noneditable,visualchars,nonbreaking,xhtmlxtras",
            relative_urls : false,
            remove_script_host : false,
            document_base_url : elgg.config.wwwroot,
            theme_advanced_buttons1 : "newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,fontselect,fontsizeselect",
            theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,bullist,numlist,table,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink",
            theme_advanced_buttons3 : "print,|,insertdate,inserttime,|,forecolor,backcolor,|,tablecontrols,|,image,emotions,|,fullscreen<?php if (isadminloggedin()){?>,|,code<?php }?>",
            theme_advanced_toolbar_location : "top",
            theme_advanced_toolbar_align : "left",
            theme_advanced_statusbar_location : "bottom",
            theme_advanced_resizing : true,
            theme_advanced_path : true,
            width : "100%",
            table_styles : "Header 1=header1;Header 2=header2;Header 3=header3",
            table_cell_styles : "Header 1=header1;Header 2=header2;Header 3=header3;Table Cell=tableCel1",
            table_row_styles : "Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1",
            table_cell_limit : 5000,
            table_row_limit : 100,
            table_col_limit : 50

            extended_valid_elements : "@[id|class|style|title|dir<ltr?rtl|lang|xml::lang|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup],a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|style],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style],embed[src|type|wmode|width|height],object[classid|clsid|codebase|width|height],font[face|size|color|style],span[class|align|style],style[lang|media|title|type]",
            setup : function(ed) {
                //show the number of words
                ed.onLoadContent.add(function(ed, o) {
                    var strip = (tinyMCE.activeEditor.getContent()).replace(/(&lt;([^&gt;]+)&gt;)/ig,"");
                    var text = elgg.echo('tinymce:word_count') + strip.split(' ').length + ' ';
                    tinymce.DOM.setHTML(tinymce.DOM.get(tinyMCE.activeEditor.id + '_path_row'), text);
                });

                ed.onKeyUp.add(function(ed, e) {
                    var strip = (tinyMCE.activeEditor.getContent()).replace(/(&lt;([^&gt;]+)&gt;)/ig,"");
                    var text = elgg.echo('tinymce:word_count') + strip.split(' ').length + ' ';
                    tinymce.DOM.setHTML(tinymce.DOM.get(tinyMCE.activeEditor.id + '_path_row'), text);
                });
            },
            content_css: elgg.config.wwwroot + 'mod/tinymce/css/elgg_tinymce.css'
        });

  • Div1 WK5                
    FC Planet 11 Micheal 3 Mark 12 Kevin 17 Nick 15 Lee 9 NJOKE 10 BJORN 7 MARK helllo test fit this in
    # 3 1 4 1 1 2 1 2
    Les Gaulois 08 Marc              
    # 1              
    Londoner FC 5 Craig 8 Bilty 19 Dom          
    # 1 1 1          
    Cosmos FC 10 Menhorn 15 Obi 2 Levy 7 Veerman 20 Weeks      
    # 2 1 1 1 1      
    Anatolia FC 7 Dominik 17 Mohammed 24 Ugar 17 Wongkaew 12 Thongjun Piyapong 19 Danupon 17 Mohammed
    # 5 3 2 2 1 1 1 1
    Scans 9 Anders Sivapol            
    # 4 2            
    Pattaya City 16 Emmanuel 4 Luca            
    # 2 1            
    German All Stars 24 Alexander 5 Pablo 51 Emir 22 Umut        
    # 1 1 1 1        
    BFC D Pelican 10 Aidam 21 Emawell 5 Federico          
    # 1 1 1