WordPress Jquery PopUpWindow

February 27th, 2010

Being on a roll i decided to find the best option for a Popup window for WordPress. As you may know, at this time, there isn’t much choice in the WordPress plugin world for Pop up windows. The only one i found was the plugin ‘Simple Popup Plugin’ but if you have multiple popups on a page with different sizes it’s a problem. Not keen on slowing down WordPress with bulky plugins doing menial tasks so i went on a mission to find a better option.

Luckily I stumbled upon a good piece Jquery code with all the options you’ll ever want called PopUpWindow (centerBrowser pop up!).

To show multiple examples and download the latest version go here. (top 50, left 50 pop up!)

Categories | Development, WordPress

Embedding flash with swfobject.js

February 26th, 2010

Have been wanting to embed my flash projects into my posts for some time, without the need for popups or unnecessary plugins, so had a good search for the best solution. i found the swfobject.js was the best.
Basically put your swfobject.js on your site and make sure you code it like this…

<script type="text/javascript" src="http://www.dalesullivan.com/swfobject.js"></script></p>
<div id="cont11">You need the flash player!</div>
<p><script type="text/javascript"><!--
var so = new SWFObject("http://www.dalesullivan.com/dale-thermometer2.swf", "me11", "220", "310", "7", "#ffffff");  so.write("cont11"); //--></script>

Categories | Development, WordPress

Back to top