erstmal danke für die schnelle antwort, leider verstehe ich grad nur bahnhof 🙁( :o :o
Also ich habe ja mein HTML Dokument. Marker brauche ich ja anscheinend nicht zu setzen(außer für den Content Bereich wo die Seiten-Inhalte geladen werden sollen).
In Typo sieht meine Baumstruktur im Fall "Software" und "Internet" wie folgt aus:
Projektname
(Navigationsebene 1, welche als Grafiken schon im HTML-Template eingefügt sind)
- Software
(Navigationsebene 2, welche über Typo3 automatisch in das Javascript reingeladen werden soll)
- Vertriebssoftware
- Individualsoftware
(Navigationsebene 1, welche als Grafiken schon im HTML-Template eingefügt sind)
- Internet
(Navigationsebene 2, welche über Typo3 automatisch in das Javascript reingeladen werden soll)
- Shopsystem
- Content Management System
Leider hab ich keinen schimmer von Programmierung, weder in Typo3 noch in Javascript (hab für das Script eine kleine Software benutzt welches mir dann den kompletten Code mit den dazugehörigen Dateien ausspuckte).
Das einzige was ich gut behersche ist HTML #paralyzed#
Mein Typo3-Setup sieht bisher wie folgt aus, dabei ist alles falsch so wie ich sehe 🙂 .. soll nicht so rüberkommen das sich es mir leicht amche und euch die ganze arbeit überlasse, nur hab ich wirklich keinen schimmer davon:
page = PAGE
page.includeCSS {
file10 = fileadmin/templates/cssystemhaus/systemhaus.css
}
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/templates/cssystemhaus/index.htm
marks.INHALT < styles.content.get
NAVIGATION = HMENU
NAVIGATION {
special = directory
special.value = 32
entryLevel = 1
1 = TMENU
1 {
noBlur = 1
NO = 1
NO.allWrap = <td id="mainnavigation"><nobr>|</nobr></td>
NO.ATagParams = class="mainnavigation"
ACT = 1
ACT.allWrap = <td id="mainnavigation"><nobr>|</nobr></td>
ACT.ATagParams = class="mainnavigationCUR"
RO < ACT
}
}
SUBNAVIGATION = HMENU
SUBNAVIGATION {
stdWrap.required = 1
entryLevel = 2
1 = TMENU
1 {
noBlur = 1
NO = 1
NO.wrapItemAndSub = | ||*| | ||*| |
NO.ATagParams = class="subnavigation"
ACT = 1
ACT.wrapItemAndSub= | ||*| | ||*| |
ACT.ATagParams = class="subnavigationCUR"
RO < ACT
CUR < ACT
}
2 <.1
3 <.2
}
}
Das Javascript für die Navigation der Ebene 1 wird wie folgt in das HTML Template eingefügt:
<script language="JavaScript" vqptag="doc_level_settings" is_vqp_html=1 vqp_datafile0="test.js" vqp_uid0=561339>cdd__codebase = "navigation/";cdd__codebase561339 = "navigation/";</script>
<script language="JavaScript" vqptag="datafile" src="navigation/test.js"></script><script vqptag="placement" vqp_menuid="561339" language="JavaScript">create_menu(561339)</script>
Das Javascript ansich sieht wie folgt aus:
function cdd_menu561339(){//////////////////////////Start Menu Data/////////////////////////////////
//Unique Menu Id
this.uid = 561339
/**********************************************************************************************
Icon Images
**********************************************************************************************/
/**********************************************************************************************
Global - Menu Container Settings
**********************************************************************************************/
this.menu_background_color = "#cfcfcf"
this.menu_border_color = "#000000"
this.menu_border_width = "0"
this.menu_padding = "1,1,1,1"
this.menu_border_style = "solid"
this.divider_caps = false
this.divider_width = 1
this.divider_height = 1
this.divider_background_color = "#ffffff"
this.divider_border_style = "none"
this.divider_border_width = "0"
this.divider_border_color = "#000000"
this.menu_is_horizontal = false
this.menu_width = 100
this.menu_xy = "-80,-2"
this.menu_animation = "progid:DXImageTransform.Microsoft.Fade(duration=0.3)"
/**********************************************************************************************
Global - Menu Item Settings
**********************************************************************************************/
this.menu_items_background_color_roll = "transparent"
this.menu_items_text_color = "#003464"
this.menu_items_text_decoration = "none"
this.menu_items_font_family = "Arial"
this.menu_items_font_size = "11px"
this.menu_items_font_style = "normal"
this.menu_items_font_weight = "normal"
this.menu_items_text_align = "left"
this.menu_items_padding = "4,2,4,2"
this.menu_items_border_style = "solid"
this.menu_items_border_color = "#408080"
this.menu_items_border_width = "0"
this.menu_items_width = 90
this.menu_items_text_decoration_roll = "none"
this.menu_items_animation_roll = "progid:DXImageTransform.Microsoft.Fade(duration=0.3)"
this.menu_items_background_color = "#cfcfcf"
/**********************************************************************************************
Main Menu Settings
**********************************************************************************************/
this.menu_background_color_main = "#cfcfcf"
this.menu_items_background_color_main = "#cfcfcf"
this.menu_items_background_color_roll_main = "#ffffff"
this.menu_items_font_family_main = "Arial"
this.menu_items_font_weight_main = "normal"
this.menu_items_font_style_main = "normal"
this.menu_items_font_size_main = "12px"
this.menu_border_width_main = "0"
this.menu_items_border_color_main = "#003464"
this.menu_padding_main = "0,0,0,0"
this.menu_items_animation_roll_main = "progid:DXImageTransform.Microsoft.Fade(duration=0.3)"
this.menu_is_horizontal_main = true
this.item0 = "<img vqp_img=1 src='"+cdd__codebase561339+"../images/navi_software_1.gif' width=114 height=126>"
this.item_roll0 = "<img vqp_img=1 src='"+cdd__codebase561339+"../images/navi_software_2.gif' width=114 height=126>"
this.item_background_color0 = "#cfcfcf"
this.item_border_width0 = "0"
this.item_padding0 = "0,0,0,0"
this.item_width0 = 114
this.url0 = "sample_link.html"
/**********************************************************************************************
Sub Menu Settings
**********************************************************************************************/
//Sub Menu 0
this.menu_background_color0 = "#cfcfcf"
this.menu_items_background_color0 = "#cfcfcf"
this.menu_items_background_color_roll0 = "#ffffff"
this.menu_items_text_color0 = "#4f4f4f"
this.menu_border_color0 = "#cbe7ed"
this.menu_items_font_family0 = "Arial"
this.menu_items_font_weight0 = "normal"
this.menu_items_font_style0 = "normal"
this.menu_items_font_size0 = "12px"
this.menu_border_style0 = "none"
this.menu_border_width0 = "0"
this.menu_padding0 = "1,1,1,1"
this.menu_items_padding0 = "2,2,2,2"
this.menu_xy0 = "-115,-303"
this.menu_width0 = 137
this.menu_animation0 = "progid:DXImageTransform.Microsoft.Fade(duration=0.3)"
this.item0_0 = "HANDEL.net"
//Sub Menu 0_0
this.menu_items_background_color0_0 = "#ffffff"
this.menu_items_background_color_roll0_0 = "#cfcfcf"
this.menu_items_text_color0_0 = "#2f2f2f"
this.menu_items_font_family0_0 = "Arial"
this.menu_items_font_weight0_0 = "normal"
this.menu_items_font_style0_0 = "normal"
this.menu_items_font_size0_0 = "12px"
this.menu_padding0_0 = "1,1,1,1"
this.menu_items_padding0_0 = "4,4,4,4"
this.menu_xy0_0 = "0,-24"
this.menu_width0_0 = 137
this.menu_animation0_0 = "progid:DXImageTransform.Microsoft.none(duration=0.3)"
this.item0_0_0 = "Leistungsübersicht"
this.item0_0_1 = "Systemanforderung"
this.item0_0_2 = "Angebote"
this.item0_0_3 = "Kunden"
this.item_background_color0_0_0 = "#ffffff"
this.item_background_color_roll0_0_0 = "#cfcfcf"
this.item_text_color0_0_0 = "#1f1f1f"
this.item_text_color_roll0_0_0 = "#ffffff"
this.item_padding0_0_0 = "4,4,4,4"
this.item_text_color_roll0_0_1 = "#ffffff"
this.item_text_color_roll0_0_2 = "#ffffff"
this.item_text_color_roll0_0_3 = "#ffffff"
this.url0_0_0 = "sample_link.html"
this.url0_0_1 = "sample_link.html"
this.url0_0_2 = "sample_link.html"
this.url0_0_3 = "sample_link.html"
this.item0_1 = "HANDEL.mobile"
this.item0_2 = "easy.image"
this.item0_3 = "CS.messeerfassung"
this.item0_4 = "ReCycling.net"
this.item0_5 = "Lohn & Gehalt"
this.item0_6 = "FiBu"
this.item_background_color0_0 = "#cfcfcf"
this.item_padding0_0 = "4,6,4,6"
this.item_background_color0_1 = "#cfcfcf"
this.item_background_color_roll0_1 = "#ffffff"
this.item_padding0_1 = "4,6,4,6"
this.item_padding0_2 = "4,6,4,6"
this.item_padding0_3 = "4,6,4,6"
this.item_padding0_4 = "4,6,4,6"
this.item_padding0_5 = "4,6,4,6"
this.item_padding0_6 = "4,6,4,6"
this.url0_0 = "sample_link.html"
this.url0_1 = "sample_link.html"
this.url0_2 = "sample_link.html"
this.url0_3 = "sample_link.html"
this.url0_4 = "sample_link.html"
this.url0_5 = "sample_link.html"
this.url0_6 = "sample_link.html"
this.url_target0_6 = "_self"
}///////////////////////// END Menu Data /////////////////////////////////////////
//Document Level Settings
cdd__activate_onclick = false
cdd__showhide_delay = 120
cdd__url_target = "_blank"
cdd__url_features = "resizable=1, scrollbars=1, titlebar=1, menubar=1, toolbar=1, location=1, status=1, directories=1, channelmode=0, fullscreen=0"
cdd__display_urls_in_status_bar = true
cdd__default_cursor = "hand"
if (window.showHelp){b_type = "ie"; if (!window.attachEvent) b_type += "mac";}if (document.createElementNS) b_type = "dom";if (navigator.userAgent.indexOf("afari")>-1) b_type = "safari";if (window.opera) b_type = "opera"; qmap1 = "\<\script language=\"JavaScript\" vqptag='loader_sub' src=\""; qmap2 = ".js\">\<\/script\>";;function iesf(){};;function vqp_error(val){alert(val)}
if (b_type){document.write(qmap1+cdd__codebase+"pbrowser_"+b_type+qmap2);document.close();}
Meine Frage nun: wie sieht der Setup-Code aus und was muss ich im Javascript einfügen dass er mir die Navigationspunkte von Ebene 2 und 3 aus Typo3 holt? Hoffe Ihr könnt mir helfen.
So solls dann aussehen:
Bild: entwurf.cs-gate.de/…/test.jpg