php forum
php mysql forum
php mysql smarty
 
Topic Options
#107681 - 12/21/00 03:22 AM javascript pop-up and parent pages
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
I am doing some work on the ubb im's and am trying to get a link on the resulting pop-up to either:
1. open the pm inbox in the browser window that opened the pop-up (and auto-close the pop-up)
or:
2. open a new full-size browser window to the pm inbox and auto-close the pop-up

Right now I have a link on the icon1.gif that opens the pm inbox, but it opens right in that small pop-up... target="_parent" and target="_blank" doesn't do anything.


I would also like the javascript that closes pop-ups when clicked on (to add to the text on the pop-up that says the im was sent successfully, please close this window).

Thanks for any help...

------------------
Allen

- http://www.stand318.com
<IMG SRC="http://www.stand318.com/images/santapepe.gif" border=0>
_________________________
- Allen wavey
- What Drives You?

Top
#107682 - 12/21/00 10:46 AM Re: javascript pop-up and parent pages
Em8 Offline
Member

Registered: 09/03/00
Posts: 183
Loc: Red Point, Jupiter
to the first one like this:

<A HREF="UBBIMURL" TARGET="WIN">Ubb im</A>
<A HREF="PMIURL" TARGET="WIN">Pm Inbox</A>

Both having this:
<SCRIPT LANGUAGE=javascript>
window.name='WIN'
</SCRIPT>

------------------
<IMG SRC="http://opena.virtualave.net/cgi-bin/rand.pl" border=0>
_________________________
<IMG SRC="http://opena.virtualave.net/cgi-bin/rand.pl" border=0>

Top
#107683 - 12/24/00 02:01 PM Re: javascript pop-up and parent pages
empire Offline
Member

Registered: 08/17/00
Posts: 795
Loc: U S of A
em8 is right. To make the main window a target, you need a javascript on the main page to name it:
Code:
code:


then, in the link (in the popup) just make the target "ubbdevmain".

Closing a popup is really easy:
Code:
code:


------------------
<FONT size="1"> inepted </FONT s>

Top
#107684 - 12/29/00 06:49 AM Re: javascript pop-up and parent pages
Dark_Wizard Offline
Member

Registered: 06/11/00
Posts: 57
Try this FAQ:
http://developer.irt.org/script/845.htm
This site has an awesome knowledge base on JavaScript http://www.developer.irt.org/script/

------------------
I do not offer support by EMail or ICQ, please post your question at UBBDev....

<FONT COLOR="#6699cc" SIZE="1" FACE="Verdana, Arial">This message has been edited by Dark_Wizard on December 29, 2000 at 06:56 AM</font>
_________________________
I do not offer support by EMail or ICQ, please post your question at UBBDev....

Top
#107685 - 01/04/01 12:23 AM Re: javascript pop-up and parent pages
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Nice... thanks guys.

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks