What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » HTML code for pop up?

Pages: (2): « First [ 1 ] 2 » Last »
HTML code for pop up?
Author: Message:
albert
Veteran Member
*****

Avatar

Posts: 2247
Reputation: 42
– / Male / Flag
Joined: Feb 2005
O.P. HTML code for pop up?
ok first.. I have frames

M     |    P
E     |    A
N     |    G
U     |    E

and now what I wanna do.. is that when some ppl click on a link.. well first - a pop up shows and at the same time another page shows on my frame page..

I searched on google, just couldnt find it..

anyone?
thx in advance
05-22-2005 10:15 PM
Profile E-Mail PM Web Find Quote Report
Concord Dawn
Veteran Member
*****

Avatar
This is a loopy fruit.

Posts: 1203
Reputation: 16
33 / Male / –
Joined: Feb 2004
RE: HTML code for pop up?
quote:
Originally posted by lp15
ok first.. I have frames

M     |    P
E     |    A
N     |    G
U     |    E

and now what I wanna do.. is that when some ppl click on a link.. well first - a pop up shows and at the same time another page shows on my frame page..

I searched on google, just couldnt find it..

anyone?
thx in advance

You'll need Javascript I think.
[Image: 7.png]
05-22-2005 10:17 PM
Profile E-Mail PM Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
37 / Male / Flag
Joined: Jul 2003
RE: HTML code for pop up?
i think u'll need to do  something like
code:
document.frames(1).src="newpage.htm"
window.popup or whatever
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
05-22-2005 10:21 PM
Profile E-Mail PM Web Find Quote Report
albert
Veteran Member
*****

Avatar

Posts: 2247
Reputation: 42
– / Male / Flag
Joined: Feb 2005
O.P. RE: HTML code for pop up?
quote:
Originally posted by Dempsey
i think u'll need to do  something like
code:
document.frames(1).src="newpage.htm"
window.popup or whatever

ehh well can u give me the code? cuz I rlly dunt udnerstand.. the frame name is I1 and the page well just call it www.page.html
05-22-2005 10:23 PM
Profile E-Mail PM Web Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
32 / Male / Flag
Joined: Dec 2004
RE: HTML code for pop up?
I don't think it's possible for 1 link to do 2 things.

So in other words, you want a link to go to a page in the iframe.
So the popup html code would have to be in page that's loading in the iframe.

I think :^)

This post was edited on 05-22-2005 at 10:42 PM by Chris4.
Twitter: @ChrisLozeau
05-22-2005 10:24 PM
Profile PM Find Quote Report
albert
Veteran Member
*****

Avatar

Posts: 2247
Reputation: 42
– / Male / Flag
Joined: Feb 2005
O.P. RE: HTML code for pop up?
quote:
Originally posted by chris4
I don't think it's possible for 1 link to do 2 things.

So in other words, you want a link to go to a page in the iframe.
So the popup html code would have to be in page that's loading in the iframe.

I think :^)

Thats an idea! then I just need a pop up code for when the page loads, anyone has one?

This post was edited on 05-22-2005 at 10:25 PM by albert.
05-22-2005 10:25 PM
Profile E-Mail PM Web Find Quote Report
Zephyr
Senior Member
****

Avatar
monster.rat

Posts: 950
Reputation: 26
35 / Male / Flag
Joined: Jan 2005
RE: HTML code for pop up?
Something like this should work

code:
<a href="page.html" target="I1" onClick=window.open("2.html")> text </a>


Sorry, if this is wrong, i'm not great with html.

This post was edited on 05-22-2005 at 10:55 PM by Zephyr.
[Image: rhcpsig38tj.png]
05-22-2005 10:50 PM
Profile E-Mail PM Find Quote Report
albert
Veteran Member
*****

Avatar

Posts: 2247
Reputation: 42
– / Male / Flag
Joined: Feb 2005
O.P. RE: HTML code for pop up?
quote:
Originally posted by monster.rat
Something like this should work

code:
<a href="page.html" target="I1"
onClick=window.open("2.html")> text </a>




perfect! Thx a lot!
05-22-2005 10:57 PM
Profile E-Mail PM Web Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
32 / Male / Flag
Joined: Dec 2004
RE: HTML code for pop up?
* Chris4 congratulates monster.rat

works perfectly :P

You do have to "allow blocked content" on IE if using SP2

other then that :P well done :P
Twitter: @ChrisLozeau
05-22-2005 11:03 PM
Profile PM Find Quote Report
Zephyr
Senior Member
****

Avatar
monster.rat

Posts: 950
Reputation: 26
35 / Male / Flag
Joined: Jan 2005
RE: HTML code for pop up?
Also if you want to change some parameters for the popup window, you can use this code.

code:
<a href="page.html" target="I1"
onClick="window.open('2.html','popup','width=200,height=300,toolbar=no,location=no,directories=no,status=no,menubar=no,
scrollbars=no,resizable=no,minimize=no,maximize=no,fullscreen=no,dependent=no,top=400,left=400')"> text</a>

Change the values of the parameters as you wish.

I split the code at scrollbars=no so that it fits the layout of this page better, but make sure there are no spaces between the properties of the window in your code.

This post was edited on 05-23-2005 at 12:38 PM by Zephyr.
[Image: rhcpsig38tj.png]
05-23-2005 12:24 AM
Profile E-Mail PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On