Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-08-2003, 09:05 AM   #1
Member (7 bit)
 
chris1977uk's Avatar
 
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
Resizing popups

i have an ASP page, lets call it parent

it has a javascript link in it:
a href="javascript: popup('image')"

this calls the following function:

function popup(image){
window.open('popup.asp?image=' + image,'read','width=500, height=400, toolbars=no, scrollbars=yes')
}

/script

with me so far?????

it works, no problem, popup.asp pops up with the correct image in it.
What i want to do and have seen done, but can't do it myself is get the popup.asp page to resize the popup its in to be the size of the image, plus a 10pixel border all around it.

any ideas??

Last edited by chris1977uk; 05-08-2003 at 09:07 AM.
chris1977uk is offline   Reply With Quote
Old 05-08-2003, 09:50 AM   #2
Member (7 bit)
 
chris1977uk's Avatar
 
Join Date: Sep 2002
Location: Middlesbrough, UK
Posts: 108
have no fear, its solved
chris1977uk is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:59 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2