/    Sign up×
Community /Pin to ProfileBookmark

Problem implementing GreyBox w/ iFrame

Alright – first off, I knooooow that iFrames are not the most desirable possibility for any application, but after working through many alternatives, I have to use one in a client’s site. The problem is this: I am trying to use greybox ( [url]http://orangoo.com/labs/GreyBox/[/url] ) for photo viewing. the photos that need to pop up in a full screen lightbox are in an iframe. here’s the code I have for the image and such:

[CODE]
<h1>Photos</h1>
<p>Promo Shots<br/>

<a href=”greybox/albumcover.jpg” title=”Album Cover” onclick=”return parent.GB_showImage(‘Album’, this.href)”><img

src=”images/Photos/promo/thumbalbumcover.png” alt=”Click to view”></a>

<a href=”greybox/promogroup.jpg” title=”Group Shot” rel=”gb_imageset[promo]”><img src=”images/Photos/promo/thumbpromogroup.png” alt=”Click to view”></a>
</p>

<p>Live Concert Photos<br/>
<a href=”images/Photos/1.png” title=”Karen McNees” rel=”gb_imageset[live]”><img src=”images/Photos/live/thumb1.png” alt=”Click to view”></a>
<a href=”images/Photos/2.png” title=”Next Best Thing” rel=”gb_imageset[live]”><img src=”images/Photos/live/thumb2.png” alt=”Click to view”></a>
<a href=”images/Photos/3.png” title=”Tensel Sandker” rel=”gb_imageset[live]”><img src=”images/Photos/live/thumb3.png” alt=”Click to view”></a>
<a href=”images/Photos/4.png” title=”Sally Sandker” rel=”gb_imageset[live]”><img src=”images/Photos/live/thumb4.png” alt=”Click to view”></a>
</p>

[/CODE]

The first promo shots image is the one that’s been my guinea pig through all of the changes. I am going to have, as you see, two sets in the end that will need to open seperately. I would really really prefer not to have both albums open in one.

Any help you can give is much appreciated! I can supply any or all code you need!

Have a great night all,
-Ben Hughes
[url]http://studentpages.scad.edu/~bhughe22/[/url]

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@benhughesauthorAug 15.2008 — ?? Hmm...??
×

Success!

Help @benhughes spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...