# \[Pro\] Breakpoint and Showcase

**URL:** <https://discourse.softpress.com/t/pro-breakpoint-and-showcase/16053>\
**Category:** Freeway\
**Created:** [January 12, 2013, 5:31am UTC](https://discourse.softpress.com/t/pro-breakpoint-and-showcase/16053 "2013-01-12T05:31:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Caleb\_G1](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/c/f475e1/32.png) [@Caleb\_G1](https://discourse.softpress.com/u/Caleb_G1)\
**Post date:** [January 12, 2013, 5:31am UTC](https://discourse.softpress.com/t/pro-breakpoint-and-showcase/16053/1 "2013-01-12T05:31:43Z")

</div>

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/](http://deepcreek.onrampwebdesign.com/test/)

* * *

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

---

<div class="post-metadata">

**Author:** ![David\_McCallum](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/ec9cab/32.png) [@David\_McCallum](https://discourse.softpress.com/u/David_McCallum)\
**Post date:** [January 12, 2013, 9:56am UTC](https://discourse.softpress.com/t/pro-breakpoint-and-showcase/16053/2 "2013-01-12T09:56:27Z")

</div>

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](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![David\_McCallum](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/ec9cab/32.png) [@David\_McCallum](https://discourse.softpress.com/u/David_McCallum)\
**Post date:** [January 12, 2013, 10:15am UTC](https://discourse.softpress.com/t/pro-breakpoint-and-showcase/16053/3 "2013-01-12T10:15:49Z")

</div>

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

```auto

<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
```

---

<div class="post-metadata">

**Author:** ![Caleb\_G1](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/c/f475e1/32.png) [@Caleb\_G1](https://discourse.softpress.com/u/Caleb_G1)\
**Post date:** [January 12, 2013, 4:07pm UTC](https://discourse.softpress.com/t/pro-breakpoint-and-showcase/16053/4 "2013-01-12T16:07:16Z")

</div>

Thanks Dave, that worked splendidly!

* * *

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

---

<div class="post-metadata">

**Author:** ![waltd](https://discourse.softpress.com/user_avatar/discourse.softpress.com/waltd/32/2720_2.png) [@waltd](https://discourse.softpress.com/u/waltd)\
**Post date:** [January 12, 2013, 11:29pm UTC](https://discourse.softpress.com/t/pro-breakpoint-and-showcase/16053/5 "2013-01-12T23:29:40Z")

</div>

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](http://freewaytalk.net/person/options)

---

<div class="post-metadata">

**Author:** ![Caleb\_G1](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/c/f475e1/32.png) [@Caleb\_G1](https://discourse.softpress.com/u/Caleb_G1)\
**Post date:** [January 12, 2013, 11:30pm UTC](https://discourse.softpress.com/t/pro-breakpoint-and-showcase/16053/6 "2013-01-12T23:30:43Z")

</div>

Thanks Walter for the sweet action!

* * *

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