Forums

ASP

This topic is locked

Defining / using URL parameters

Posted 08 Dec 2006 20:17:24
1
has voted
08 Dec 2006 20:17:24 jeremy simons posted:
Hi, I'm still having problems with my fly out menu in combination with ASP. I am trying to get a fly out menu (javascript) to link to an asp page that displays a list of stuff specified by the link; I have set up a "go to detail page" behaviour in DW, and set up the detail page to accept that parameter. The link works, but the parameter does not - when the page is found, <i>any</i> data is displayed rather than the data I specified. I have a feeling that this may be because nothing is telling the first page which parameter to pass.

the code for the individual button in the menu looks like this, with the server behaviour included:
<pre id=code><font face=courier size=2 id=code>
div id="MMMenuContainer1123151053_0"
div id="MMMenu1123151053_0" onmouseout="MM_menuStartTimeout(500);" onmouseover="MM_menuResetTimeout();"
a href="../bikelist.asp?&lt;%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "make="
& rsspecialized.Fields.Item("make".Value %"
name="MMMenu1123151053_0_Item_0" class="MMMIFVStyleMMMenu1123151053_0" id="MMMenu1123151053_0_Item_0"
onmouseover="MM_menuOverMenuItem('MMMenu1123151053_0');" Road /a
</font id=code></pre id=code>
what i want it to do is select make="specialized", but when i try just entering that into the code, I get a query string that has "make=specialized=...." and it inserts another brand at random. How do I get this button to only pass the parameters that I specify?

I had to remove some of the brackets in the code to get it to display at all BTW - they're all there in the original!

Any help would be appreciated as always <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Reply to this topic