# \[Pro\] Trouble Achieving a 'Simple' Graphic Effect

**URL:** <https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906>\
**Category:** Freeway\
**Created:** [May 11, 2011, 9:59pm UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906 "2011-05-11T21:59:11Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![MajorWebUser](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@MajorWebUser](https://discourse.softpress.com/u/MajorWebUser)\
**Post date:** [May 11, 2011, 9:59pm UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/1 "2011-05-11T21:59:11Z")

</div>

I’ve spent the better part of this afternoon futsing with FW and still am no closer to solving my problem.

Here’s the effect I’m looking for:

I’d like to create a white frame set on a white page background (assume a frame width of 20px). Apply to that frame a black “inner shadow” which makes it appear that the center is cut out of the page.

I then want to apply ScriptyAccordion to the items which ‘should’ appear under the frame with a horizontal action so that only a portion of the underlying elements appears as it slides back and forth.

I have two problems:  
[1] I can achieve a nice looking frame in several file formats (png, jpg, HTML), but it appears that the background must be white in order to show the “inner shadow” affect. This, of course, blocks the viewing of the material that is on a layer below it.

[2] Problem 1 aside, I’ve determined that I can hide the width of the underlying material with large white overlays (on the same layer level as the frame). Is there a simpler way of doing this?

My “way to cumbersome” solution is to create each side of the frame from four different graphic squares and apply the appropriate inner shadow to each piece, then add more graphics to block the shadow that bleeds out on each frame piece.

I was hoping that there was a “knock out” option much like graphic text.

Any suggestions would be greatly appreciated.

* * *

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

---

<div class="post-metadata">

**Author:** ![Sly](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/s/e56c9b/32.png) [@Sly](https://discourse.softpress.com/u/Sly)\
**Post date:** [May 12, 2011, 10:43pm UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/2 "2011-05-12T22:43:25Z")

</div>

HI Robert,

It’s an interesting problem. Although I can’t promise an answer I’d like to have a look at finding a solution.

Are you able to point to a url that shows a graphical example of what you’re trying to achieve?

Thanks,

Sly.

* * *

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:** [May 12, 2011, 11:04pm UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/3 "2011-05-12T23:04:00Z")

</div>

Why not just create the ‘Frame’ element and export it from FW (or PS) as a png and then reimport it with a transparent centre.

Not 100% sure if I know what you are trying to achieve.

D

* * *

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

---

<div class="post-metadata">

**Author:** ![MajorWebUser](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@MajorWebUser](https://discourse.softpress.com/u/MajorWebUser)\
**Post date:** [May 12, 2011, 11:37pm UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/4 "2011-05-12T23:37:29Z")

</div>

Dave, I thought of that as well, but I’m not getting the inner shadow over the other information working (I’m sure I have something set wrong).

Sly (et al), I popped an example of what I’m attempting in the form of a movie grab at \<[sideways.griphus.com](http://sideways.griphus.com)\> (though I’ll be doing it with a white-on-white theme).

Thanks,  
Robert

* * *

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:** [May 13, 2011, 12:01am UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/5 "2011-05-13T00:01:40Z")

</div>

Are you wishing the HTML items behind to be clickable/selectable in a Browser - if so I don’t think that this is doable using graphics.

D

* * *

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

---

<div class="post-metadata">

**Author:** ![MajorWebUser](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@MajorWebUser](https://discourse.softpress.com/u/MajorWebUser)\
**Post date:** [May 13, 2011, 12:17am UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/6 "2011-05-13T00:17:53Z")

</div>

> On 13 May 2011, 12:01 am, DeltaDave wrote:
> 
> Are you wishing the HTML items behind to be clickable/selectable in a Browser - if so I don’t think that this is doable using graphics.
> 
> D

That was the general idea. This example was done in Director.

Robert

* * *

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

---

<div class="post-metadata">

**Author:** ![chuckamuck](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@chuckamuck](https://discourse.softpress.com/u/chuckamuck)\
**Post date:** [May 13, 2011, 12:21am UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/7 "2011-05-13T00:21:17Z")

</div>

Well…you could achieve something similar to this using a CSS “sliding windows” technique. Using separate nested divs for top, bottom left and right sides of your frame with a background image of the frame and and its shadow, and a center div with your content. A bit of laboriously styling here, but doable.

> **[Sliding Doors of CSS](https://alistapart.com/article/slidingdoors/)**
>
> Image-driven, visually compelling user interfaces. Text-based, semantic markup. Now you can have both! Douglas Bowman’s sliding doors method of CSS design offers sophisticated graphics that s…

Doing it this way also gets you flexible size frame.

* * *

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

---

<div class="post-metadata">

**Author:** ![MajorWebUser](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@MajorWebUser](https://discourse.softpress.com/u/MajorWebUser)\
**Post date:** [May 13, 2011, 12:28am UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/8 "2011-05-13T00:28:40Z")

</div>

> On 13 May 2011, 12:21 am, chuckamuck wrote:
> 
> Well…you could achieve something similar to this using a CSS “sliding windows” technique. Using separate nested divs for top, bottom left and right sides of your frame with a background image of the frame and and its shadow, and a center div with your content. A bit of laboriously styling here, but doable.
> 
> [http://www.alistapart.com/articles/slidingdoors/](http://www.alistapart.com/articles/slidingdoors/)
> 
> Doing it this way also gets you flexible size frame.

Only skimmed the article, but that is the right direction. Keeping the frame size flexible is also a huge plus.

I just hope that most of the coding is either straightforward or handled by Freeway.

Thanks,  
Robert

* * *

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:** [May 13, 2011, 2:06am UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/9 "2011-05-13T02:06:41Z")

</div>

If you draw an HTML box on the page, apply the Inner Shadow graphic effect to that, then double-click inside it and insert another HTML box inline within it to use as your Accordion container, you should get both the things you want.

The HTML box with the inner shadow will give you your white-on-white page effect, and the Accordion will do its normal thing.

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:** ![MajorWebUser](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@MajorWebUser](https://discourse.softpress.com/u/MajorWebUser)\
**Post date:** [May 13, 2011, 4:03pm UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/10 "2011-05-13T16:03:26Z")

</div>

chuckamuck,

I’ve read through the ‘slidingdoors’ article and think I grasp the concept (operative word is ‘think’). Trouble is, I can’t get it to work in Freeway.

I can get left & right HTML items inside a parent HTML item, but then I’m lost. I’ve applied CSS Menus to the right HTML box. I’ve tried different floats and clears but I don’t seem to have the width limiters or something set correctly.

Any further examples or help would be appreciated.

Robert

> On 13 May 2011, 12:21 am, chuckamuck wrote:
> 
> Well…you could achieve something similar to this using a CSS “sliding windows” technique. Using separate nested divs for top, bottom left and right sides of your frame with a background image of the frame and and its shadow, and a center div with your content. A bit of laboriously styling here, but doable.
> 
> [http://www.alistapart.com/articles/slidingdoors/](http://www.alistapart.com/articles/slidingdoors/)
> 
> Doing it this way also gets you flexible size frame.

* * *

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

---

<div class="post-metadata">

**Author:** ![MajorWebUser](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@MajorWebUser](https://discourse.softpress.com/u/MajorWebUser)\
**Post date:** [May 13, 2011, 4:08pm UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/11 "2011-05-13T16:08:22Z")

</div>

Walter,

Your suggestion works great for regular accordion actions that all take place - within - the inner shadowed HTML box.

The effect I was attempting to achieve was to layer the ‘cutout’ over the displayed material that was larger than the cutout (revealing only parts of it at a time). Your solution leaves two problems unresolved:

First, the inner shadow isn’t dropped on the underlying object(s). Second, it doesn’t address the sideways sliding issue.

Robert

> On 13 May 2011, 2:06 am, waltd wrote:
> 
> If you draw an HTML box on the page, apply the Inner Shadow graphic effect to that, then double-click inside it and insert another HTML box inline within it to use as your Accordion container, you should get both the things you want.
> 
> The HTML box with the inner shadow will give you your white-on-white page effect, and the Accordion will do its normal thing.
> 
> 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:** ![waltd](https://discourse.softpress.com/user_avatar/discourse.softpress.com/waltd/32/2720_2.png) [@waltd](https://discourse.softpress.com/u/waltd)\
**Post date:** [May 13, 2011, 4:15pm UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/12 "2011-05-13T16:15:32Z")

</div>

If you try to place anything over the top of the accordion, then the  
accordion effect (which relies on clicks or mouseover events to be  
registered by the individual headers) will stop working. It’s like  
putting a sheet of glass over the top of your keyboard and then trying  
to type. You’ll have to see if you can get this to work by splitting  
up the image as you have done, so that it only exists on the sides of  
the accordion, but not in the middle. Either that, or try setting  
Overflow:Hidden on your Accordion HTML box. I can’t imagine that would  
be a perfect solution, but it might give you what you’re looking for  
here.

Walter

On May 13, 2011, at 12:08 PM, Robert wrote:

> Walter,
> 
> Your suggestion works great for regular accordion actions that all  
> take place - within - the inner shadowed HTML box.
> 
> The effect I was attempting to achieve was to layer the ‘cutout’  
> over the displayed material that was larger than the cutout  
> (revealing only parts of it at a time). Your solution leaves two  
> problems unresolved:
> 
> First, the inner shadow isn’t dropped on the underlying object(s).  
> Second, it doesn’t address the sideways sliding issue.
> 
> Robert
> 
> > On 13 May 2011, 2:06 am, waltd wrote:
> > 
> > If you draw an HTML box on the page, apply the Inner Shadow graphic  
> > effect to that, then double-click inside it and insert another HTML  
> > box inline within it to use as your Accordion container, you should  
> > get both the things you want.
> > 
> > The HTML box with the inner shadow will give you your white-on-  
> > white page effect, and the Accordion will do its normal thing.
> > 
> > Walter
> 
> * * *
> 
> freewaytalk mailing list  
> email@hidden  
> Update your subscriptions at:  
> [http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)

* * *

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

---

<div class="post-metadata">

**Author:** ![chuckamuck](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@chuckamuck](https://discourse.softpress.com/u/chuckamuck)\
**Post date:** [May 14, 2011, 8:20pm UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/13 "2011-05-14T20:20:47Z")

</div>

Here is another link to another technique using CSS background images that is more appropriate to what you are trying: [CSS Decorative Gallery - Web Designer Wall](http://webdesignerwall.com/tutorials/css-decorative-gallery)

And here is a sample file using it for you to dissect: [http://www.chuckdesigns.com/downloads/SPAN\_TEST.zip](http://www.chuckdesigns.com/downloads/SPAN_TEST.zip)

Basically, the effect is achieved with two styles applied to an html div (photodiv) that I manually setup in the Styles Editor. Getting Freeway to recognize the span tag was a bit of a struggle…and I think may be bug in the editor. The main class style .photo is applied to the div and sets the main background image. The second style has a transparent gif of a frame created in Photoshop applied as a span. In order to apply the span I added a single space character in the div so that nothing is visible other than background images. The effect looks like a frame over a photo.

FYI - Using an empty span this way is considered a poor choice semantically so use it sparingly.

* * *

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

---

<div class="post-metadata">

**Author:** ![chuckamuck](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@chuckamuck](https://discourse.softpress.com/u/chuckamuck)\
**Post date:** [May 14, 2011, 8:28pm UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/14 "2011-05-14T20:28:11Z")

</div>

> And here is a sample file using it for you to dissect:

Sorry, typo: [http://www.chucksdesigns.com/downloads/SPAN\_TEST.zip](http://www.chucksdesigns.com/downloads/SPAN_TEST.zip)

* * *

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:** [May 14, 2011, 8:28pm UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/15 "2011-05-14T20:28:51Z")

</div>

> here is a sample file using it for you to dissect:

Is your server down?

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:** ![chuckamuck](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/c/c68b51/32.png) [@chuckamuck](https://discourse.softpress.com/u/chuckamuck)\
**Post date:** [May 14, 2011, 8:34pm UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/16 "2011-05-14T20:34:54Z")

</div>

> On 14 May 2011, 8:28 pm, DeltaDave wrote:
> 
> Is your server down?

Just my eyesight.

* * *

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:** [May 14, 2011, 8:37pm UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/17 "2011-05-14T20:37:37Z")

</div>

Got it now thanks

D

* * *

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

---

<div class="post-metadata">

**Author:** ![MajorWebUser](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@MajorWebUser](https://discourse.softpress.com/u/MajorWebUser)\
**Post date:** [May 14, 2011, 9:45pm UTC](https://discourse.softpress.com/t/pro-trouble-achieving-a-simple-graphic-effect/10906/18 "2011-05-14T21:45:18Z")

</div>

chuckamuck,

Very interesting - and definitely a step in the right direction. I now have to figure out how to tag and move the underlying background ‘image’ so that it slides from side to side revealing only those menu items I want to show.

> On 14 May 2011, 8:20 pm, chuckamuck wrote:
> 
> Here is another link to another technique using CSS background images that is more appropriate to what you are trying: [CSS Decorative Gallery - Web Designer Wall](http://webdesignerwall.com/tutorials/css-decorative-gallery)

* * *

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