example url: http://www.mypage.asp?mscssid=ASDFJGJVCXZMBVCNMFD
So that when select for any the menus the shopper id will appear automatically.
If anyoune could let me know before I purchase a license that would be great.
Thank You

When you build a menu item, one of the properties you set in the string passed to aI() is the url property. You construct it exactly as you showed in your example, just as if you were passing it from a standard text link.justinrk wrote:How do you Pass the parameters, can you help out tell showing or telling me how do this...
Code: Select all
aI("text=Item Text;url=http://www.mysite.com/mypage.asp?param1=param1Value¶m2=param2Value;");
Code: Select all
<a href="/mypage.asp?mscssid=<% =mscssid %>">text link</a>
You're welcome. I'm not an asp guru, but I've been dabbling recently, and I think I can help. Essentially, you'll want to incldue some asp code in your menu_data javascript. So, if you have your menu_data code defined in an external .js file (e.g., menu_data.js), then the first thing to do is, as John said, rename your menu_data.js file to menu_data.asp. Make sure that you also change the filename in the src= attribut of the <script> block you use to load the file into the page, e.g.,justinrk wrote:First I just wanted to say "Thank You" for assisting me with this![]()
Code: Select all
<script type="text/javascript" src="menu_data.asp"></script>
Code: Select all
<a href="<%=pageURL("webfolder/webpage.asp")%>">Text Link</a>
Code: Select all
aI("text=Item Name;url=<%=pageURL("webfolder/webpage.asp")%>;");
Code: Select all
<a href="<%=baseURL("webfolder/webpage.asp") & mscsPage.URLSHopperArg()%>">Text Link</a>
Code: Select all
aI("text=Item Name;url=<%=baseURL("webfolder/webpage.asp") & mscsPage.URLSHopperArg()%>;");
Code: Select all
<a href="<%=rootURL%>webfolder/webpage.asp?mscssid=<%=mscsShopperID%>">text link</a>
Code: Select all
aI("text=Item Name;url=<%=rootURL%>webfolder/webpage.asp?mscssid=<%=mscsShopperID%>;");