--- ECHO_content/ECHO_helpers.py 2004/12/02 20:11:49 1.31 +++ ECHO_content/ECHO_helpers.py 2004/12/10 19:33:09 1.32 @@ -221,11 +221,12 @@ class ECHO_basis: """generate img-tag for map""" bt = BrowserCheck(self) tag = "" - #src = self.REQUEST['URL1'] + "/overview" src = self.getOverview().absolute_url() if bt.isN4: + # N4 needs ilayer to create an id tag += ''%src else: + # img with id tag += ''%src return tag @@ -242,14 +243,17 @@ class ECHO_basis: text = ob.getLabel() if text is None: text = "link" + tiptext = ob.getText() tag = "" if bt.isN4: + # N4 needs layer for highlighting tag += '" else: + # a-element tag = '" return tag @@ -262,6 +266,7 @@ class ECHO_basis: tag = "" if bt.isN4: + # N4 needs layer and img elements tag += ''%(id,id,id) if ob.isTypeArrow(): rot = ob.angle @@ -273,21 +278,29 @@ class ECHO_basis: tag += ' />' tag += '' else: + # create a-element tag = ''%(id,id,id,link) if ob.isTypeArrow(): rot = ob.angle if bt.isIEWin and bt.versIE > 5: + # IE/Win 5.5 has "feature" for PNG transparency tag += ''%(id,arrowsrc,rot,arrowsrc,rot) else: + # arrow image tag += ''%(id,arrowsrc,rot) else: - if bt.isIEWin: - tag += '