I came across some Javascript that reads the browser size. I was hoping to use the code snippet to set the height of my content area. Can anyone possibly help me with this. I'm not sure how to pass the information to my CSS, if even possible.
function BrowserSize() { var viewportwidth; var viewportheight; var finalheight;
// the more standards compliant browsers (mozilla/netscape/opera/IE7) use window.innerWidth and window.innerHeight
@jamy_za - I'm still learning javascripts and jQuery. I have a javascript file called ajax.js and has a small snippet of code that I'm using to load content dynamically without having to refresh the page. How can I add this to it?
I did take a small look at it but it was after I got to the point of where I am. I'm stuck where I'm at now because I have my header and footers "stuck" on the page and I want the content to change between the items.
Current file