Jump to content
r35pecta

Gallery In IFRAME

Recommended Posts

hy everyonei have this problem, i have this gallery and i include this last one in one IFRAME when i click on thumbnails inside the IFRAME the image is not opening big because of iframe.if i clcik on thumbnails (like in the example in the attach file) the image is opening big. ATACH FILE:http://www.mediafire.com/?6g3o9q6w0bbnozy Thanks and sorry for my english

Share this post


Link to post
Share on other sites

Sorry, I tried to delete that as quickly as I could. The page you link to is filled with ads, and I didn't see your download at first.

Share this post


Link to post
Share on other sites

You can't do what you're trying to do with an iframe, the iframe is like its own web page. It can only open the image in its own page with that DHTML technique. In order to open it outside then all of the HTML elements that it shows would need to be in the parent frame to start with. It may be possible to rewrite the Javascript to do that, but that sounds like a lot of work just to put a gallery in an iframe.

Share this post


Link to post
Share on other sites
iframes have their use, this just isn't one of them.
I have never seen an iframe used in a professional situation, and it's my job to look for stuff like that. What is a use of an iframe?

Share this post


Link to post
Share on other sites

The two things I use them for most often are for facilitating ajax-style file uploads and downloads, and for embedding SCORM elearning content in an easy way for the content to find the SCORM API. Then again, I don't design public-facing websites, I work on specific (professional) applications.

Share this post


Link to post
Share on other sites

Another use for the iframe is a rich text editor on the web. Pretty much like the one I'm typing in right now.

Share this post


Link to post
Share on other sites

SCORM tracking is pretty industry-specific, that's where I happen to be though. But the SCORM spec does specify that the API needs to be somewhere up the window parent tree, so it makes the most sense to launch the SCORM content in a new window, put the API in that window, and then use an iframe to embed the content. The "official" API-finding algorithm goes up through the parents to find the API. We were using a frameset for that until the past year, but there was another set of issues with a frameset.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...