Tag development
Local fallback jQuery (with a twist of Joomla)
It’s been a while since the last post, but here were go again anyway! Today there was a small problem with OpenDNS whereby anyone using their service would find that Google’s content delivery network was blocked as a phishing site.
Oh well you say, but Google’s CDN hosts jQuery and have a look at how many sites use this hosted version….
The height(); of bad manners
Hello there, to quote Alec Guiness, today i’ve found yet another jQuery inconsistency that needs to be made note of! It would seem that certain version of IE (looks like 8 and 9) along with Opera don’t officially support the jQuery height() function.
HTML over Flash
Well it’s been a while since the last post but that doesn’t mean the quality has gone down! Today I needed to show a normal HTML anchor tag, a close button, but over the top of some flash content. Now this works fine in firefox, just create the anchor and move it over the flash.
Add to Joomla message queue
Joomla has an internal message system, which queues up pieces of information to relay back to user. You can push messages to the end of this queue very simply
Get Joomla template name
How do you get the name of the current template on joomla? Simple as this: $app =& JFactory::getApplication(); $template = $app->getTemplate(); :)