Imperia-Users

Home -> Imperia-Users -> 2003 -> July

 Background-Image-Wechsel im Editmode 
 Date  07/17/03 11:11:10 GMT
 From  Guido Flohr
 Subject  Background-Image-Wechsel im Editmode
 Previous Thread
 Next Thread
 Start of Thread
 Reference
 Previous Reply
 This Message
 Reply
 Next Reply
weitergeleitet...
--
Imperia AG, Development
Leyboldstr. 10 - D-50354 Hürth - http://www.imperia.de/
Attachments
 1  +-[no description] multipart/mixed  
 2    |-index.html message/rfc822  
 3    +-[no description] message/rfc822  
 4      +-mail.asc.txt text/plain made from text/plain  

 Download mail.asc.txt

^>From   Wed Jul 16 14:31:18 2003
Return-Path: <>
Delivered-To: 
Received: from geordi.netpioneer.org (geordi.netpioneer.org [62.138.10.21])
	by smtp.imperia.net (Postfix) with ESMTP id D9B3AE5A5
	for <>; Wed, 16 Jul 2003 14:31:17 +0200 (CEST)
Received: from pserver.netpioneer.org ([62.138.10.18] helo=trip)
	by geordi.netpioneer.org with esmtp (Exim 4.12)
	id 19clRE-0003FU-00
	for ; Wed, 16 Jul 2003 14:31:16 +0200
Received: from lothar by trip with local (Exim 3.36 #1 (Debian))
	id 19clRE-0006Gh-00
	for <>; Wed, 16 Jul 2003 14:31:16 +0200
Date: Wed, 16 Jul 2003 14:31:16 +0200
To: 
Subject: Re: [IMPERIA] Background-Image-Wechsel im Editmode
Message-ID: <>
Mail-Followup-To: 
References: <>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <>
User-Agent: Mutt/1.5.4i
From: =?iso-8859-1?Q?Lothar_M=E4rkle?= <>
X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *19clRE-0003FU-00*vFtxV0IkDus*

Hallo Antonietta,

> Ich habe in mein Template folgenden script:
> function bgcheck() {
> 	document.all('bgtable').style.background = 'url(/bergfuehrer/images/backgr_verband.jpg)';
> }
> Im Body-tag wird folgendes ausgeführt:
> onload="bgcheck();"

imperia fügt selbst einen onload-handler ein, vielleicth wird deiner daher
gar nicht ausgeführt.

das müsste imperia in den html-template-quellcode im edit-mode
eingebaut haben:

<script language="JavaScript">
var submit_handlers = new Array();
var load_handlers = new Array();
function on_submit() {
  for (var i=0; i <submit_handlers.length; i++) {
    eval(submit_handlers[i]);
  }
}
function on_load() {
  for (var i=0; i <load_handlers.length; i++) {
    eval(load_handlers[i]);
  }
}
window.onload=on_load;

</script>


also vielleicht hilft auch:

load_handlers[load_handlers.length] = 'bgcheck()';


viele Grüsse
  lothar

--
Lothar Märkle - 
Netpioneer GmbH - Beiertheimer Allee 18a - D-76137 Karlsruhe
Tel: 0721 / 9 20 60 43
Fax: 0721 / 9 20 60 30

ATTENTION: HTML attachments to this mail have been converted to plain text to prevent you from possibly malicious HTML files. Other attachments are included here without any checking. Choose your own poison! The maintainers of this site cannot be held responsible for any damage caused by these attachments.

 Background-Image-Wechsel im Editmode
 Previous Thread
 Next Thread
 Start of Thread
 Reference
 Previous Reply
 This Message
 Reply
 Next Reply
 
 07/16/03 12:03:40 GMT  Antonietta De Santis
 07/16/03 12:22:02 GMT  |--Jörg Halitschke
 07/16/03 12:24:20 GMT  |--Christian Lackas
 07/16/03 12:31:31 GMT  +--Guido Flohr
 07/16/03 13:06:42 GMT    +--Christian Lackas
 07/17/03 11:11:10 GMT      +--Guido Flohr

Powered by Imperia
Home | Top | Imprint