Scroll Bar

Author Message

Daniele Cacace

Thursday 03 February 2005 12:40:45 am

Do you have idea of like inserting a scroll bar in content view?

TNX!

Trond Hjelmaas

Saturday 05 February 2005 12:27:08 pm

Try this code:
<div id="content_container_inner">
<div id="fixedsize">
your text here to scroll
</div>
</div>

this goes in stylesheet:

div#fixedsize {
FLOAT: left;
OVERFLOW:auto;
WIDTH: 100%;
HEIGHT: 100%;
}

think the overflow is the trick (add some style info for content_container_inner).

Hope it helps :)

Daniele Cacace

Monday 07 February 2005 2:43:56 am

where I place this?

<div id="content_container_inner">
<div id="fixedsize">
your text here to scroll
</div>
</div>

:?

This i write in site.css:

this goes in stylesheet:

div#fixedsize {
FLOAT: left; 
OVERFLOW:auto; 
WIDTH: 100%; 
HEIGHT: 100%;
}

It true?

Daniele Cacace

Thursday 10 February 2005 12:48:59 am

Ok resolved TNX!

Jonathan Dillon-Hayes

Thursday 10 February 2005 1:58:19 am

Nice hack!

---------
FireBright provides advanced eZ deployment with root access
http://www.FireBright.com/

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 15:58:33
Script start
Timing: Jan 18 2025 15:58:33
Module start 'layout'
Timing: Jan 18 2025 15:58:33
Module start 'content'
Timing: Jan 18 2025 15:58:34
Module end 'content'
Timing: Jan 18 2025 15:58:34
Script end

Main resources:

Total runtime0.8543 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.9219152.6094
Module start 'layout' 0.00600.0038 741.531339.3984
Module start 'content' 0.00980.8423 780.9297588.3906
Module end 'content' 0.85210.0022 1,369.320312.2031
Script end 0.8543  1,381.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4246160.0002
Check MTime0.00160.1835160.0001
Mysql Total
Database connection0.00080.098110.0008
Mysqli_queries0.791392.6198650.0122
Looping result0.00070.0813630.0000
Template Total0.820696.020.4103
Template load0.00200.236320.0010
Template processing0.818595.809620.4093
Template load and register function0.00020.023510.0002
states
state_id_array0.00080.095810.0008
state_identifier_array0.00140.161120.0007
Override
Cache load0.00170.2014350.0000
Sytem overhead
Fetch class attribute can translate value0.00090.100930.0003
Fetch class attribute name0.00130.149160.0002
XML
Image XML parsing0.00330.388230.0011
class_abstraction
Instantiating content class attribute0.00000.002380.0000
General
dbfile0.00390.4541160.0002
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs