I now have my new site uploaded, and for the most part Background Shadow is working well across most browsers, including IE, thanks to PIE fallback:
I would like to thank Tim for the following example that provided me with the script I needed to fix my shadow at the bottom of the page:
http://www.freewayactions.com/test/variable-box-shadows/box-shadow-with-javascript.html
Specifically, I use the following code on each page in my site (Before /body in HTML Markup) to keep the shadow at the bottom from overshooting more than it should:
<script>
var outer=document.getElementById("outerShadow");
var inner=document.getElementById("PageDiv");
if (PageDiv && outerShadow){
outerShadow.style.height = (parseInt(outerShadow.offsetHeight) -28) + "px";
}
</script>
But there is one page that has a problem, which prompted me to post today. This one page in my site is linked to Atomz Search:
http://search.atomz.com/search/?sp_q=test&sp_f=Shift_JIS&sp_w_control=1&sp_a=sp1001f22b
I used Freeway to generate the code for that web page, and then I copied and pasted the page’s HTML into my Atomz Search template. Within Freeway, I needed to paste an HTML Markup item inside an HTML box (DIV) to get the required Atomz code in the appropriate place on my page. But since Freeway doesn’t allow me to control Markup Items like HTML boxes (e.g., I can float an HTML box but not a Markup Item), I could not figure out a way to design the page fully “inline” such that the text from Atomz doesn’t overshoot the bottom of the page when the search results are long. So to keep the Atomz search results from overshooting, I was forced to use the Relative Page Layout Action on the page. But the problem that causes is that the HTML Markup code I added Before /body to control Page Shadow overshoot no longer works. (In other words, my Page Shadow perpetually overshoots the bottom of the page by about 28px.)
If you make the browser window sufficiently tall you will see that the page shadow on the following page overshoots the bottom of the page too much:
http://search.atomz.com/search/?sp_q=test&sp_f=Shift_JIS&sp_w_control=1&sp_a=sp1001f22b
Can anyone suggest a modified script that would allow me to control the Page Shadow overshoot while using the RPL action?
Here’s the Freeway 5.6.5 document containing my problem page:
http://www.kiramek.com/21test95/ShadowOvershoot.zip
Thanks,
James Wages
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options