how to creat slide menubar java script ?

Author Message

piyawat mahawan

Monday 07 July 2008 3:06:42 am

i want to create slide bar menu whith javascript and css.

Michael Scofield

Monday 07 July 2008 10:55:54 pm

So, just create it as the usual way and put it inside an Ez Publish template.

If you don't want to store CSS and Javascript in external files, you can store it in the template files using the directive {literal} of Ez Publish template language:

{literal}
<script>
   function MyFunction() {
 
   }
</script>

<style>
   .myCssDefinition {
        
   }
</style>
{/literal}

Michael Scofield

piyawat mahawan

Tuesday 08 July 2008 8:14:44 pm

thank you .
i found some script on the javascript.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 10:57:27
Script start
Timing: Jan 18 2025 10:57:27
Module start 'layout'
Timing: Jan 18 2025 10:57:27
Module start 'content'
Timing: Jan 18 2025 10:57:28
Module end 'content'
Timing: Jan 18 2025 10:57:28
Script end

Main resources:

Total runtime1.0962 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 588.0313152.6406
Module start 'layout' 0.00790.0044 740.671939.4609
Module start 'content' 0.01231.0824 780.1328466.3906
Module end 'content' 1.09460.0015 1,246.52348.1406
Script end 1.0961  1,254.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3431160.0002
Check MTime0.00170.1516160.0001
Mysql Total
Database connection0.00100.087710.0010
Mysqli_queries1.047895.5845570.0184
Looping result0.00060.0591550.0000
Template Total1.031694.120.5158
Template load0.00250.231120.0013
Template processing1.029093.874420.5145
Template load and register function0.00030.023810.0003
states
state_id_array0.00640.584010.0064
state_identifier_array0.00170.153120.0008
Override
Cache load0.00210.1917120.0002
Sytem overhead
Fetch class attribute can translate value0.00090.078220.0004
Fetch class attribute name0.00220.205130.0007
XML
Image XML parsing0.00040.037520.0002
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00070.0610100.0001
String conversion0.00000.000840.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs