473,396 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Looking for some help

Hi everyone. Dont think i've ever posted here before. I'm having a
small problem with my page layout. Not sure if this is the place to
come for help but it IS a javascript (or more precicely, a DOM) issue.
if i'm in the wrong goupl would somebody direct me to the right place?
the site in question is
http://www.johnnygolden.com/garnersigns/website/ . notice the white
background that flows down below the end of the page? my goal for that
is to have it stretch vertially to fit the entire screen similar to the
way the background at www.johnnygolden.com does. Now i copied the
javascript directly from johnnygolden.com and used it for this site so
it should work the same. I notice that it IS functioning but for some
reason theres a gap. any ideas how to fix this?
thanks a million
john

Jun 23 '06 #1
3 1266
Hi,

I see what you mean. I had a quick look at your code and noticed that your
adjustLayout() function was causing an error.

I'm no expert but try removing the function all together along with the
onload call and change the first div to...

<div class="container" id="Container" height="100%">

I couldn't check to see if that worked as I don't have access to your
stylesheet but it's worth a try.

Hope that helps

Andy

<ta*****@yahoo.com> wrote in message
news:11**********************@b68g2000cwa.googlegr oups.com...
Hi everyone. Dont think i've ever posted here before. I'm having a
small problem with my page layout. Not sure if this is the place to
come for help but it IS a javascript (or more precicely, a DOM) issue.
if i'm in the wrong goupl would somebody direct me to the right place?
the site in question is
http://www.johnnygolden.com/garnersigns/website/ . notice the white
background that flows down below the end of the page? my goal for that
is to have it stretch vertially to fit the entire screen similar to the
way the background at www.johnnygolden.com does. Now i copied the
javascript directly from johnnygolden.com and used it for this site so
it should work the same. I notice that it IS functioning but for some
reason theres a gap. any ideas how to fix this?
thanks a million
john

Jun 23 '06 #2
ta*****@yahoo.com wrote:
Hi everyone.
Hi.
Dont think i've ever posted here before.
Why would I think that? :)
I'm having a
small problem with my page layout. Not sure if this is the place to
come for help but it IS a javascript (or more precicely, a DOM) issue.
if i'm in the wrong goupl would somebody direct me to the right place?
the site in question is
http://www.johnnygolden.com/garnersigns/website/ . notice the white
background that flows down below the end of the page? my goal for that
is to have it stretch vertially to fit the entire screen similar to the
way the background at www.johnnygolden.com does. Now i copied the
javascript directly from johnnygolden.com and used it for this site so
it should work the same. I notice that it IS functioning but for some
reason theres a gap. any ideas how to fix this?


Have you tried it in IE? Have you run the Firefox javascript console?

In IE I get the error: Line 18, Char: 1, Error: Object expected.

In Firefox, the javascript console tells me: "adjustLayout is not defined"

I'd say that adjustLayout isn't being called, so the layout isn't being
adjusted.
--
"The most convoluted explanation that fits all the available and made-up
facts is the most likely to be believed by conspiracy theorists"
Jun 23 '06 #3
Ok.. I tried the height: 100% thing in the css for the #Container div
and that didnt seem to have any effect at all. I did fix the
javascript error and the adjustLayout() function seems to be working
now.. i can see that the height is being adjusted when i resize the
window and reload the page. I remember this isseue happening with my
own persoanal site www.johnnygolden.com. I cant remember what i did
with that background to fix it however. thanks for you help though and
if anything comes to you before it does to me, i'd appreciate the help.
thanks,
john
Tony wrote:
ta*****@yahoo.com wrote:
Hi everyone.


Hi.
Dont think i've ever posted here before.


Why would I think that? :)
I'm having a
small problem with my page layout. Not sure if this is the place to
come for help but it IS a javascript (or more precicely, a DOM) issue.
if i'm in the wrong goupl would somebody direct me to the right place?
the site in question is
http://www.johnnygolden.com/garnersigns/website/ . notice the white
background that flows down below the end of the page? my goal for that
is to have it stretch vertially to fit the entire screen similar to the
way the background at www.johnnygolden.com does. Now i copied the
javascript directly from johnnygolden.com and used it for this site so
it should work the same. I notice that it IS functioning but for some
reason theres a gap. any ideas how to fix this?


Have you tried it in IE? Have you run the Firefox javascript console?

In IE I get the error: Line 18, Char: 1, Error: Object expected.

In Firefox, the javascript console tells me: "adjustLayout is not defined"

I'd say that adjustLayout isn't being called, so the layout isn't being
adjusted.
--
"The most convoluted explanation that fits all the available and made-up
facts is the most likely to be believed by conspiracy theorists"


Jun 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Chris Lott | last post by:
I already use and am happy with a variety of text editors (vim, emacs, ultraedit, jedit, Homesite) depending on my needs, but I would like recommendations for a PHP specific IDE that will run on...
2
by: Rick | last post by:
Hi all, I have recently been implementing php code in some web pages and am now looking for a more visual oriented php development environment because for example creating php/html forms by hand...
22
by: Martin MOKREJ© | last post by:
Hi, I'm looking for some easy way to do something like include in c or PHP. Imagine I would like to have: cat somefile.py a = 222 b = 111 c = 9
14
by: Jason Daly | last post by:
I'm a freshman at college as a computer science major. I'm not sure it has what I want. Does anyone know if a major commonly exists in web design (focusing in server side languages)? I want to...
4
by: Gerald Aichholzer | last post by:
Hello NG, I have a XML file looking like: <!-- some elements here --> <plugin> <icon></icon> <!-- some elements here --> <object> <!-- some elements here -->
2
by: Wayne Wengert | last post by:
I hope this is an appropriate group for this question? I work with a non-profit group that uses SQL Server 2000 for their data backend. They have a moderate size web site with many data driven...
1
by: iceColdFire | last post by:
Hi, I am into C++ compiler validation since past couple of years. Lately I have grown with a strange feeling...while on the course of my work, I start getting bored and very bored...I have...
24
by: Kevin | last post by:
Hey guys. I'm looking to get together some VB programmers on Yahoo messenger. I sit at a computer and program all day. I have about 3 or 4 people already, but it would be really cool to have a...
2
by: A.E lover | last post by:
Hi all, I am working on a project for industry and looking for free reliable C code for Singular Value Decomposition (SVD). I have the C code based from the book "Numerical recipes in C", but as...
1
by: vinniegolfs | last post by:
Been all over the internet for months now. Looking for a script that has the feel and look of ebay, but I have some programming ideas to change the way some of the script works. I've seen Rainworx,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.