SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: JavaScript -> ASP parameters
-
Apr 30, 2002, 15:17 #1
- Join Date
- Apr 2002
- Location
- Sydney, Australia
- Posts
- 106
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
JavaScript -> ASP parameters
Hi,
I am having problems getting a certain piece of my design to work in both Netscape & IE.
If you look at http://www.beyondtheprint.com.au/galleries.asp it works in IE only ("works" means that when you select a gallery & choose a thumbnail, the full size image appears in a popup( I know, but client request!) and everything is fine .... in Netscape you just get "The parameter is incorrect".
Most of the code is dynamically generated, but I can't seem to get the "let's pass the image name & caption to the popup" correct. The closest I can get is http://www.beyondtheprint.com.au/galleriesx.asp - can anyone see what I'm doing wrong ?
TIA
-
Apr 30, 2002, 21:00 #2
- Join Date
- Oct 2001
- Location
- Whistler BC originally from Guelph Ontario
- Posts
- 2,175
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You could drop the javascript, (I don't say that often), and create a seperate page to receive the img information. The it would load the right image. This would then be guarunteed (sp) to work.
Maelstrom Personal - Apparition Visions
Development - PhP || Mysql || Zend || Devshed
Unix - FreeBSD || FreeBsdForums || Man Pages
They made me a sitepoint Mentor - Feel free to PM me or Email me and I will see if I can help.
-
May 2, 2002, 02:20 #3
- Join Date
- Apr 2002
- Location
- Sydney, Australia
- Posts
- 106
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
OK, but then how do I get the page to resize itself to "just that bit bigger" than the iamge itself ?
I thought you could only programmatically change the size of a window while you're opening it ?
-
May 2, 2002, 09:30 #4
- Join Date
- Oct 2001
- Location
- Whistler BC originally from Guelph Ontario
- Posts
- 2,175
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by v8central
OK, but then how do I get the page to resize itself to "just that bit bigger" than the iamge itself ?
I thought you could only programmatically change the size of a window while you're opening it ?Maelstrom Personal - Apparition Visions
Development - PhP || Mysql || Zend || Devshed
Unix - FreeBSD || FreeBsdForums || Man Pages
They made me a sitepoint Mentor - Feel free to PM me or Email me and I will see if I can help.
-
May 2, 2002, 14:54 #5
- Join Date
- Apr 2002
- Location
- Sydney, Australia
- Posts
- 106
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by Maelstrom
Are all of your pics uniform size?
You should see in IE that when you click on a portrait or landscape shot, or different sizes (although most of them are the same size) that the popup is resized accordingly. In Netscape I just get "The parameter is incorrect" - not good
Anyway, I'll try the reSizeto soon
Bookmarks