Dude seriously, I've done that a bunch of times. What I come up with is ajaxWorking which as you obviously know is the green loading box and that's it. Like I was getting at, obviously there is a div that handles this sort of thing but like other things it's only generated in the source as needed apparently. And since it is speeddemon after all, I can't seem to view the source at the right time to see it because I'm slow.
So, onethumb, jt, ben, baldy, andy, anyone with a straight answer, how can I customize the speedDemon ajax?
Thanks.
id="AJAXGalleries"
id="AJAXKeywords"
has nothing to do with when you view source. The ajax div blocks are placeholders for the content that gets dynamically inserted via javascript, but when you view source, you are viewing the original code that is sent to the browser. All that dynamic stuff happens in memory and isnt reflected in the code you get from view source. make sense?
i'm wondering if you've actually got speedDemon turned on?
has nothing to do with when you view source. The ajax div blocks are placeholders for the content that gets dynamically inserted via javascript, but when you view source, you are viewing the original code that is sent to the browser. All that dynamic stuff happens in memory and isnt reflected in the code you get from view source. make sense?
i'm wondering if you've actually got speedDemon turned on?
Ah crap there it is. I could have sworn that i looked in the generated source. Guess not. Thanks.
Y'all don't want to hear me, you just want to dance.
Mine: Canon 20D, 50 f1.8 II, 28-105 II, 70-200 f2.8L, T 70-300 Macro, T 2X expander, 12-24 Sigma Hers: Sony SR10, (Soon Canon 5D MKII), 85 f1.8, 28-135 USM, Stroboframe, Manfrotto NeoTec Ours: Pair of 580 EX, Lensbaby, Studio Alien Bees, Son & TWO Daughters
No, I just decided "Screw them, my customers are more important". We'll see how it shakes out...
And to think people sometimes wonder why Smugmug's userbase is so loyal? As a customer, I just have to say, Thanks Don (and Baldy, and everyone else at smugmug) Y'all rock.
SmugMug Sorcerer - Engineering Team Champion for Commerce, Finance, Security, and Data Support http://wall-art.smugmug.com/
(BUG?)Strange homepage behavior: 'Gallery Categories' section missing
When i go to my site like this: http://flyingdutchie.smugmug.com
my 'Gallery Categories' is missing (click on the "Other Galleries" button and you'll get a javascript error, since the entire section is missing). I checked this by checking the HTML source.
However,
If i go to my site like this: http://www.streetsofboston.com
my 'Gallery Categories' section is there. No problem at all.
This is strange!
I went to my 'Control Panel', and it tells me that my 'Gallery Categories' section should be there (this is correct, because i never removed it from my homepage)
When i go to my site like this: http://flyingdutchie.smugmug.com
my 'Gallery Categories' is missing (click on the "Other Galleries" button and you'll get a javascript error, since the entire section is missing). I checked this by checking the HTML source.
However,
If i go to my site like this: http://www.streetsofboston.com
my 'Gallery Categories' section is there. No problem at all.
This is strange!
I went to my 'Control Panel', and it tells me that my 'Gallery Categories' section should be there (this is correct, because i never removed it from my homepage)
This buggy behavior only happens when SpeedDemon is On.
If i disable it, the 'Gallery Categories' section re-appears on both.
Strange that www.streetofboston.com did work fine, but flyingdutchie.smugmug.com did not work fine.... Is it because the SpeedDemon was 'On' only for flyingdutchie.smugmug.com?...
Update: Happens on both IE and FireFox. It happens only when SpeedDemon is On.
When i go to my site like this: http://flyingdutchie.smugmug.com
my 'Gallery Categories' is missing (click on the "Other Galleries" button and you'll get a javascript error, since the entire section is missing). I checked this by checking the HTML source.
However,
If i go to my site like this: http://www.streetsofboston.com
my 'Gallery Categories' section is there. No problem at all.
This is strange!
I went to my 'Control Panel', and it tells me that my 'Gallery Categories' section should be there (this is correct, because i never removed it from my homepage)
Anton, i checked both of the links in FF and IE, and i see the gallery categories, and i don't get a javascript error. Geen problemen hier.
This buggy behavior only happens when SpeedDemon is On.
If i disable it, the 'Gallery Categories' section re-appears on both.
Strange that www.streetofboston.com did work fine, but flyingdutchie.smugmug.com did not work fine.... Is it because the SpeedDemon was 'On' only for flyingdutchie.smugmug.com?...
Update: Happens on both IE and FireFox. It happens only when SpeedDemon is On.
I observed this as well, just now:
When SpeedDemon is 'On' and when my flyingdutchie.smugmug.com homepage is loading, i see an animated graphic and text "Galleries loading" for a while... then it disappears and nothing happens, and the buggy behavior is there.
I observed this as well, just now:
When SpeedDemon is 'On' and when my flyingdutchie.smugmug.com homepage is loading, i see an animated graphic and text "Galleries loading" for a while... then it disappears and nothing happens, and the buggy behavior is there.
I do get to see your gallery section, both with SD enabled, and disabled.
I have this script that is needed for the 'Other Galleries' button to work:
This script is run as soon as the document has loaded (<body> onload event)
g_elmGalleries = document.getElementById("galleriesBox");
if (!g_elmGalleries)
g_elmGalleries = document.getElementById("categoriesBox");
The g_elmGalleries is then used to toggle the visibility of the Galleries section (g_elmGalleries.style.display = "" or "none").
When SpeedDemon is on, g_elmGalleries seems to be null and the script fails.
I think you may be confusing that section with the 'most popular' section
It's the one directly under your bio, right? I see 8 of them, with a darker blue background, other being on the bottom row in the middle, and below that i see your popular photos with a lighter background....
It's the one directly under your bio, right? I see 8 of them, with a darker blue background, other being on the bottom row in the middle, and below that i see your popular photos with a lighter background....
Are we talking about the same thing here?
Try to go to http://www.streetsofboston.com and click the "Other Galleries" button. Then your page scrolls down. Towards the bottom you'll see a section "Gallery Categories" appear.
These 8 pics are part of my Bio. They provide a direct link to my portfolio-category.
Try to go to http://www.streetsofboston.com and click the "Other Galleries" button. Then your page scrolls down. Towards the bottom you'll see a section "Gallery Categories" appear.
These 8 pics are part of my Bio. They provide a direct link to my portfolio-category.
AHHHHHH, hold on, i am starting to get it....In that case, i don't get your galleries in either IE or FF with SD enabled, and i do get them with SD disabled.
Seems like SD is fighting with your page, and your page lost...
I have this script that is needed for the 'Other Galleries' button to work:
This script is run as soon as the document has loaded (<body> onload event)
g_elmGalleries = document.getElementById("galleriesBox");
if (!g_elmGalleries)
g_elmGalleries = document.getElementById("categoriesBox");
The g_elmGalleries is then used to toggle the visibility of the Galleries section (g_elmGalleries.style.display = "" or "none").
When SpeedDemon is on, g_elmGalleries seems to be null and the script fails.
When the SpeedDemon is On, i think this is what happens:
-The HTML page loads, but without the Gallery Categories section.
-The onload event of the <body> is fired and executed
-The script in the above post is executed when handling this onload event.
-The Gallery Categories section is not there and the g_elmGalleries variable is null
-Then AJAX stuff loads the Gallery Categories section. But it is too late... since my script has already been executed during the onload event.
Question: Is there a way to execute script after all the HTML has been loaded (through AJAX or not), whether the SpeedDemon is on or not?
Comments
id="AJAXGalleries"
id="AJAXKeywords"
has nothing to do with when you view source. The ajax div blocks are placeholders for the content that gets dynamically inserted via javascript, but when you view source, you are viewing the original code that is sent to the browser. All that dynamic stuff happens in memory and isnt reflected in the code you get from view source. make sense?
i'm wondering if you've actually got speedDemon turned on?
Ah crap there it is. I could have sworn that i looked in the generated source. Guess not. Thanks.
http://photos.mikelanestudios.com/
http://photos.mikelanestudios.com/
Konqueor 3.4.1 (KDE Build 3.4.1)- Works great.
Safari
No problems in anything windows based though. (IE, FF, etc.)
http://stickspics.smugmug.com
Hers: Sony SR10, (Soon Canon 5D MKII), 85 f1.8, 28-135 USM, Stroboframe, Manfrotto NeoTec
Ours: Pair of 580 EX, Lensbaby, Studio Alien Bees, Son & TWO Daughters
http://wall-art.smugmug.com/
Much faster
Shay.
When i go to my site like this:
http://flyingdutchie.smugmug.com
my 'Gallery Categories' is missing (click on the "Other Galleries" button and you'll get a javascript error, since the entire section is missing). I checked this by checking the HTML source.
However,
If i go to my site like this:
http://www.streetsofboston.com
my 'Gallery Categories' section is there. No problem at all.
This is strange!
I went to my 'Control Panel', and it tells me that my 'Gallery Categories' section should be there (this is correct, because i never removed it from my homepage)
When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
"Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
This buggy behavior only happens when SpeedDemon is On.
If i disable it, the 'Gallery Categories' section re-appears on both.
Strange that www.streetofboston.com did work fine, but flyingdutchie.smugmug.com did not work fine.... Is it because the SpeedDemon was 'On' only for flyingdutchie.smugmug.com?...
Update:
Happens on both IE and FireFox.
It happens only when SpeedDemon is On.
When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
"Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
www.ivarborst.nl & smugmug
Thanks for checking!
Try to switch the SpeedDemon to 'On' and try http://flyingdutchie.smugmug.com again.
Here is the link to toggle the SpeedDemon:
http://www.smugmug.com/hack/enable.mg?feature=SpeedDemon
For me it happens on both IE and FireFox.
When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
"Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
www.ivarborst.nl & smugmug
I observed this as well, just now:
When SpeedDemon is 'On' and when my flyingdutchie.smugmug.com homepage is loading, i see an animated graphic and text "Galleries loading" for a while... then it disappears and nothing happens, and the buggy behavior is there.
When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
"Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
www.ivarborst.nl & smugmug
This script is run as soon as the document has loaded (<body> onload event)
The g_elmGalleries is then used to toggle the visibility of the Galleries section (g_elmGalleries.style.display = "" or "none").
When SpeedDemon is on, g_elmGalleries seems to be null and the script fails.
When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
"Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
I think you may be confusing that section with the 'most popular' section
When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
"Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
Are we talking about the same thing here?
This is what i see in IE 6, with SD enabled:
www.ivarborst.nl & smugmug
Try to go to http://www.streetsofboston.com and click the "Other Galleries" button. Then your page scrolls down. Towards the bottom you'll see a section "Gallery Categories" appear.
These 8 pics are part of my Bio. They provide a direct link to my portfolio-category.
When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
"Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
Seems like SD is fighting with your page, and your page lost...
www.ivarborst.nl & smugmug
When the SpeedDemon is On, i think this is what happens:
-The HTML page loads, but without the Gallery Categories section.
-The onload event of the <body> is fired and executed
-The script in the above post is executed when handling this onload event.
-The Gallery Categories section is not there and the g_elmGalleries variable is null
-Then AJAX stuff loads the Gallery Categories section. But it is too late... since my script has already been executed during the onload event.
Question:
Is there a way to execute script after all the HTML has been loaded (through AJAX or not), whether the SpeedDemon is on or not?
When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
"Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
Anton, I moved your thread here - Don will see it when he's online. Thanks.
Portfolio • Workshops • Facebook • Twitter