Jump to content

Recommended Posts

I have a client who wants an overlay at the bottom of their site. I was able to make this work in Internet Explorer using Flash - but have not been able to get it to work in Firefox.

 

Here is what I want it to look like: http://www.trenttompkins.com/

 

This would work except the image makes a large dead area over the site because it captures events despite being transparent. Does anyone have any idea how to get around this?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/71799-here-is-a-tough-one/
Share on other sites

All you need in your html is <div id="overlay"></div>

 

put it right before the ending body tag as its not important...

 

in your css ad this.

 

body { position: relative; }

div#overlay {position: fixed; bottom: 0px; width: 100%; height: ~IMAGE YOU ARE USING~; background: transparent url(relative/path/to/image) no-repeat 0 0;}

you will need some javascript like [url=http://www.howtocreate.co.uk/fixedPosition.html]this[/url] and the iepngfix [url=http://www.twinhelix.com/css/iepngfix/]here[/url] to make this work in ie6...

Link to comment
https://forums.phpfreaks.com/topic/71799-here-is-a-tough-one/#findComment-361684
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.