Hi guys!
I'm trying to integrate a shop-system into my site.
I use DLGuard for that and it already seems to work fine.
I want to use the code provided by DLGuard to "link" on plain text, just as if it was a normal link, so that customers click on the text to add items to their cart. And it should also change colour whith mouseover.. as said, it should behave like a link.
I've set up a Testpage here.
I hope it demonstrates my problem. My aim would be the 2 links upper right to behave like the 2 buttons in the middle.
here's the "add to cart"-code
Code:
<script>document.write('<a href="http://gameaudio.homelinux.net/dlg/ppcart.php?p=8&ppc=add&dlgreturn='+window.location.href+'"><IMG SRC="http://gameaudio.homelinux.net/dlg/displaybutton.php?p=8&ppc=add" BORDER="0"></a>');</script>
and the "view cart"-code
Code:
<script>document.write('<a href="http://gameaudio.homelinux.net/dlg/ppcart.php?p=8&ppc=view&dlgreturn='+window.location.href+'"><IMG SRC="http://gameaudio.homelinux.net/dlg/displaybutton.php?p=8&ppc=view" BORDER="0"></a>');</script>
I've also added the .xar file of the little demo-site.
How can I solve this problem?
Do I have to change the code? Or do something different in xtreme graphic designer?
I don't want to use buttons at all, because I'd need 400 different ones because each will be placed on a slightly differently coloured background.. that would take ages.
Hope you can help me!
cheers, chilli
Bookmarks