Add this inside your head tag.
<script type="text/javascript">
$(document).ready(function(){
$(’div.test’).html(function() {
var linkTitle = $("#imgs-test").attr("alt");
return linkTitle;
});
});
</script>
Give the image for example an ID
ID="imgs-test"
Place this within the body tag where ever you want the information to be displayed.
<div class="test"></div>
Enter your required location as normal
Clear the address bar and enter the following javascript and hit return
javascript:void(prompt(”,gApplication.getMap().getCenter()));
<?php $parentname = $this->getCurrentCategory()->getParentCategory()->getName(); echo $parentname; ?>
To use Jquery along with Prototype add the following code in your Jquery Script.
This code gets the Skin URL for when you are including Images etc within your template.
<?php echo $this->getSkinUrl(’images/YOURFILE.jpg’) ?>
Please ensure you close the gap between < ? and ? >
This code allows you to add the content of a static block to your template.