Pavlos
08-04-2013, 18:08
Witam.
Nie umiem sobie poradzić w Joomla, aby wstawić mapkę Polski.
W jaki plik w header należy wstawić 3 linijki kodu? (index.php szablonu nie posiada znacznika header).
Dziękuję za pomoc.
Link files
In the <head> tag of your page add link to the style sheets and scripts. The CSS file must be loaded before scripts and links directly to the folder with maps.
<link rel="stylesheet" type="text/css" media="screen,projection" href="cssmap-poland/cssmap-poland.css" />Now link to the jQuery library* (if it hasn't been yet) and the map core script**
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script type="text/javascript" src="http://cssmapsplugin.com/4/jquery.cssmap.js"></script> Finally you can initialize the cssMap(); function with a specified map size:
<script type="text/javascript"> $(function($){ $('#map-poland').cssMap({'size' : 810}); }); </script>
Nie umiem sobie poradzić w Joomla, aby wstawić mapkę Polski.
W jaki plik w header należy wstawić 3 linijki kodu? (index.php szablonu nie posiada znacznika header).
Dziękuję za pomoc.
Link files
In the <head> tag of your page add link to the style sheets and scripts. The CSS file must be loaded before scripts and links directly to the folder with maps.
<link rel="stylesheet" type="text/css" media="screen,projection" href="cssmap-poland/cssmap-poland.css" />Now link to the jQuery library* (if it hasn't been yet) and the map core script**
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script type="text/javascript" src="http://cssmapsplugin.com/4/jquery.cssmap.js"></script> Finally you can initialize the cssMap(); function with a specified map size:
<script type="text/javascript"> $(function($){ $('#map-poland').cssMap({'size' : 810}); }); </script>