Javascript Variables - Gallery Theme
jerryr
Registered Users Posts: 595 Major grins
Hi -
I reviewed the DOM using FF to see if there was a variable set which captured the theme applied to a specific gallery.
I did not see the information stand out.
Therefore, my questions are:
1. Is there JS variable containing the galleries theme name ?
2. If not, is there a way in capturing that information within a variable ?
thanks - jerryr
I reviewed the DOM using FF to see if there was a variable set which captured the theme applied to a specific gallery.
I did not see the information stand out.
Therefore, my questions are:
1. Is there JS variable containing the galleries theme name ?
2. If not, is there a way in capturing that information within a variable ?
thanks - jerryr
Part-Time Photographer / Web Designer (Site : jrcustomization.com)
SmugMug Sites - Creative Examples
Favorite Images and SmugMug Designs
SmugMug Sites - Creative Examples
Favorite Images and SmugMug Designs
0
Comments
<link type="text/css" rel="stylesheet" id="pickedTheme" href="http/cdn.smugmug.com/include/css/gecko/1.9/win/theme_1393-20081030212042-stretch.css" />
is the theme from my homepage and 1393 is the theme number.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Thank you for the recommendation.
I am going to set and pass a specific variable via the footer area with the link (already doing it, just need to add a new variable).
idk - maybe an enhancement for a future release to have the theme via a javascript variable.
thanks again - jerryr
SmugMug Sites - Creative Examples
Favorite Images and SmugMug Designs
May I ask why you need to know the theme in javascript? Perhaps there is a different way to solve your problem.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question