View Full Version : How do i keep my current frame showing?

11-01-2011, 10:12 AM
Hello people

I need your assistance here, if you look at the code down below this is my problem.

When someone add a item to the cart, cart will show to the left on my site.
But when they then click on "show cart" the small cart to the left disapears, wich would not be a big problem unless the customor forgot something and click on more items. The cart does not forget that there is stuff in it, it does just now show it again to a new item is put in it.

Hope that made sence, anyway my question is... how do i make my cart stay ? cause as soon as you click on the show cart link down below to show you what is inside the cart, the small summery cart disapears.

I just pasted a small part of the code, the one i think is relevant, if you need more of the code please let me know. I really need to fix this problem.

thanks in advance

<td width="100%" align="right" style="border-left-width: 0">
<a href="something random that no one cares about" target="atxrigth">
<img border="0" valign="middel" src="/images/kurvsort.gif" alt="show cart">

11-02-2011, 01:43 AM
hello nesbocaj
welcome to the forums!

it's impossible to tell what your problem is with that information!
could you post the entire code (you can delete the php), or post a live view (your website url)


11-02-2011, 09:23 AM
Okay sorry, ill try and explain it abit better along with more code...

Basicly its like this, all my items you can buy is in the frame called, "siterigth". When you add a item to cart in "siteright", then it will show a small summery of your cart in a frame called, "sitebund". This is the code in "sitebund", problem is when the customor clicks on the "show cart", this small summery disapear cause i am sending it back to frame "siteright" what is within the cart. I dont want this to happend, i want the small summery in frame "sitebund" to show all to the to either the customor clicks on delete cart, or when he pays for the goods.

Any way to keep these informations showing in this frame and still allow the "show cart" to progress as its there the customor see the cart items and will pay for them.

Hope you understand what i mean now...

<td width="100%" align="right" style="border-left-width: 0">
<a href="../cgi-bin/ubus.cgi?debkonto=///F0001N10/&amp;nasthtml=linievis.html&amp;sidetype=linievis&amp;webident=///F0099N6/&amp;webordre=///F0099N6/" target="siteright">
<img border="0" valign="middel" src="/images/kurvsort.gif" alt="show cart">&nbsp;&nbsp;&nbsp;</a></td>

<table class="farve" style="border-right: 10px solid #FFFFFF" cellpadding="0" cellspacing="1" width="100%">
<td width="40%"><b><font size="2" color="#FFFFFF">&nbsp;&nbsp;Total</font></b></td>
<td width="60%" align="right">
<b><font size="1" color="#FFFFFF">Number of items(r):&nbsp;&nbsp;///F9919N6/</font>
<td width="40%"><b><font size="1" color="#FFFFFF">&nbsp;&nbsp;///F0014X10/</font></b></td>
<td width="60%" align="right">
<b><font size="2" color="#FFFFFF">///F0303N6/2/ kr.&nbsp;&nbsp;</font></b></td>