Tessa - I have an update for you on the first site - the FW Real Estate one that the company fixed... I asked them which script they changed and what code they used! Here was the code originally:
<script type="text/javascript">
window.addEvent('domready', function() {
if ($('fwre-share-button')) $('fwre-share-button').addEvent('mouseover', function(ev) {
$('fwre-share-panel').setStyle('display', '');
});
if ($('fwre-share-button')) $('fwre-share-button').addEvent('mouseout', function(ev) {
$('fwre-share-panel').setStyle('display', 'none');
});
var tab = location.toString().match(/#(.+)/);
if (tab && tab[1]) {
switch (tab[1]) {
case 'photos' :
var el = <?php if (fwRealEstateHelper :: isJoomla16()) { ?>document.getElement('#fwrealestate dt.fwrealestate-item-photo');<?php } else { ?>$('fwrealestate-item-photo')<?php } ?>;
if (el) el.fireEvent('click');
break;
}
}
});
</script> And here's what they added (the last few lines at the end):
<script type="text/javascript">
window.addEvent('domready', function() {
if ($('fwre-share-button')) $('fwre-share-button').addEvent('mouseover', function(ev) {
$('fwre-share-panel').setStyle('display', '');
});
if ($('fwre-share-button')) $('fwre-share-button').addEvent('mouseout', function(ev) {
$('fwre-share-panel').setStyle('display', 'none');
});
var tab = location.toString().match(/#(.+)/);
if (tab && tab[1]) {
switch (tab[1]) {
case 'photos' :
var el = <?php if (fwRealEstateHelper :: isJoomla16()) { ?>document.getElement('#fwrealestate dt.fwrealestate-item-photo');<?php } else { ?>$('fwrealestate-item-photo')<?php } ?>;
if (el) el.fireEvent('click');
break;
}
} else {
var el = <?php if (fwRealEstateHelper :: isJoomla16()) { ?>document.getElement('#fwrealestate dt.fwrealestate-item-details');<?php } else { ?>$('fwrealestate-item-details')<?php } ?>;
if (el) el.fireEvent('click');
}
});
</script> Just thought you'd want to know :)