[Pro] Breakpoint and Showcase

I tried to post this in the actions dev section, but it wouldn’t let me subscribe for some odd reason.

I believe this one is for Walter,
The breakpoint action breaks the Showcase gallery. Instead of the lightbox like think coming up in the gallery, the images themselves just open in the browser window.

I would really like to use the two in conjunction on a website of mine, so is there any way I could get these two to play nicely together?

Thanks Mr. Davis!

http://deepcreek.onrampwebdesign.com/test/


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It looks like jQuery is being called before the jQuery library is being inserted into the page.

The Breakpoint action appears to push the library load point after the initial jQuery call.

Deffo a Walter thing!

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Meanwhile instead of the Breakp[oint action you could add this in Page>Html Markup in the After slot


<script type="text/javascript">
<!--
if (screen.width <= 399) {    document.location = "mobile.html";    }    //-->
</script>

~~~~

D




_______________________________________________
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Dave, that worked splendidly!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Dave, that’s a great catch. My Action was using the fwAddJavaScript() function rather than fwAdd('script', true). The difference between these is that the former tries to consolidate all scripts together in one place in the head, rather than ending up with a bunch of separate script tags in the head. This forced the jQuery code up the page to the top of the head, while the link to jQuery was further down in the head. I’ve updated BreakPoint to be a better team player.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter for the sweet action!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options