Enhancements to Spanky's Daily Beer Quote
I finally got the scrolling beer background working in the Daily Quote block. It has been working fine on the main Spanky's Daily Beer Quote for quite some time now (thanks to a bit of originally written by Roy Sinclair -available at The JavasSript Source.) Until today, I haven't been able to (ok, I haven't really taken the time to do it) get it working in the actual Daily Quote block.
My solution was to create a second navigator in the Spanky's Daily Beer Quote database (and a $$NavigatorTemplate form for it), and then reference that navigator in the Daily Quote block itself using an IFRAME tag.
To be honest, I'm really not very happy with this solution. I think resorting to the IFRAME is a quick and dirty way out, and would honestly prefer to use a "cleaner" method. However, I'm so busy right now with other work (stuff that actually pays) that I don't have the time to figure this out myself. Do any of you have any ideas on a better method? I'd love to hear them.
Also, if you want to pull in the daily quote on your site, the proper full URL to use is:
https://azlighthouse.com/spanky762/Quotes.nsf/ServeFormattedDailyQuote.
NOTE: As of now, there isn't an RSS feed for this. If and when I have time, and assuming there is actually a demand out there, I'll create an RSS feed.
Comments
I think I'm going to kill the scrolling background. It appears that instead of using the image from the browser cache, it is downloading the image every time through the cycle. What a PITA.
-Devin
Posted by Devin At 01:35:00 PM On 09/19/2005 | - Website - |
Posted by Kollapse At 04:39:40 PM On 09/19/2005 | - Website - |
i am using an iframe for the random face roll thing. although i think i need to look at ajax for that. all the ajax talk lately has me thinking...
Posted by jonvon At 07:54:17 PM On 09/19/2005 | - Website - |
-Devin
Posted by Devin Olson At 01:06:12 AM On 09/20/2005 | - Website - |