Re: [TYPO3-german] jfmulticontent: problem mit googlemaps
hall jürgen Im Ordner "typo3conf/ext/jfmulticontent/res" hat es eine Datei "tx_jfmulticontent_pi1.js" Die muss man sich in den fileadmin kopieren und anpassen mit dem unteren Code. Dann in den Konstanten auf das neue Template verweisen: plugin.tx_jfmulticontent_pi1.templateFileJS = fileadmin/tx_jfmulticontent_pi1.js Besten Dank! Funktioniert jetzt prima. Beste Grüsse Philipp ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
Re: [TYPO3-german] jfmulticontent: problem mit googlemaps
Hallo Philipp Im Ordner "typo3conf/ext/jfmulticontent/res" hat es eine Datei "tx_jfmulticontent_pi1.js" Die muss man sich in den fileadmin kopieren und anpassen mit dem unteren Code. Dann in den Konstanten auf das neue Template verweisen: plugin.tx_jfmulticontent_pi1.templateFileJS = fileadmin/tx_jfmulticontent_pi1.js Dann wird das neue template verwendet Gruss Jürgen 2011/3/22 Philipp Holdener > hallo nochmals > > > >>> >>> jQuery(document).ready(*function*(){ >>> >>> jQuery('KEY### ul li a').each(*function*(id, item){ >>> * **var* temp = item.href.split('#'); >>> * **var* temp_last = temp[temp.length-1]; >>> * **var* search = /^###PREG_QUOTE_KEY###/; >>> * **if* (search.test(temp[temp.length-1])){ >>> item.href = '#'+temp_last; >>> } >>> }); >>> >>> jQuery('KEY###').tabs({ >>> ###OPTIONS### >>> })###ROTATE###; >>> * if (location.hash.toLowerCase()) { >>> jQuery('KEY###').tabs("select", location.hash.toLowerCase()); >>> jQuery('KEY###').tabs("rotate", 0); >>> jQuery('KEY###').bind("tabsshow", function(event, ui) { >>> location.hash = ui.tab.hash; >>> }); >>> } >>> * >>> }); >>> >>> >> > Wo genau muss ich das einfügen? In ein eigenes .js? > Sorry.. bin leider nur Designer.. kein wirklicher programmierer. > > > Gruss > Philipp > ___ > TYPO3-german mailing list > TYPO3-german@lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german > ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
Re: [TYPO3-german] jfmulticontent: problem mit googlemaps
hallo nochmals jQuery(document).ready(*function*(){ jQuery('KEY### ul li a').each(*function*(id, item){ * **var* temp = item.href.split('#'); * **var* temp_last = temp[temp.length-1]; * **var* search = /^###PREG_QUOTE_KEY###/; * **if* (search.test(temp[temp.length-1])){ item.href = '#'+temp_last; } }); jQuery('KEY###').tabs({ ###OPTIONS### })###ROTATE###; * if (location.hash.toLowerCase()) { jQuery('KEY###').tabs("select", location.hash.toLowerCase()); jQuery('KEY###').tabs("rotate", 0); jQuery('KEY###').bind("tabsshow", function(event, ui) { location.hash = ui.tab.hash; }); } * }); Wo genau muss ich das einfügen? In ein eigenes .js? Sorry.. bin leider nur Designer.. kein wirklicher programmierer. Gruss Philipp ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
Re: [TYPO3-german] jfmulticontent: problem mit googlemaps
Am 22.03.11 08:53, schrieb Jürgen Furrer: Haööp Philipp Das Problem hatte ich auch schon mal, man muss das Template anpassen (kopieren wegen Updates) jQuery(document).ready(*function*(){ jQuery('KEY### ul li a').each(*function*(id, item){ ***var* temp = item.href.split('#'); ***var* temp_last = temp[temp.length-1]; ***var* search = /^###PREG_QUOTE_KEY###/; ***if* (search.test(temp[temp.length-1])){ item.href = '#'+temp_last; } }); jQuery('KEY###').tabs({ ###OPTIONS### })###ROTATE###; *if (location.hash.toLowerCase()) { jQuery('KEY###').tabs("select", location.hash.toLowerCase()); jQuery('KEY###').tabs("rotate", 0); jQuery('KEY###').bind("tabsshow", function(event, ui) { location.hash = ui.tab.hash; }); } * }); Dann kann man im URL-Hash die ID des Tabs angeben (/foo/bar/#jfmulticontent_c102-2) dann wird der Tab direkt geöffnet Alternativ kann auch ein javascript ausgeführt werden: jQuery("#jfmulticontent_c102").tabs( "select", 2); Gruss Jürgen Hallo Jürgen.. besten dank! Werde ich mal testen. Gruss Philipp ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
Re: [TYPO3-german] jfmulticontent: problem mit googlemaps
Haööp Philipp Das Problem hatte ich auch schon mal, man muss das Template anpassen (kopieren wegen Updates) jQuery(document).ready(*function*(){ jQuery('KEY### ul li a').each(*function*(id, item){ ***var* temp = item.href.split('#'); ***var* temp_last = temp[temp.length-1]; ***var* search = /^###PREG_QUOTE_KEY###/; ***if* (search.test(temp[temp.length-1])){ item.href = '#'+temp_last; } }); jQuery('KEY###').tabs({ ###OPTIONS### })###ROTATE###; *if (location.hash.toLowerCase()) { jQuery('KEY###').tabs("select", location.hash.toLowerCase()); jQuery('KEY###').tabs("rotate", 0); jQuery('KEY###').bind("tabsshow", function(event, ui) { location.hash = ui.tab.hash; }); } * }); Dann kann man im URL-Hash die ID des Tabs angeben (/foo/bar/#jfmulticontent_c102-2) dann wird der Tab direkt geöffnet Alternativ kann auch ein javascript ausgeführt werden: jQuery("#jfmulticontent_c102").tabs( "select", 2); Gruss Jürgen Am 22. März 2011 08:14 schrieb Philipp Holdener : > Am 21.03.11 19:05, schrieb Jürgen Furrer: > >> Die Tabs basieren auf jQuery UI, dazu gibt es eine FAQ: >> >> >> http://jqueryui.com/demos/tabs/#...my_slider.2C_Google_Map.2C_sIFR_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F >> >> Vielleicht hilft das. >> >> Gruss >> Jürgen >> >> > > Hallo Jürgen > > hast du mir eventuell auch noch einen Tipp, wie man Tabs direkt anspricht? > Es soll von anderen Seiten direkt auf Tab Nr. X verlinkt werden. > > Gruss > Philipp > > ___ > TYPO3-german mailing list > TYPO3-german@lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german > ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
Re: [TYPO3-german] jfmulticontent: problem mit googlemaps
Am 21.03.11 19:05, schrieb Jürgen Furrer: Die Tabs basieren auf jQuery UI, dazu gibt es eine FAQ: http://jqueryui.com/demos/tabs/#...my_slider.2C_Google_Map.2C_sIFR_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F Vielleicht hilft das. Gruss Jürgen Hallo Jürgen hast du mir eventuell auch noch einen Tipp, wie man Tabs direkt anspricht? Es soll von anderen Seiten direkt auf Tab Nr. X verlinkt werden. Gruss Philipp ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
Re: [TYPO3-german] jfmulticontent: problem mit googlemaps
Am 21.03.11 19:05, schrieb Jürgen Furrer: Die Tabs basieren auf jQuery UI, dazu gibt es eine FAQ: http://jqueryui.com/demos/tabs/#...my_slider.2C_Google_Map.2C_sIFR_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F Vielleicht hilft das. Gruss Jürgen Hallo Jürgen Du bist mein Held! Funktioniert. Frag mich aber wie ein jquery auf meiner Seite Einflus auf eine seite in einem iFrame haben kann!? Gruss Philipp ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
Re: [TYPO3-german] jfmulticontent: problem mit googlemaps
Die Tabs basieren auf jQuery UI, dazu gibt es eine FAQ: http://jqueryui.com/demos/tabs/#...my_slider.2C_Google_Map.2C_sIFR_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F Vielleicht hilft das. Gruss Jürgen ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
[TYPO3-german] jfmulticontent: problem mit googlemaps
hallo zusammen Ich hab hier die jfmulticontent Extension im Tab-Modus am laufen. In jedem Tab hats eine Googlemap. Die map im ersten Tab funktioniert. Bei den folgenden ist der Ausschnitt falsch -- es wird nicht der Ausschnitt mit der Adresse angezeigt!? Wenn ich das javascript der jfmulticontent Ext mal deaktiviere sind alle Maps korrekt. Nur IN den tabs nicht. kann mir jemand einen Tipp geben? Gruss Philipp ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german