Forums

ASP

This topic is locked

Generating a URL to link a css button to asp page

Posted 23 Nov 2006 17:12:02
1
has voted
23 Nov 2006 17:12:02 jeremy simons posted:
I want to create a link that goes to a generic page to display data specified by the link: for example, a user clicks a button marked "speakers->under £100" and gets taken to a product page (prodlist.asp) displaying only speakers under £100.

The problem really lies in the fact that I'm using fireworks to generate a lovely fly out menu, and want to just be able to either cut and paste a generated link into fireworks, or to be able to type in the URL with parameters to give to the page.

Currently, I'm creating one page for each link, but due to the list of variables (make, type, price) I will end up with about 100 individual pages! I really would like to create just one page that takes parameters from the link, and displays them in a table.

I'm using access databases and dreamweaver 8, but I'm happy to work in code if needs be.

Any thoughts, suggestions or tutorials would be most helpful <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

cheers in advance

Replies

Replied 23 Nov 2006 17:39:42
23 Nov 2006 17:39:42 Vince Baker replied:
Hi Jeremy,

There is an excellent tutorial that shows a good example of using dw8, access and how to create a master-detail page (which is what you are trying to acheive) that ships with dreamweaver.

I would suggest tryin this and seeing if it gives you any ideas about how to add that to your menu.

Post back once done if you are still unsure how to add the code to the menu.

Regards

Vince Baker
<strong>DMX Zone Manager</strong>

[VBScript | ASP | HTML | CSS | SQL | Oracle | AS400 | ERP Logic | Hosting]
Replied 23 Nov 2006 20:35:33
23 Nov 2006 20:35:33 jeremy simons replied:
Thanks very much, vince. I've read through the relevant parts and I get how it should work now; problem is, I'm not entirely sure how to put it together - my menu is in CSS created in fireworks, and when I'm building the recordset for the list page, the form is effectively asking what the name of the object passing the url parameter is - is it the name of the menu button in the CSS code? if so, how do I add the link to the CSS? is it just a case of wedging in "a href=...." and in my case, adding something like "blahblah.asp?make=pioneer & model=blah" ?

Ive just gone through both the CSS and the asp code and can't find any links in there at all, which is odd, because the menu does currently link to other pages. I have tested these links so there must be something there otherwise they wouldnt work, right?

Any help would again be really appreciated

Reply to this topic