diff wiki/htdocs/applets/FCKeditor/editor/css/behaviors/anchors.htc @ 0:77665d8e2254

tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0 (automatically generated log message) imported from: moin--main--1.5--base-0
author Thomas Waldmann <tw-public@gmx.de>
date Thu, 22 Sep 2005 15:09:50 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wiki/htdocs/applets/FCKeditor/editor/css/behaviors/anchors.htc	Thu Sep 22 15:09:50 2005 +0000
@@ -0,0 +1,22 @@
+<public:component lightweight="true">
+
+<public:attach event="oncontentready" onevent="ShowIcon()" />
+
+<script language="javascript">
+
+var bIsAnchor = this.name.length > 0 && this.getAttribute('href').length == 0 ;
+
+function ShowIcon()
+{
+	if ( bIsAnchor ) 
+	{
+		this.runtimeStyle.paddingLeft		= '16px' ;
+		this.runtimeStyle.backgroundImage	= 'url(' + window.parent.FCKConfig.FullBasePath + 'css/behaviors/anchor.gif)' ;
+		this.runtimeStyle.backgroundRepeat	= 'no-repeat' ;
+		this.runtimeStyle.cursor = 'hand' ;
+	}
+}
+
+</script>
+
+</public:component>