944,083 Members | Top Members by Rank

Ad:
Nov 6th, 2009
0

Question about pop up window(js) inside dynamic ajax content

Expand Post »
Hi,

My problem at the moment is a bit different than specified in topic title.

I have an Iframe which displays .html file with js/ content slider
when i click a link inside of that iframe I want for pop up window (greybox) to appear, but not inside of iframe , outside of it.

I found a section of developers page about this, but I don't seem to be able to do this.. http://orangoo.com/labs/GreyBox/FAQ/#q12

I undersand that I must leave greybox folder/files where they normally are located?!

Do i need to add something more to
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <a href="http://google.com/" onclick="return parent.GB_show('Google', this.href)">Visit Google</a>
as I just copied it. with no changes ..
Last edited by wonderland; Nov 6th, 2009 at 7:14 am.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster
wonderland is offline Offline
108 posts
since Oct 2007
Nov 16th, 2009
0
Re: Question about pop up window(js) inside dynamic ajax content
are you trying to make some wrap page with opacity? why not try use jquery instead. easier to applied and a lot of other effects that you can use or implement.
Reputation Points: 25
Solved Threads: 8
Light Poster
vee_liang is offline Offline
38 posts
since Aug 2008
Nov 16th, 2009
0
Re: Question about pop up window(js) inside dynamic ajax content
I have a page example.html, when I press link in example.html, a pop up windows opens up (greybox, similair to lightbox, thickbox etc)

I know Iframes aren't great :/ but I have one, and that iframe displays example.html.

What I want to do is open pop up windows from Iframe, when example.html is displayed, so it opens in whole parent page, not just inside of that iframe..

I hope this makes more sense
Reputation Points: 10
Solved Threads: 0
Junior Poster
wonderland is offline Offline
108 posts
since Oct 2007
Nov 16th, 2009
0
Re: Question about pop up window(js) inside dynamic ajax content
Click to Expand / Collapse  Quote originally posted by wonderland ...
I have a page example.html, when I press link in example.html, a pop up windows opens up (greybox, similair to lightbox, thickbox etc)

I know Iframes aren't great :/ but I have one, and that iframe displays example.html.

What I want to do is open pop up windows from Iframe, when example.html is displayed, so it opens in whole parent page, not just inside of that iframe..

I hope this makes more sense
do you mean like facebook dialog box? the one who appear on its parent window? sorry could you please provide some screen shots of it?
Reputation Points: 25
Solved Threads: 8
Light Poster
vee_liang is offline Offline
38 posts
since Aug 2008
Nov 17th, 2009
0
Re: Question about pop up window(js) inside dynamic ajax content
Wonderland: The code in your first post in this thead seems to be correct, is it not working?
Reputation Points: 15
Solved Threads: 10
Junior Poster in Training
Alxandr is offline Offline
73 posts
since May 2009
Nov 19th, 2009
0
Re: Question about pop up window(js) inside dynamic ajax content
I would like to say big thank you to all who replied

I solved the problem.
Reputation Points: 10
Solved Threads: 0
Junior Poster
wonderland is offline Offline
108 posts
since Oct 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: problem with setting input text value
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: jQuery - unbind hyperlink click





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC