Zen TYPO3 Forum

Our TYPO3 forum is available for freelancers, professionals and clients new to TYPO3 to discuss Basic TYPO3 templating, Typoscript, extension installation, administration and help with subscription templates. Please register for an account to post.

Total Posts: 2 - Pages (1): [1]
Author: mediatech
Posted: Oct 05 2006 - 05:23 PM
Subject: re: Explorer crashes
This most likely is related to the horizontal drop down menu. I haven't had time to implement a better alternative that is free/open source. You can see the issues with IE's memory leak explained here.

http://www.aplus.co.yu/adxmenu/end-of-the-road/

Solution:

It is possible to replace ADxMenu with a solid commercial script called UDM4 for £41.99 that will deliver much better results.

http://udm4.com

Here's the TS needed to make UDM4 work. I'm using the "ultra light" JS script.

Typoscript Modifications to Zen Light:
# Setting up 'page' to be the default PAGE object (type=0)
#######################################
lib.stdheader.10.stdWrap.wrap =
tt_content.stdWrap.dataWrap = <A name="{field:uid}"></a>

page = PAGE
page.typeNum = 0
config.xhtml_cleaning = all
config.disablePrefixComment = 1
config.pageTitleFirst = 1
page.includeCSS {
file1 = fileadmin/themes/mediatech3/css/style.css
file2 = fileadmin/themes/mediatech3/udm-resources/udm-style.css
}

page.headerData.10 = TEXT
page.headerData.10.value (
<script type="text/javascript" src="fileadmin/udm/udm-custom.js"></script>
<script type="text/javascript" src="fileadmin/udm/udm-control.js"></script>
<script type="text/javascript" src="fileadmin/udm/udm-dom-ultra.js"></script>
<script type="text/javascript" src="fileadmin/udm/udm-style.js"></script>

)

page.bodyTag = <body>
page.1 = TEMPLATE
page.1.marks.PAGE_UID = TEXT
page.1.marks.PAGE_UID.field = uid
page.1 {
template = FILE
template.file = fileadmin/themes/mediatech3/template.html
workOnSubpart = DOCUMENT_BODY
subparts.CONTENT_LEFT < styles.content.getLeft
subparts.CONTENT_RIGHT < styles.content.getRight
subparts.CONTENT_BORDER < styles.content.getBorder
subparts.CONTENT < styles.content.get


# Top horizontal dropdown menu
#######################################
subparts.TOPNAV = HMENU
subparts.TOPNAV.special = directory
#subparts.TOPNAV.special = list
subparts.TOPNAV.special.value = 1
subparts.TOPNAV.excludeUidList = 2,40
subparts.TOPNAV {
wrap = <div id="menu"> | </div>
entryLevel = 0
1 = TMENU
1 {
expAll=1
noBlur = 1
wrap = <ul id="udm" class="udm"> | </ul>
NO {
wrapItemAndSub = <li class="submenu"> | </li>
}
}
2 = TMENU
2 {
expAll=1
noBlur = 1
wrap = <ul class="level2"> | </ul>
NO {

wrapItemAndSub = <li class="submenu"> | </li>
}
}
3 = TMENU
3 {
expAll=1
noBlur = 1
wrap = <ul class="level3"> | </ul>
NO {
wrapItemAndSub = <li class="submenu"> | </li>
}
}

4 = TMENU
4 {
expAll=1
noBlur = 1
wrap = <ul class="level4"> | </ul>
NO {
wrapItemAndSub = <li class="submenu"> | </li>
}
}
}


Once you're done configuring you can replace
<script type="text/javascript" src="fileadmin/udm/udm-style.js"></script>

with

<link rel="stylesheet" type="text/css" href="fileadmin/udm/udm-style.css" />

http://www.udm4.com/manual/final/noscript/

It is also possible to shave more code off here:
http://www.udm4.com/manual/final/reducingjs/

Cheers,
Greg

-----
Gregory Remington
Mediatech Consulting, Inc.
Cell : +1 (760) 525-1770 Main : +1 (619) 374-1406
Author: Preventor
Posted: Oct 05 2006 - 07:43 AM
Subject: Explorer crashes
Hi,
I have a problem which is driving me crazy. I´m a typo3-noob and doesn´t have to much experience of it.

But the problem I have is that explorer seems to crash constantly after a couple of seconds, or after a few minutes. I´ve tried to build a new site, but the same thing happened...

Anyone know how to avoid this?
Total Posts: 2 - Pages (1): [1]
You must login to post a message to this conference.

 

CHC Forum provided by Cast Iron Coding

TYPO3 Support