Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Variable size openwindow function
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

jeffery
Junior Member

USA
176 Posts

Posted - 07 July 2003 :  17:30:07  Show Profile
How can I create a function say in inc_header such as

Response.Write "<script language=""JavaScript"" type=""text/javascript"">" & vbNewLine & _
"<!-- hide from JavaScript-challenged browsers" & vbNewLine & _
"function openWindowNewSize(url) {" & vbNewLine & _
" popupWin = window.open(url,'new_page','width=700,height=600,scrollbars=yes')" & vbNewLine & _
"}" & vbNewLine & _
"// done hiding -->" & vbNewLine & _
"</script>" & vbNewLine


But that will dynamically fit the photo which is called in the page it opens? Such as the one in the photo album.

www.thomasforum.com

Edited by - ruirib on 07 July 2003 17:50:28

jeffery
Junior Member

USA
176 Posts

Posted - 07 July 2003 :  23:31:00  Show Profile
**bump**

www.thomasforum.com
Go to Top of Page

jeffery
Junior Member

USA
176 Posts

Posted - 28 July 2003 :  16:43:09  Show Profile
**bump**

www.thomasforum.com
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 28 July 2003 :  16:55:34  Show Profile  Visit aspwiz's Homepage
Hi Jeffrey...

I'll just point you to this freely available code which allows you to get at the image width and height in asp....

This should help you build up your code on the fly on the server side without involving javascript (except to open the new window)

click onto this code:-
http://www.4guysfromrolla.com/webtech/code/imgsz.asp.html
Go to Top of Page

jeffery
Junior Member

USA
176 Posts

Posted - 29 July 2003 :  14:09:35  Show Profile
I'll try to soak that in. That should help. Thanks aspwiz.

www.thomasforum.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07