images in javascript

Author Message

wendy br

Tuesday 21 October 2003 3:19:09 am

i have a problem with putting an image in javascript. This image will not show in the page. This is a part of my script:
oCMenu.makeMenu('top0','',' <img src="{../home.gif|ezimage}">','/news/index.asp','')

i hope someone can help me.

Grtz Ushi

Paul Forsyth

Tuesday 21 October 2003 3:39:42 am

It might be the quotes are wrong. Look at the html source produced by ez and examine the quotes. Hopefully that should tell you why the javascript is failing.

Are you using mozilla? It has a javascript console that reports errors.

Paul

wendy br

Wednesday 22 October 2003 1:03:39 am

thnx it works now :D

GRTZ Ushi

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 31 2025 01:22:17
Script start
Timing: Jan 31 2025 01:22:17
Module start 'layout'
Timing: Jan 31 2025 01:22:17
Module start 'content'
Timing: Jan 31 2025 01:22:18
Module end 'content'
Timing: Jan 31 2025 01:22:18
Script end

Main resources:

Total runtime0.6844 sec
Peak memory usage8,192.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0037 589.1406151.1953
Module start 'layout' 0.00370.0030 740.3359220.6719
Module start 'content' 0.00670.6766 961.00784,204.0859
Module end 'content' 0.68340.0010 5,165.09388.0313
Script end 0.6844  5,173.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4615160.0002
Check MTime0.00120.1742160.0001
Mysql Total
Database connection0.00050.077210.0005
Mysqli_queries0.613689.6617570.0108
Looping result0.00050.0771550.0000
Template Total0.642493.920.3212
Template load0.00200.290520.0010
Template processing0.640493.571120.3202
Template load and register function0.00170.255710.0017
states
state_id_array0.00170.241710.0017
state_identifier_array0.00140.198720.0007
Override
Cache load0.00160.2367140.0001
Sytem overhead
Fetch class attribute can translate value0.00180.266620.0009
Fetch class attribute name0.00210.312430.0007
XML
Image XML parsing0.00020.031020.0001
class_abstraction
Instantiating content class attribute0.00000.001630.0000
General
dbfile0.00130.1873100.0001
String conversion0.00000.000940.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs