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.
Now link to the jQuery library* (if it hasn't been yet) and the map core script**Kod PHP:
<link rel="stylesheet" type="text/css" media="screen,projection" href="cssmap-poland/cssmap-poland.css" />
Finally you can initialize the cssMap(); function with a specified map size:Kod PHP:
<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>
Kod PHP:
<script type="text/javascript"> $(function($){ $('#map-poland').cssMap({'size' : 810}); }); </script>