Javascript coding ..
Moderators: macek, egami, gesf
by zai » Thu Oct 27, 2005 12:34 am
Hello..
i have a problem with pop up window..
i want to create another pop up window from pop up the window.
zai
-
zai
- New php-forum User

-
- Posts: 16
- Joined: Fri Aug 19, 2005 12:20 am
- Location: Malaysia
-
by ruturajv » Thu Oct 27, 2005 7:24 pm
that is simple,
put the
window.open(...) code in the popped up window.
-

ruturajv
- php-forum Super User

-
- Posts: 1280
- Joined: Sat Mar 22, 2003 9:42 am
- Location: Mumbai, India
-
by Alexei Kubarev » Fri Oct 28, 2005 12:29 am
Please post in the correct forum
Moved to Javascript
-

Alexei Kubarev
- Site Admin

-
- Posts: 2223
- Joined: Fri Mar 05, 2004 7:15 am
- Location: Täby, Stockholms län
-
by zai » Sun Oct 30, 2005 4:34 pm
Still not working...
this is my code.
- Code: Select all
<a href=\"addnewfield.php?name=$name&tabsubcat=$subcat\" class=\"link\"
onClick=\"window.open(this.href,'popupwindow','menubar=o,toolbar=o,resizable=0,scrollbars=1,width=700,height=400,left=300,top=300'); return false;\">
is that any problem with this code..
zai
-
zai
- New php-forum User

-
- Posts: 16
- Joined: Fri Aug 19, 2005 12:20 am
- Location: Malaysia
-
by ruturajv » Sun Oct 30, 2005 8:18 pm
try
- Code: Select all
window.open (location.href, .....);
and make sure no javascript parse errors, open your javascript console when testing...
-

ruturajv
- php-forum Super User

-
- Posts: 1280
- Joined: Sat Mar 22, 2003 9:42 am
- Location: Mumbai, India
-
Return to JavaScript
Who is online
Users browsing this forum: No registered users and 1 guest