glenelkins Posted April 29, 2007 Share Posted April 29, 2007 Hi I have a function that sets the transparency of a div element: function HideMain () { var obj = document.getElementById('outer'); var value = 5; obj.style.opacity = value/10; obj.style.filter = 'alpha(opacity=' + value*10 + ')'; obj.disabled = true; } Is it possible to set the entire browser window as transparent? Secondly, how can I have a div element stick to the centre of the page and stay there even if the user scrolls up and down. Quote Link to comment Share on other sites More sharing options...
xenophobia Posted April 29, 2007 Share Posted April 29, 2007 Impossible for first one. Haha. Second, you need a some scripts to do so. Visit: http://javascript.internet.com/navigation/ Should have a lot of example. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.