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

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Oct 2007
Posts: 37
Reputation: wonderland is an unknown quantity at this point 
Solved Threads: 0
wonderland wonderland is offline Offline
Light Poster

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

 
0
  #1
19 Days Ago
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; 19 Days Ago at 7:14 am.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 16
Reputation: vee_liang is an unknown quantity at this point 
Solved Threads: 1
vee_liang vee_liang is offline Offline
Newbie Poster
 
0
  #2
9 Days Ago
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.
Vee Liang
To be right, first you have to know what wrong is.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 37
Reputation: wonderland is an unknown quantity at this point 
Solved Threads: 0
wonderland wonderland is offline Offline
Light Poster
 
0
  #3
9 Days Ago
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 16
Reputation: vee_liang is an unknown quantity at this point 
Solved Threads: 1
vee_liang vee_liang is offline Offline
Newbie Poster
 
0
  #4
8 Days Ago
Originally Posted by wonderland View Post
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?
Vee Liang
To be right, first you have to know what wrong is.
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 71
Reputation: Alxandr is an unknown quantity at this point 
Solved Threads: 9
Alxandr's Avatar
Alxandr Alxandr is offline Offline
Junior Poster in Training
 
0
  #5
8 Days Ago
Wonderland: The code in your first post in this thead seems to be correct, is it not working?
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 37
Reputation: wonderland is an unknown quantity at this point 
Solved Threads: 0
wonderland wonderland is offline Offline
Light Poster
 
0
  #6
6 Days Ago
I would like to say big thank you to all who replied

I solved the problem.
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC