The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> lytebox iframe & different domain!
ziggynerja
post Jun 18 2011, 06:12 PM
Post #1





Group: Members
Posts: 1
Joined: 18-June 11
Member No.: 14,795



Hello, smile.gif

Not sure if this is the right section!

...So there are 3 domains involved, which I have access to. One of the domains I have a list of about 20 products with images, which id like to list on my other 2 domains.

Id like to iframe these products, as ill be updating the product list frequently.

Now im using the Lytebox plugin to display my images but just cant get it to work.. I've followed the instructions as followed :

"iFrames: If you plan to use Lytebox in an iFrame environment, then you need to include lytebox.css in the parent document, while including lytebox.js in the iFrame document"

But no luck.. Is it really not posible for lightbox to work within an iframe over different domains?

A friend mentioned something about an AJAX request, but I wouldnt know where to start.

So does anyone have an idea how I can acheive this? Hope I made some sense

Thanks!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jun 18 2011, 06:20 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Never used Lytebox, but perhaps it's the JavaScript part. JS doesn't work cross-domain.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th March 2024 - 11:46 PM