Pop Up Window

Javascript coding ..

Moderators: macek, egami, gesf

zai
New php-forum User
New php-forum User
Posts: 16
Joined: Fri Aug 19, 2005 12:20 am
Location: Malaysia
Contact:

Pop Up Window

Postby 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

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Postby ruturajv » Thu Oct 27, 2005 7:24 pm

that is simple,
put the
window.open(...) code in the popped up window.

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Postby Alexej Kubarev » Fri Oct 28, 2005 12:29 am

Please post in the correct forum
Moved to Javascript

zai
New php-forum User
New php-forum User
Posts: 16
Joined: Fri Aug 19, 2005 12:20 am
Location: Malaysia
Contact:

Postby 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

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Postby 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...


Return to “JavaScript”

Who is online

Users browsing this forum: No registered users and 2 guests