i found some code to stop the click sound when using iframe
page refresh, but when my page refreshes now i get a white page.
i am tring to code, if query recordcount = 0 the show
background red else show background image, so i am not sure why i
am getting a white page?
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<script type="text/javascript"
src="silent_refresh.js"></script>
<CFQUERY datasource="#application.ds#"
Name="ShowInbox">
SELECT *
FROM SMS_Inbox
where InboxClubID = '#session.ClubLogin#' AND InboxViewed = 1
</cfquery>
<CFQUERY datasource="#application.ds#"
Name="ShowInboxbeep">
SELECT *
FROM SMS_Inbox
where InboxClubID = '#session.ClubLogin#' AND InboxViewed = 1
AND Beep = 1
</cfquery>
<CFIF ShowInbox.recordcount GT 0>
<style type="text/css">
<!--
body {
background-image: url(images/icon2.gif);
}
-->
</style>
<cfelse>
<style type="text/css">
<!--
body {
background-color: #BB2020;
}
-->
</style>
</CFIF>
</head>