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. Link to comment https://forums.phpfreaks.com/topic/49164-couple-of-questions/ 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. Link to comment https://forums.phpfreaks.com/topic/49164-couple-of-questions/#findComment-241007 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.