Hello. I'm working on a website that has pages with variable height. However, the footer is one of my main problems. When the page can be scrolled, the footer needs to be [icode]position: relative[/icode]. When the window height is greater that the page content height (no scrollbar), the footer needs to be [icode]position: absolute[/icode] so that it stays at the very bottom (using additional styles, of course) and not in the middle of the page, as [icode]position: relative[/icode] causes. Right now, the following code works for NON-variable height pages IN WEBKIT BROWSERS ONLY: [code=javascript] setInterval("footer()", 100) // Run the footer-check …

Member Avatar
+0 forum 0

Hello everyone. I'm an expert html5/css3 designer, but when it comes to javascript, I don't know anything... I need some javascript code that detects a browser engine (webkit, gecko, etc.) and redirects based on that. I need webkit and gecko to redirect to home.php and all others to redirect to basic.php. I know people are going to tell me that if I was a good designer, I would design for all browsers/engines, and I agree. But I need this code for something completely un-related to design. Thanks a lot in advance!

Member Avatar
Member Avatar
+0 forum 2

Hello. I have a file, with some HTML in it. I would like to make a shell/bash script that moves ALL of the content of that file into ANOTHER HTML file at a CERTAIN line number... Does anyone have any suggestions? If not possible at a certain line, then at the END of the file. Thanks a lot in advance ~ Nikhil

Member Avatar
Member Avatar
+0 forum 4

Hello. I have a file, with some HTML in it. I would like to make a shell/bash script that moves ALL of the content of that file into ANOTHER HTML file at a CERTAIN line number... Does anyone have any suggestions? Thanks a lot in advance ~ Nikhil

Member Avatar
Member Avatar
+0 forum 1

The End.