PDA

View Full Version : Smugmug style question


brandofamily
Feb-24-2008, 02:58 PM
Can I turn off the flyout that pops up on the main image when using SM style?

brandofamily
Feb-24-2008, 03:01 PM
Can I turn off the flyout that pops up on the main image when using SM style?
found how to remove it all together, but I just want it removed from one gallery...

brandofamily
Feb-24-2008, 03:13 PM
holy crap... I wrote my 1st working function...

JS Code:

function fixVideoGallery()
{
showPhotoBar = false;
}


footer code:

<!-- No Flyout in SmugMug Style Video Gallery -->
<skript>
if (YD.hasClass(document.body, "gallery_3958183"))
{
fixVideoGallery()
}
</skript>
<!-- End of No Flyout in SmugMug Style Video Gallery -->

Andy
Feb-24-2008, 03:30 PM
holy crap... I wrote my 1st working function...
:clap :clap

scwalter
Feb-24-2008, 08:06 PM
Can't you also just put the single javascript line in the gallery description between html and script tags? I think I tried that once and it worked fine after reloading the page (just saving doesn't act the same).

-Scott

jerryr
Feb-24-2008, 09:03 PM
OK - on the topic of JS.
somewhere in this great and wonderful forum is a listing of JS variables
oh where oh where are u !! ???

anyone ?? thanks - jerryr

Andy
Feb-24-2008, 09:16 PM
OK - on the topic of JS.
somewhere in this great and wonderful forum is a listing of JS variables
oh where oh where are u !! ???

anyone ?? thanks - jerryr
Sticky thread, this forum, change SmugMug default settings.

jerryr
Feb-24-2008, 09:21 PM
opps - sorry - communication breakdown on my part.

Like AlbumID, AlbumKey, etc - those variables
I am looking for the Album Title - if a JS variable exists

thank you thank you - jerryr

brandofamily
Feb-25-2008, 02:32 AM
Can't you also just put the single javascript line in the gallery description between html and script tags? I think I tried that once and it worked fine after reloading the page (just saving doesn't act the same).

-Scott

It might currently be possible, but with all the talk about JS only being allowed in the JS box (and possibly in the footer) in the future I figured I'd start sooner than later while building new "stuff."