Hot answers tagged javascript
7
If you don't know what should go where, put it in the bottom javascript. That's a better place for things to go that don't have to be in the top javascript because the page will display faster.
These are the reasons I can think of to put something in the top javascript:
If you need the code to execute immediately before the page loads and displays. For ...
4
It is not allowed to hide the Smugmug credit in the footer. A long time ago, it used to be allowed so a few sites have it grandfathered in (and some sites do it without permission), but Smugmug does not allow you to hide it now.
This seems inappropriate to me for pro accounts, but those are the rules they have.
2
There's a super easy way - go to your gallery when logged in and choose Share > Show off and get an embeddable slideshow link there. This is a flash slideshow.
For your SmugMug Homepage you can also use the Slideshow Homepage box, that is in your Homepage Tools button on your homepage.
More on the SmugMug Help Pages.
Finally, there are two very popular ...
1
From item 1 here: http://help.smugmug.com/customer/portal/articles/93381
Any JavaScript you paste into your Top JavaScript box will load quickly, but it will also slow down your page. So you'll likely want most of your JavaScript in your Bottom JavaScript box, which will load after the majority of your page is already displayed.
Only top voted, non community-wiki answers of a minimum length are eligible