Lurk all you'd like, but why not register and post some pics? Registering also makes it easier to find the good stuff. Need help?

Go Back   Digital Grin Photography Forum > Support > SmugMug Customization
Dgrinner
Password
Register FAQ Shooters Calendar Reviews Tutorials Gallery Books Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old Feb-28-2008, 12:21 PM   #81
GeekyGirl
Big grins
 
GeekyGirl's Avatar
 
Join Date: Jan 2008
Posts: 23
Will the changes help me?

Quote:
Originally Posted by GeekyGirl
On our page lucasfamily.smugmug.com, I was using a mix of the random image generator (like at the top of the forum pages) and the thumb enlarge (from bigguyweb's site). The thumb enlarge is now broken. As you mouse over they will enlarge and then shrink back to a smaller size than they started. Also the gallery thumbs at the bottom of our page are now enlarging on mouse over. (Those are supposed to stay the default static size.)

When browsing an album, the thumb enlarging works like it should, so I guess it is only broken on the index page.

I don't speak javascript, so I can't figure out how to fix it. I hope someone can help me out. I appologize in advance if using the javascript and idea from bigguyweb's page is "uncool." I tried to credit him both in the CSS and javascript. I'm learning both, and its actually been really helpful to me to look at other people's code.

Thanks!
Will the new changes fix my problem? Sorry to nag. I just assumed that my problems were linked to the JS change, but if I should post in a different thread, please let me know.

Thanks again.
GeekyGirl is offline   Reply With Quote
Old Feb-28-2008, 12:30 PM   #82
Andy
SmugMug COO & House Pro
 
Andy's Avatar
 
Join Date: Dec 2003
Location: New York City
Posts: 52,623
Quote:
Originally Posted by GeekyGirl
Will the new changes fix my problem? Sorry to nag. I just assumed that my problems were linked to the JS change, but if I should post in a different thread, please let me know.

Thanks again.
No, your random image code needs to be updated to use AlbumKeys as well.
Example code:

http://wiki.smugmug.com/display/Smug...om+Photos+Code
__________________
Andy

Moon River PhotographyTwitterFacebook
Andy is offline   Reply With Quote
Old Feb-28-2008, 01:10 PM   #83
GeekyGirl
Big grins
 
GeekyGirl's Avatar
 
Join Date: Jan 2008
Posts: 23
Quote:
Originally Posted by Andy
No, your random image code needs to be updated to use AlbumKeys as well.
Example code:

http://wiki.smugmug.com/display/Smug...om+Photos+Code
Hmm... Displaying the image isn't a problem. Its the movement of the image on mouseover. They are supposed to enlarge and shrink back. Right now they enlarge and then shrink to an even smaller size. They will then enlarge and shrink, but on a smaller scale. (Also the thumbnails in the "Galley Categories" section are now moving on mouseover, which they shouldn't be.)

This is how it should work: http://lucasfamily.smugmug.com/galle...0799#244876154

This is how it acts on the index page: http://lucasfamily.smugmug.com

I don't understand why it is working on the gallery pages but not on the index page.
GeekyGirl is offline   Reply With Quote
Old Feb-28-2008, 01:15 PM   #84
Andy
SmugMug COO & House Pro
 
Andy's Avatar
 
Join Date: Dec 2003
Location: New York City
Posts: 52,623
Quote:
Originally Posted by GeekyGirl
Hmm... Displaying the image isn't a problem. Its the movement of the image on mouseover. They are supposed to enlarge and shrink back. Right now they enlarge and then shrink to an even smaller size. They will then enlarge and shrink, but on a smaller scale. (Also the thumbnails in the "Galley Categories" section are now moving on mouseover, which they shouldn't be.)

This is how it should work: http://lucasfamily.smugmug.com/galle...0799#244876154

This is how it acts on the index page: http://lucasfamily.smugmug.com

I don't understand why it is working on the gallery pages but not on the index page.
Hmmm.. I really don't know the answer to that - but it's not JS related, either. Post a new thread in the customizing forum please.
__________________
Andy

Moon River PhotographyTwitterFacebook
Andy is offline   Reply With Quote
Old Feb-28-2008, 01:27 PM   #85
jfriend
Scripting dude-volunteer
 
Join Date: Mar 2005
Location: San Francisco Bay Area, California
Posts: 16,468
Quote:
Originally Posted by GeekyGirl
Hmm... Displaying the image isn't a problem. Its the movement of the image on mouseover. They are supposed to enlarge and shrink back. Right now they enlarge and then shrink to an even smaller size. They will then enlarge and shrink, but on a smaller scale. (Also the thumbnails in the "Galley Categories" section are now moving on mouseover, which they shouldn't be.)

This is how it should work: http://lucasfamily.smugmug.com/galle...0799#244876154

This is how it acts on the index page: http://lucasfamily.smugmug.com

I don't understand why it is working on the gallery pages but not on the index page.
I don't know exactly what's going on, but there are four different sizes for the popular photo thumbs and I suspect you only want two. In your custom CSS, you have three sizes 70x70, 72x72 and 80x80 and none of them match what Smugmug puts in the HTML, 100x100. I agree with Andy, this looks like it has to do with your CSS, not Javascript.
__________________
--John
Homepage, Popular Photos, Portfolio

If you are asking for help, please include a clickable link to your Smugmug site (full URL including the http://). It's easiest for everyone if you add it to your dgrin signature so it's always there.

For a list of popular javascript customizations, go here.

If you wonder why your post might not be getting an answer, read this.
jfriend is offline   Reply With Quote
Old Feb-28-2008, 10:41 PM   #86
bigwebguy
Now with 10% less fail
 
bigwebguy's Avatar
 
Join Date: Aug 2005
Location: Gainesville, VA
Posts: 2,713
The footer javascript section is now live. Your existing javascript has been put back at the top of the page...where it was before the last update.

Please let us know if you have any problems.
__________________
lose |loōz| verb
  1. be deprived of or cease to have or retain (something)
  2. become unable to find (something or someone)
  3. fail to win (a game or contest)
loose |loōs| adjective
  1. not firmly or tightly fixed in place
  2. (of a garment) not fitting tightly or closely
  3. relaxed; physically slack
bigwebguy is online now   Reply With Quote
Old Feb-28-2008, 10:48 PM   #87
Allen
"tweak 'til it squeaks"
 
Allen's Avatar
 
Join Date: Aug 2004
Posts: 23,116
Noticed all my js is in the header now. Should I move it all to the footer?
BZT, old SS, hasPath and other misc. junk. Got nuthin' that I know of that
needs to run early I think.
Allen is offline   Reply With Quote
Old Feb-29-2008, 05:19 AM   #88
bigwebguy
Now with 10% less fail
 
bigwebguy's Avatar
 
Join Date: Aug 2005
Location: Gainesville, VA
Posts: 2,713
Quote:
Originally Posted by Allen
Noticed all my js is in the header now. Should I move it all to the footer?
BZT, old SS, hasPath and other misc. junk. Got nuthin' that I know of that
needs to run early I think.
Hey allen, yeah pretty much everything can be moved to your footer with the exception of:

SM.SmugMug.config.alterScreenHeight = -150;
//filmStrip values you can override:
rightMoves = -5;
leftMoves = 5;

some other stuff i'm not sure about since I dont know where you're using them:
function norobotmail
function showRecent


rule of thumb is, if you call it on the page before your footer (think how the page loads, top down) then you'll want it in the header. If it is something that you will wire up or use after the page loads then you can put it in the footer.
__________________
lose |loōz| verb
  1. be deprived of or cease to have or retain (something)
  2. become unable to find (something or someone)
  3. fail to win (a game or contest)
loose |loōs| adjective
  1. not firmly or tightly fixed in place
  2. (of a garment) not fitting tightly or closely
  3. relaxed; physically slack
bigwebguy is online now   Reply With Quote
Old Feb-29-2008, 05:49 AM   #89
scoodog
Big grins
 
scoodog's Avatar
 
Join Date: Sep 2006
Posts: 43
Quote:
Originally Posted by Andy
I'm looking at your site right now, what is in need of fixing please
After it stopped working, I disabled a part of the page allowing folks to switch display mode without having to use the dropdown styles box, which my family members had told me they didn't understand (e.g. they didn't know what was meant by "smugmug" view). Andy, what I've done is put back in my custom code AND I tried moving the JavaScript to the new FOOTER JS section, but it still isn't working.

My customization relies upon the function "switchViewType", btw.

Thanks in advance for your help.

Tom
__________________
Tom
aka scoodog
http://scoodog.smugmug.com
http://www.scoodog.com
scoodog is offline   Reply With Quote
Old Feb-29-2008, 05:51 AM   #90
Andy
SmugMug COO & House Pro
 
Andy's Avatar
 
Join Date: Dec 2003
Location: New York City
Posts: 52,623
Quote:
Originally Posted by scoodog
After it stopped working, I disabled a part of the page allowing folks to switch display mode without having to use the dropdown styles box, which my family members had told me they didn't understand (e.g. they didn't know what was meant by "smugmug" view). Andy, what I've done is put back in my custom code AND I tried moving the JavaScript to the new FOOTER JS section, but it still isn't working.

My customization relies upon the function "switchViewType", btw.

Thanks in advance for your help.

Tom
Put it all back in the header Javascript box and it'll be just like it was 10 days ago
__________________
Andy

Moon River PhotographyTwitterFacebook
Andy is offline   Reply With Quote
Old Feb-29-2008, 06:02 AM   #91
bigwebguy
Now with 10% less fail
 
bigwebguy's Avatar
 
Join Date: Aug 2005
Location: Gainesville, VA
Posts: 2,713
Quote:
Originally Posted by Andy
Put it all back in the header Javascript box and it'll be just like it was 10 days ago
Rule of thumb #2:

If it broke when we moved your scripts to the footer, don't put it back in the footer.
__________________
lose |loōz| verb
  1. be deprived of or cease to have or retain (something)
  2. become unable to find (something or someone)
  3. fail to win (a game or contest)
loose |loōs| adjective
  1. not firmly or tightly fixed in place
  2. (of a garment) not fitting tightly or closely
  3. relaxed; physically slack
bigwebguy is online now   Reply With Quote
Old Feb-29-2008, 10:23 AM   #92
scoodog
Big grins
 
scoodog's Avatar
 
Join Date: Sep 2006
Posts: 43
Quote:
Originally Posted by Andy
Put it all back in the header Javascript box and it'll be just like it was 10 days ago
I did this, but it still isn't working. My customization relies upon the function "switchViewType" -- I thought I read that you guys disabled that JavaScript function.

What do you think the issue is?

Thanks in advance.
__________________
Tom
aka scoodog
http://scoodog.smugmug.com
http://www.scoodog.com
scoodog is offline   Reply With Quote
Old Feb-29-2008, 01:24 PM   #93
affdigphotos
Major grins
 
affdigphotos's Avatar
 
Join Date: Dec 2006
Posts: 434
what can stay or go

I would like to move my js to the footer wherever possible... can someone take a look at mine and see what needs to stay in the header and what doesnt?
affdigphotos is offline   Reply With Quote
Old Mar-01-2008, 06:49 AM   #94
TexasFamily
Big grins
 
Join Date: Jun 2007
Posts: 96
skript in the albumDescription

Where do you suggest I put album skripts that I have included in a specific album description?
It is a skript that only runs for that specific album.

Maybe a future album footer/skript section?

I only put it in the description because I didn't want it running for every album.
I think it will run fine at the end of page loading...but there is no place to put skripts just for a specific album(s).


Thanks,
Edward
TexasFamily is offline   Reply With Quote
Old Mar-01-2008, 07:10 AM   #95
Erick L
Major grins
 
Join Date: Oct 2007
Posts: 351
Here things work like they used to but I don't understand something. I had some JS for a bilingual site in the "Head Tag" (not Header). I had to move it in the Footer box but both languanges would show for an instant. Now with the two JS box, I put that code in the JS-Header but still had both languages showing. I moved it back to the Head Tag like it used to be and it works.

__________________
Erick - borealphoto.com
borealphoto.smugmug.com
Erick L is offline   Reply With Quote
Old Mar-01-2008, 02:50 PM   #96
PBolchover
Major grins
 
Join Date: Jul 2006
Posts: 862
Thanks for the revert. That's one of the reasons why I love Smugmug - you're not afraid to listen to customer feedback.
PBolchover is offline   Reply With Quote
Reply

Tell The World!

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


Times are GMT -8.   It's 09:19 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.