corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Javascript/PHP Popup Windows


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Javascript/PHP Popup Windows
liamC
Member

Registered: 28th Feb 04
User status: Offline
18th Apr 07 at 00:56   View User's Profile U2U Member Reply With Quote

I have the following code below that, when clicked, opens the link in a blank browser window.

I was wondering if it was possible to change the blank popup window to a specific length and height just like as if it was Javascript?

Any help appreciated.

This is the part of the code which opens the blank window.

code:
<a href="carview.php?id=<? echo "$id"; ?>" target="_blank">View Details</a>
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
18th Apr 07 at 01:15   View Garage View User's Profile U2U Member Reply With Quote

You'll need Javascript window.open() I think.

http://www.w3schools.com/htmldom/met_win_open.asp
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
18th Apr 07 at 06:52   View Garage View User's Profile U2U Member Reply With Quote

yes use the above

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
New SPEEDFREEX website? mestonian General Chat 15 1277
6th May 03 at 09:59
by mestonian
 
revolving number plates. 3CorsaMeal General Chat 59 3849
27th Jun 03 at 13:16
by M2RV H
 
Problem with JavaScript Windows. Tiger General Chat 10 694
29th Nov 04 at 17:19
by Joff
 
106 gti aaza Cars Offered 26 1598
14th Jun 06 at 20:55
by aaza
 
PHP Popup Window liamC Geek Day 3 1307
1st Apr 07 at 23:07
by Steve
 

Corsa Sport » Message Board » Off Day » Geek Day » Javascript/PHP Popup Windows 28 database queries in 0.0122378 seconds