![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
grrrrrrrrr...I'm trying to get this sample to work: http://www.dmxzone.com/ShowDetail.asp?NewsId=6898 why do I keep getting this error? Response object error 'ASP 0158 : 80004005' Missing URL /testing/2006/process.asp, line 12 A URL is required If you need the actual test page, it's: http://www.petpiazza.com/testing/2006/oz1.asp Dan |
#3
| |||
| |||
|
|
It would really help if you posted line 12 (as well as the ones before and after it) here. "Dan Galfano" <daniel (AT) galfanodesign (DOT) com> wrote in message news:djm3i5$i5g$1 (AT) forums (DOT) macromedia.com... grrrrrrrrr...I'm trying to get this sample to work: http://www.dmxzone.com/ShowDetail.asp?NewsId=6898 why do I keep getting this error? Response object error 'ASP 0158 : 80004005' Missing URL /testing/2006/process.asp, line 12 A URL is required If you need the actual test page, it's: http://www.petpiazza.com/testing/2006/oz1.asp Dan |
#4
| |||
| |||
|
|
oops. Forgot that page. This is what's in process.asp % If Request.QueryString("TextSize") = "Standard" Then Response.Cookies("StyleName")="http://www.petpiazza.com/testing/2006/styles/content.css" Response.Cookies("StyleName").Expires=Now+365 ElseIf Request.QueryString("TextSize") = "Large" Then Response.Cookies("StyleName")="http://www.petpiazza.com/testing/2006/styles/conent+.css" Response.Cookies("StyleName").Expires=Now+365 End If % % Response.Redirect + Request.QueryString("http://www.petpiazza.com/testing/2006/oz1.asp") % I had no idea what I was supposed to put in the redirect (which is line 12) Dan "middletree" <middletree (AT) verywarmmail (DOT) com> wrote in message news:djm4u0$k50$1 (AT) forums (DOT) macromedia.com... It would really help if you posted line 12 (as well as the ones before and after it) here. "Dan Galfano" <daniel (AT) galfanodesign (DOT) com> wrote in message news:djm3i5$i5g$1 (AT) forums (DOT) macromedia.com... grrrrrrrrr...I'm trying to get this sample to work: http://www.dmxzone.com/ShowDetail.asp?NewsId=6898 why do I keep getting this error? Response object error 'ASP 0158 : 80004005' Missing URL /testing/2006/process.asp, line 12 A URL is required If you need the actual test page, it's: http://www.petpiazza.com/testing/2006/oz1.asp Dan |
#5
| |||
| |||
|
|
Hi Dan, Don't know if this is a spelling error... but if not that might be the problem "conent+.css"... I guess it should read "content+.css" Kim Dan Galfano wrote: oops. Forgot that page. This is what's in process.asp % If Request.QueryString("TextSize") = "Standard" Then Response.Cookies("StyleName")="http://www.petpiazza.com/testing/2006/styles/content.css" Response.Cookies("StyleName").Expires=Now+365 ElseIf Request.QueryString("TextSize") = "Large" Then Response.Cookies("StyleName")="http://www.petpiazza.com/testing/2006/styles/conent+.css" Response.Cookies("StyleName").Expires=Now+365 End If % % Response.Redirect + Request.QueryString("http://www.petpiazza.com/testing/2006/oz1.asp") % I had no idea what I was supposed to put in the redirect (which is line 12) Dan "middletree" <middletree (AT) verywarmmail (DOT) com> wrote in message news:djm4u0$k50$1 (AT) forums (DOT) macromedia.com... It would really help if you posted line 12 (as well as the ones before and after it) here. "Dan Galfano" <daniel (AT) galfanodesign (DOT) com> wrote in message news:djm3i5$i5g$1 (AT) forums (DOT) macromedia.com... grrrrrrrrr...I'm trying to get this sample to work: http://www.dmxzone.com/ShowDetail.asp?NewsId=6898 why do I keep getting this error? Response object error 'ASP 0158 : 80004005' Missing URL /testing/2006/process.asp, line 12 A URL is required If you need the actual test page, it's: http://www.petpiazza.com/testing/2006/oz1.asp Dan |
#6
| |||
| |||
|
|
Hi Dan, Don't know if this is a spelling error... but if not that might be the problem "conent+.css"... I guess it should read "content+.css" Kim Dan Galfano wrote: oops. Forgot that page. This is what's in process.asp % If Request.QueryString("TextSize") = "Standard" Then Response.Cookies("StyleName")="http://www.petpiazza.com/testing/2006/styles/content.css" Response.Cookies("StyleName").Expires=Now+365 ElseIf Request.QueryString("TextSize") = "Large" Then Response.Cookies("StyleName")="http://www.petpiazza.com/testing/2006/styles/conent+.css" Response.Cookies("StyleName").Expires=Now+365 End If % % Response.Redirect + Request.QueryString("http://www.petpiazza.com/testing/2006/oz1.asp") % I had no idea what I was supposed to put in the redirect (which is line 12) Dan "middletree" <middletree (AT) verywarmmail (DOT) com> wrote in message news:djm4u0$k50$1 (AT) forums (DOT) macromedia.com... It would really help if you posted line 12 (as well as the ones before and after it) here. "Dan Galfano" <daniel (AT) galfanodesign (DOT) com> wrote in message news:djm3i5$i5g$1 (AT) forums (DOT) macromedia.com... grrrrrrrrr...I'm trying to get this sample to work: http://www.dmxzone.com/ShowDetail.asp?NewsId=6898 why do I keep getting this error? Response object error 'ASP 0158 : 80004005' Missing URL /testing/2006/process.asp, line 12 A URL is required If you need the actual test page, it's: http://www.petpiazza.com/testing/2006/oz1.asp Dan -- kim -------------------------- http://mouseriders.dk |
#7
| |||
| |||
|
|
oops. Forgot that page. This is what's in process.asp % If Request.QueryString("TextSize") = "Standard" Then Response.Cookies("StyleName")="http://www.petpiazza.com/testing/2006/st yles/content.css" Response.Cookies("StyleName").Expires=Now+365 ElseIf Request.QueryString("TextSize") = "Large" Then Response.Cookies("StyleName")="http://www.petpiazza.com/testing/2006/st yles/conent+.css" Response.Cookies("StyleName").Expires=Now+365 End If % % Response.Redirect + Request.QueryString("http://www.petpiazza.com/testing/2006/oz1.asp") % I had no idea what I was supposed to put in the redirect (which is line 12) Dan "middletree" <middletree (AT) verywarmmail (DOT) com> wrote in message news:djm4u0$k50$1 (AT) forums (DOT) macromedia.com... It would really help if you posted line 12 (as well as the ones before and after it) here. "Dan Galfano" <daniel (AT) galfanodesign (DOT) com> wrote in message news:djm3i5$i5g$1 (AT) forums (DOT) macromedia.com... grrrrrrrrr...I'm trying to get this sample to work: http://www.dmxzone.com/ShowDetail.asp?NewsId=6898 why do I keep getting this error? Response object error 'ASP 0158 : 80004005' Missing URL /testing/2006/process.asp, line 12 A URL is required If you need the actual test page, it's: http://www.petpiazza.com/testing/2006/oz1.asp |
#8
| |||
| |||
|
|
On Tue 25 Oct 2005 04:37:24p, Dan Galfano wrote in macromedia.dreamweaver: oops. Forgot that page. This is what's in process.asp % If Request.QueryString("TextSize") = "Standard" Then Response.Cookies("StyleName")="http://www.petpiazza.com/testing/2006/st yles/content.css" Response.Cookies("StyleName").Expires=Now+365 ElseIf Request.QueryString("TextSize") = "Large" Then Response.Cookies("StyleName")="http://www.petpiazza.com/testing/2006/st yles/conent+.css" Response.Cookies("StyleName").Expires=Now+365 End If % % Response.Redirect + Request.QueryString("http://www.petpiazza.com/testing/2006/oz1.asp") % I had no idea what I was supposed to put in the redirect (which is line 12) Dan "middletree" <middletree (AT) verywarmmail (DOT) com> wrote in message news:djm4u0$k50$1 (AT) forums (DOT) macromedia.com... It would really help if you posted line 12 (as well as the ones before and after it) here. "Dan Galfano" <daniel (AT) galfanodesign (DOT) com> wrote in message news:djm3i5$i5g$1 (AT) forums (DOT) macromedia.com... grrrrrrrrr...I'm trying to get this sample to work: http://www.dmxzone.com/ShowDetail.asp?NewsId=6898 why do I keep getting this error? Response object error 'ASP 0158 : 80004005' Missing URL /testing/2006/process.asp, line 12 A URL is required If you need the actual test page, it's: http://www.petpiazza.com/testing/2006/oz1.asp Without seeing the whole of the source... It looks like process.asp needs the name of the page to send you back to, so it needs to be called with the name of the page it was called from. In this block of code: div div align="right" a href="process.asp?TextSize=Standard&ReDirectURL="> Standard Text /a> / a href="process.asp?TextSize=Large&ReDirectURL=">Lar ge Text /a /div /div ReDirectURL in the href needs to be the name of the calling page; in this case it would be some variation on "/testing/2006/oz1.asp". In ASP, you can get that automagically by using Request.ServerVariables("SCRIPT_NAME") http://devguru.com/technologies/asp/9143.asp Why not use javascript? |
#9
| |||
| |||
|
|
Well, that's all the code you'd need...at least that's all the code supplied by the tutorial. I now see that I'm missing the url in the actual link...but what is that url? Each page is different, so I can't put in just one page name for the calling page...or is that what you mean by using the SCRIPT_NAME? I can't use this: Request.ServerVariables("SCRIPT_NAME") in the href...can I? |
|
why no javascript? I had asked Thierry of TJKDesign how he did his..so he pointed me to the tutorial. |
#10
| |||
| |||
|
|
On 26 Oct 2005 in macromedia.dreamweaver, Dan Galfano wrote: Well, that's all the code you'd need...at least that's all the code supplied by the tutorial. I now see that I'm missing the url in the actual link...but what is that url? Each page is different, so I can't put in just one page name for the calling page...or is that what you mean by using the SCRIPT_NAME? I can't use this: Request.ServerVariables("SCRIPT_NAME") in the href...can I? Sure. It returns the name of the script that's calling it, so you can do something like: a href="process.asp?TextSize=Standard&ReDirectURL=<% = Request.ServerVariables("SCRIPT_NAME") %>">Standard Text >></a> / See the ASP echo block after the ReDirectURL? Do this if the code to do this is in a template, library item or some such. If it's only a few pages, your best bet is probably just to hand-code. why no javascript? I had asked Thierry of TJKDesign how he did his..so he pointed me to the tutorial. A couple of other options: - Not a tutorial, but really cool: http://meyerweb.com/eric/css/edge/complexspiral/demo.html Poke around Eric's site a bit; he may have a style switcher. - Stuff from Project Seven that you should be able to adapt: http://www.projectseven.com/extensions/listing.htm http://www.projectseven.com/tutorials/ -- Joe Makowiec http://makowiec.net/ Email: http://makowiec.net/email.php |
![]() |
| Thread Tools | |
| Display Modes | |
| |