• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Keep footer on bottom of page with java?

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Sep-01-2011, 10:49 AM
#1
Shooter84 is offline Shooter84 OP
Big grins
Keep footer on bottom of page with java?
Dont know if this is possible but Ill throw it out there. Is there anyway to use java to keep a custom footer on the bottom of the screen using the following method.

If the screen has no scrollbar then #myfooter position would be fixed to the bottom

If the screen has a scrollbar then #myfooter position would not be fixed as it would automaticly place itself on the bottom of the window

I have been working on this issue for a while so I thought I would ask.
Old Sep-06-2011, 08:27 AM
#2
Shooter84 is offline Shooter84 OP
Big grins
Bump
Old Sep-08-2011, 05:44 PM
#3
Smug Eric is offline Smug Eric
Smug Hero
Smug Eric's Avatar
Why do you need to use Java for this?

Couldn't you just use the position: fixed; CSS to attach the footer to the bottom of the browser window?

Something like:

#myfooter {
position: fixed;
left: 10px;
bottom: 10px;
}

That should display it in the bottom left corner of the page always. Scroll bar or not.
__________________
Eric
Support Hero and Customeister
http://www.smugmug.com/help
Old Sep-25-2011, 01:28 PM
#4
Shooter84 is offline Shooter84 OP
Big grins
Because some of my pages scroll and some don't. If I use the code you have suggested my footer would be overlayed on images on some pages and thats not what im looking for.
Old Sep-25-2011, 01:43 PM
#5
Smug Eric is offline Smug Eric
Smug Hero
Smug Eric's Avatar
But wouldn't what you detailed out do the same thing in the case where a page has a scroll bar?
__________________
Eric
Support Hero and Customeister
http://www.smugmug.com/help
Old Sep-26-2011, 03:23 PM
#6
Shooter84 is offline Shooter84 OP
Big grins
Maybe I'm not explaining myself. If you look on my homepage www.Nkerleyproofs.com depending on your screen resolution my footer is floating half way up the page. If you look at any other page that has a scroll bar the footer is forced to the bottom of the page. I'm really only looking for code to force a fixed footer position if their is no scroll bar present.
Tell The World!  
Similar Threads Thread Starter Forum Replies Last Post
How to keep the footer at the bottom? insanefred SmugMug Customization 3 Apr-20-2011 03:25 PM
Re: Adjusting Top & Bottom Page View Space Papparazzi SmugMug Customization 4 Dec-10-2010 12:35 PM
Custom Footer locking up my page in thumbnails ASF SmugMug Customization 0 Dec-02-2010 11:47 AM
How to have a footer only appear on the Galleries page ghealy SmugMug Customization 3 Jul-19-2010 06:22 AM
Make the Footer Stick to the Bottom of a Page GollyJer SmugMug Customization 4 Dec-15-2009 08:33 AM


Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump