[opencms-dev] Problem with Widgets

Jörg Flade j.flade at keybird.de
Mon Sep 12 17:43:39 CEST 2005


Hi,

I have a problem with the widgets "Edit / Delete / Add" at the Template 
One modules.
My site is based on CSS Layers. So my content-area is a own layer. Now 
if I log in as admin I will see the Buttons at the News area for 
example. But the buttons are not at the place they'll should be. They 
are more right and down as the field they should be.

Now I've looked at the source of the site and found out, that its the 
Javascript function "findPosXOcms(obj)" and "findPosYOcms(obj)".
If I overwrite these functions at the end of the site with "curleft += 
0; obj = obj.offsetParent;" at findPosXOcms() and "curtop += 
obj.offsetParent - obj.scrollTop; obj = obj.offsetParent;" at the 
findPosYOcms() function the buttons are at the place they must. But at 
Internet Explorer this wont work (only Firefox can do this...whats not 
the resolve for the problem).

Is there another posibility?

Sorry for my english...I hope it will get better :)

-- 
Sincerly,

Jörg Flade



More information about the opencms-dev mailing list