Sandaysoft

Support forum for Cumulus weather station software
It is currently Fri May 24, 2013 4:24 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: CumulusRealtime.swf XHTML Validation
PostPosted: Sat Sep 27, 2008 11:37 am 
Offline
User avatar

Joined: Wed Sep 17, 2008 1:34 pm
Posts: 629
Location: Mesa, AZ USA
Weather Station: Davis VP2 Plus w/24 FARS
Operating System: WinX Pro SP3 Dedicated wstn
If you are creating your own web pages and using one of the XHTML doctypes... the current insertion of CumulusRealtime.swf into the page will not validate because it uses the depreciated "EMBED" elements.

The original code is:
Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    id="CumulusRealtime" width="600" height="300"
    codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
    <param name="movie" value="CumulusRealtime.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <param name='flashVars' value='interval=60'/>
    <param name="allowScriptAccess" value="sameDomain" />
    <embed src="CumulusRealtime.swf" quality="high" wmode="transparent"
        width="600" height="300" name="CumulusRealtime" align="middle"
        play="true"
        loop="false"
        quality="high"
        allowScriptAccess="sameDomain"
        flashVars='interval=60'
        type="application/x-shockwave-flash"
        pluginspage="http://www.adobe.com/go/getflashplayer">
    </embed>
</object>


A replacement for the above which works in FF and IE is:
Code:
<object type="application/x-shockwave-flash" data="CumulusRealtime.swf"
    width="600" height="300" id="CumulusRealtime" >
    <param name="movie" value="CumulusRealtime.swf"/>
    <param name="quality" value="high"/>
    <param name="scale" value="noscale"/>
    <param name="bgcolor" value="#FFFFFF"/>
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="wmode" value="transparent" />
    <param name='flashVars' value='interval=60'/>   
</object>

_________________
Kevin
Image
All you need is Time, Aptitude and Desire ... and you can build just about anything...
Cumulus User Maps


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot], moe3 and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group