Problem with gallery description
mercphoto
Registered Users Posts: 4,550 Major grins
If you go to http://mercphoto.smugmug.com/gallery/730588 you will find that the first sentence is not a large font, even though I have inserted the font size = "+1" stuff in the description.
This was working yesterday. Oddly enough, the font directive for blue text is working.
This was working yesterday. Oddly enough, the font directive for blue text is working.
Bill Jurasz - Mercury Photography - Cedar Park, TX
A former sports shooter
Follow me at: https://www.flickr.com/photos/bjurasz/
My Etsy store: https://www.etsy.com/shop/mercphoto?ref=hdr_shop_menu
A former sports shooter
Follow me at: https://www.flickr.com/photos/bjurasz/
My Etsy store: https://www.etsy.com/shop/mercphoto?ref=hdr_shop_menu
0
Comments
If you look at the generated HTML, it comes out with <font size=" 1">, with no plus character. You might check out your customization. If that's still got the plus in it, then maybe smugmug broke something that's changing the plus to a space. I did see some escape and unescape routines in their Javascript that do replace some chars with spaces, but I haven't studied it well enough to know if that's what is biting you. You might try using an absolute number that doens't need a "+" sign and see if that works better.
--John
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
I don't know that this is your problem, but I would suggest using the HTML code for that character rather than the high-ascii code directly. See http://www.tedmontgomery.com/tutorial/HTMLchrc.html for a listing of those codes.
--John
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
A former sports shooter
Follow me at: https://www.flickr.com/photos/bjurasz/
My Etsy store: https://www.etsy.com/shop/mercphoto?ref=hdr_shop_menu
I'm guessing that this is a new bug related to the move to Ajax programming. I see in the JavaScript that there are JavaScript functions for escaping and unescaping of text strings. This function:
function ajaxDecode(str) {
return unescape(str.replace(/\+/g, " "));
} looks very suspicious because it's replacing the plus signs with a space and that's what is happening to you.
I think we need JT to weigh in here.
--John
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question