#1 (permalink)  
Old 05-02-2007, 08:43 AM
Smiling Ogre's Avatar
Registered User
 
Join Date: May 2007
Posts: 2
Can I set a new window size in an email link?

Using links in webpages I have set the size of the new window that opens when people click the link. But, these do not work in email.

Does anyone know how to set the window size in links that will be used in email?

I want someone to click the link in the email and the browser window that opens will be a set size like 400x200. Any ideas?

This is not for commercial email but for one person to send another person they know an email. The link would be to an image they created. Right now, the window opens full size with a small image in it. I'd like to have the window open to fit the image.
Reply With Quote

  #2 (permalink)  
Old 05-02-2007, 09:53 AM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,437
The only way I know of to achieve this is to have the resizing happen in the page itself, not through the link.

Something like this should help:
Code:
window.resizeTo(intwidth,intheight)
The red items are the ones you would need to change. You could even do that dynamically through the link using query strings, if you really wanted to. You would just need to write your resizing script so that it grabs the width and height dimensions from the query string.
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote
  #3 (permalink)  
Old 05-02-2007, 04:35 PM
Smiling Ogre's Avatar
Registered User
 
Join Date: May 2007
Posts: 2
Thanks!

Unfortunately, I can't set the window because each instance is a different window size. That was why I wanted to control it in the email link.

I searched all over and looks like I'm out of luck. It's just not possible.

Thanks for the help!
Reply With Quote
  #4 (permalink)  
Old 05-02-2007, 07:09 PM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Outside, and playing with your invisible friends.
Posts: 1,124
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
If you created the pages to be opened, Curtiss' method will work for you. If you do not have access to edit those pages, then I can see why not. Just add his code to the JS code(s) within the <head> tags.

EDIT: If you are able to generate the links, maybe you can try the option's value I used here.
__________________
Like my spiffy, unique signature?
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ

Last edited by Leprakawn; 05-02-2007 at 07:19 PM.
Reply With Quote
Reply


Thread Tools
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email information window? ehbowen Programming and Scripting 2 03-17-2007 08:38 AM
Create Email of Web Page Wayne Programming and Scripting 2 06-20-2006 03:58 PM
open new window with specific size on page load burlap Programming and Scripting 11 06-21-2005 12:29 PM
PHP Code of random image thumnail and link to full size image... CAG Hotshot Programming and Scripting 3 01-20-2005 10:08 PM


All times are GMT -5. The time now is 07:30 PM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter