Solved

Greybox popup working properly in an iframe

Posted on 2010-11-29
4
827 Views
Last Modified: 2013-11-13
We are using greybox as pop-up windows for when somebody clicks for more details. It works fine with the pop-up appearing beside the link. Except if the page is put in an iframe. If in an iframe, the pop-up appears, but at the very top of the page and this can mean excessive scrolling upwards to see the pop-up. Any solutions that do NOT involve putting the pop-up window coding in the page that has the iframe code?
0
Comment
Question by:pld51
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 16

Expert Comment

by:jmatix
ID: 34239416
Can you post your source example?
0
 

Author Comment

by:pld51
ID: 34239839
In the header we have:-
<script type="text/javascript">
    var GB_ROOT_DIR = "http://www.roveaway.com/greybox/";
</script>
<script type="text/javascript" src="../greybox/AJS.js"></script>
<script type="text/javascript" src="../greybox/AJS_fx2.js"></script>
<script type="text/javascript" src="../greybox/gb_scripts2.js"></script>
<link href="../greybox/gb_styles2.css" rel="stylesheet" type="text/css" />

For each link where we call the greybox, eg "details":-
<a href="tour-detail.asp" rel="gb_page[650, 680]">details</a>

Using the FAQ of Greybox for iframes, we also tried this without luck:-
<a href="tour-detail.asp?ssid=<%=servid%>" onclick="return parent.GB_show('details', this.href)">details</a>
0
 

Accepted Solution

by:
pld51 earned 0 total points
ID: 34244364
Solution found - use HighSlide instead of greybox
0
 

Author Closing Comment

by:pld51
ID: 34276838
No other solution was presented
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses how to create an extensible mechanism for linked drop downs.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question