Zum Inhalt springen

problem mit target

Erstellt am 22. Juni 2004 · Noch keine Antworten

Tags: Frage

stone2k2 ·

hi

ich habe eine frameseite mit 5 frames (http://www.lfv-bgld.at/lfv/index.php)

wie kann ich das frametarget umstellen dass sich immer nur der "content frame" änder (also der wo das menu drinnen ist) ??

weil bei mir wird bei den links immer das ganze frameset aufgerufen

die frames rund herum sind eh statische files nur der in der mitte nicht

ich poste mal den code (bissi lang !!)

plugin.tx_automaketemplate_pi1 {
	content = FILE
	content.file = fileadmin/template/verbandtemplate/content.htm
	elements {
		BODY.all = 1
		BODY.all.subpartMarker = DOCUMENT_BODY
		HEAD.all = 1
		HEAD.all.subpartMarker = DOCUMENT_HEADER
		HEAD.rmTagSections = title
		TD.all = 1
		}

	relPathPrefix = fileadmin/template/verbandtemplate/

			}

######################################### 
# Das Menu erzeugen                                                 # 
######################################### 

temp.menu_1 = HMENU
temp.menu_1.1 = TMENU
temp.menu_1.1 {
		target = _top
		NO.allWrap = <div class="menu1-level1-no"><img border="0" src="fileadmin/template/verbandtemplate/images/menupfeil_gross.gif" align="absmiddle"> | </div>
		ACT = 1
		ACT.allWrap = <div class="menu1-level1-act"><img border="0" src="fileadmin/template/verbandtemplate/images/menupfeil_gross.gif" align="absmiddle"> | </div>
	       }

temp.menu_1.2 = TMENU
temp.menu_1.2 {
		target = _top
		NO.allWrap = <div class="menu1-level2-no"><img border="0" src="fileadmin/template/verbandtemplate/images/menupfeil_klein.gif" align="absmiddle"> | </div>
		ACT = 1
		ACT.allWrap = <div class="menu1-level2-act"><img border="0" src="fileadmin/template/verbandtemplate/images/menupfeil_klein.gif" align="absmiddle"> | </div>
	        }

# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
		# Feeding the content from the Auto-parser to the TEMPLATE cObject:
		template =< plugin.tx_automaketemplate_pi1

		# Select only the content between the <body>-tags
		workOnSubpart = DOCUMENT_BODY

		# Substitute the ###menu_1### subpart with some example content:
		subparts.menu_1 < temp.menu_1

		# Substitute the ###content### subpart with some example content:
		subparts.content < styles.content.get
	              }

# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
		# Feeding the content from the Auto-parser to the TEMPLATE cObject:
		template =< plugin.tx_automaketemplate_pi1

		# Select only the content between the <head>-tags
		workOnSubpart = DOCUMENT_HEADER
	              }


# Default PAGE object:
page = PAGE
page.typeNum = 1

# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate

# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate



####################################### 
# Frameset                                                            # 
####################################### 

frameset = PAGE
frameset.typeNum = 0


frameset.frameSet {
   cols = 850,*
   params = frameborder="NO" border="0" framespacing="0"

   1 = FRAMESET
   1 {
         rows = 107,*,16
         1 = FRAME
         1.obj = top
         1.src = fileadmin/template/verbandtemplate/top.php
         1.params = name="top" scrolling="no" noresize

         2 = FRAME
         2.obj = page
         2.params = name="content" scrolling="yes" noresize

         3 = FRAME
         3.obj = bottom
         3.src = fileadmin/template/verbandtemplate/bottom.htm
         3.params = name="bottom" scrolling="no" noresize
       }

   2 = FRAME
   2 {
           obj = rand
           src = fileadmin/template/verbandtemplate/right.htm
           params = name="rightFrame" scrolling="no" noresize
      }
}