Can Javascript affect site design?

User 188640 Photo


Registered User
895 posts

I have a site I've been working on and have it 'almost' finished. (Except for the owner not getting me all the pictures for the site yet.)

I have one page that has javascript and I'm not sure if it's messing with the layout or if I've missed something. I may be to close to the trees so I need someone to take a look.

I have the page up twice so there's a comparison. This page only has javascript in the footer to auto update the year: http://www.mytestblog.net/master/history.html

There's still something on this page as the footer text is being pushed down from vertical center.

Here's the page with all the javascript: http://www.mytestblog.net/master/history2.html

This has to do with the two pictures at the bottom being oped in a bigger window and the owner wants this on the site (I think).

I've looked at this to long and need 'new eyes' to see what's going on with this page.

If the owner can live without the pictures popping up I still have the alignment issue on the first link I posted.

Thanks for taking a look and helping,

ERnie
A Rose is Just a Weed in a Corn Patch!
User 187934 Photo


Senior Advisor
20,266 posts

I'm not seeing any issues.;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 188640 Photo


Registered User
895 posts

Eric,

Look at the footers on each page.
A Rose is Just a Weed in a Corn Patch!
User 434929 Photo


Ambassador
938 posts

Home button has either margin or border issue, here seeing with Firefox 29 but with chrome seems ok with no issue.
Guys at coffeecup are awesometacular.
User 271657 Photo


Ambassador
3,816 posts

Ernie, are you talking about the lodge name being split from the copyright and positioned at the bottom left in a different font? Have you tried validating the CSS/HTML? In the screencap below, all the red items have error messages. I hovered over the mytestblog link so you could see one of the messages.
https://sdrive-storage.s3.amazonaws.com/callie/5362fbfb794ca8/71379561/js-error.png
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 187934 Photo


Senior Advisor
20,266 posts

I think paintbrush is heading the correct direction.
http://validator.w3.org/check?uri=http% … mp;group=0
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 188640 Photo


Registered User
895 posts

Update:

Eric, you are correct when you said paintbrush is heading in the correct direction. That fixed the footer issue.

I knew I was missing something in my code and found it using what paintbrush posted. The code I am using was taken from the original site which was a total mess. All the code was done in caps and very hard to read. I missed the closing < / a > tags for both the window pop ups.

Now the page validates with only two warnings. The first I don't think means anything and the second has to do with the encoding. The second says the page has utf-8, utf-8 encoding which may not be supported across all browsers, but should use UTF-8. What's the difference? The utf-8 was put in there by CC Menu Builder.

Now on to getting a handle on the css. Some of that has been easy, some is being a pain. I may be back with more questions.

Thank you everyone for all the help (again),

Ernie
A Rose is Just a Weed in a Corn Patch!
User 188640 Photo


Registered User
895 posts

Mansour ... wrote:
Home button has either margin or border issue, here seeing with Firefox 29 but with chrome seems ok with no issue.


Mansour,

I don't have Firefox installed anymore as it quit working. Maybe they have updated since and I'll try it again. I don't see any border issues with Chrome or Internet Exploder (:D).

Thanks for letting me know,

Ernie
A Rose is Just a Weed in a Corn Patch!
User 434929 Photo


Ambassador
938 posts

Ernie Hodge
See following video regarding the issue I see it with Firefox but not chrome :

see in full screen with HD enabled .

http://youtu.be/ervBTgg7bSY
Guys at coffeecup are awesometacular.
User 188640 Photo


Registered User
895 posts

Mansour,

I went into menu builder and couldn't find that anywhere. However, with your great video I did find it in the style.css for that menu and now it's fixed.

Thank you very much,

Ernie
A Rose is Just a Weed in a Corn Patch!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.