Honeymonster's Lair

Home of the Larger-than-life Depressive-Psychotic Computer Geek

Posts Tagged ‘wordpress’

More AJAXy Goodness

Tuesday, March 10th, 2009

just a quicky note: ajax has been reenabled on my blog. I still need to fix thickbox embedded images.

WordFotobook

Sunday, November 23rd, 2008

See the page of the same name for the latest download: WordFotobook. Basically, I’ve made minor modifications to the Wordbook and Fotobook plugins to wordpress. These mods allow both plugins to operate simultaneously by virtue of their sharing of the Facebook library in a common location, rather than (as shipped) using their own internal versions which conflicted by redeclaring the same class names.

framed blog update

Monday, May 12th, 2008

I’ve just uploaded an update to my framedblog plugin for wordpress. You can find information about it on the framedblog page by clicking the link on the right-hand navigation column of this site. Of note, and the reason for the update, is that back and forward buttons and editing of the address bar in-situ. are all supported. This means that clicking the back button will, with a maximum of 1 second delay, navigate to the previous page viewed. Also, changing anything after the # symbol on the addressbar and hitting enter will have the same effect as navigating directly to that page, only within the frameset.

I’ve not tested this in Internet Explorer yet…

FramedBlog

Tuesday, March 18th, 2008

As a precursor to the return of a music player for my blog, like that of CuBeZeRo’s site (www.nweightman.co.uk), I have inserted a frameset so that I can have the player permanently at the top of the window while the user is navigating the site. This allows me to use the streaming mp3 technology of Adobe Flash (my choice of player) rather than embedding the mp3 into the flash file making it a huge-ass download. Using streaming also means I can have more than one mp3 file and either rotate them as they play, or change the single file once in a blue moon when I feel like a change, without having to recode the flash file.

Now onto the clever bits: I’ve coded a plugin for wordpress that simply adds some javascript to the top of each page served, and placed counter code in the frameset page. These codes combine to allow the user to deep-link their bookmarks to any page on the site while still retaining the frameset. I’ve utilised anchors (http://blah.com/#anchorhere) for this, and the javascript inserts the correct page’s url as the anchor whenever the user clicks a link. When the frameset is loaded from a bookmark that has an anchor the javascript sets the content frame’s url to the correct location. And finally, on each loaded page of the blog there is javascript that sets the browser’s title to the correct string, rather than having a single static title for the entire site.