Home > Default > CSS Problem working with Frames

CSS Problem working with Frames

October 11Hits:0
Advertisement
Hi guys! I'm repairing a client's website that includes a
shopping cart. When the site is first visited, I have the view cart
button hidden:
============= Frame One ================
html code:
<a id="viewcart" href=#>View Cart</a>
CSS code:
a#viewcart { visiblity: hidden;}
============= Frame Two ================
<FORM><INPUT TYPE="HIDDEN" NAME="product[]"
VALUE="Here Today Gone Tomorrow">
<INPUT TYPE="HIDDEN" NAME="price" VALUE="14.95">
<INPUT TYPE="SUBMIT" value="Add to Cart" name="B1">
</FORM>
I would like to turn the button on whenever an add to cart
button has been pressed.
If I were working within the same page, I think I could get
away with something like:
CSS Code:
form submit:active, a#viewcart { visiblity: visible;}
Am I thinking in the right direction or am I screwing up.
HELP!!!

Answers

To affect Frame one by a button in frame two you are going to
have to reload
the whole frameset, which could cause you problems. If the
top frameset is
only to hold this link then there is little point in using it
over having
all the code on the same page and controlling it via CSS as
you have.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"WebXperience" <[email protected]> wrote in
message
news:eildvv$l57$[email protected]..
> Hi guys! I'm repairing a client's website that includes
a shopping cart.
> When
> the site is first visited, I have the view cart button
hidden:
> ============= Frame One ================
> html code:
> <a id="viewcart" href=#>View Cart</a>
>
> CSS code:
> a#viewcart { visiblity: hidden;}
>
>
> ============= Frame Two ================
> <FORM><INPUT TYPE="HIDDEN" NAME="product[]"
VALUE="Here Today Gone
> Tomorrow">
> <INPUT TYPE="HIDDEN" NAME="price" VALUE="14.95">
> <INPUT TYPE="SUBMIT" value="Add to Cart"
name="B1">
> </FORM>
>
> I would like to turn the button on whenever an add to
cart button has been
> pressed.
> If I were working within the same page, I think I could
get away with
> something like:
>
> CSS Code:
> form submit:active, a#viewcart { visiblity: visible;}
>
> Am I thinking in the right direction or am I screwing
up.
>
> HELP!!!
>
>

Read other 3 answers

Tags:

Related Articles

  • CSS Problem working with FramesOctober 11

    Hi guys! I'm repairing a client's website that includes a shopping cart. When the site is first visited, I have the view cart button hidden: ============= Frame One ================ html code: <a id="viewcart" href=#>View Cart</a> CS

  • Css problem in internet explorerOctober 11

    Hi to all! On my page as part of the page template I have build in a little drop-down user panel on the left top of the page. html:<div id="userpanel">   <span><img src="'#APP_IMAGES#openSlidedown.png" /> <a>log

  • Load the External text and css file for more framesNovember 30

    hello..        I created one Movie file. In that I load the External text and css file in first frame and display the first variable value in one text box. And then in 2nd frame I use another one text field and display the 2nd variable value like tha

  • Problems with dropped frames in FCP 4.5 Log & CaptureNovember 30

    Thanks for the advice on my previous post regarding sound problems - those are now sorted, but I am having problems with dropped frames in Log and Capture. I am using FCP 4.5 with OS X 10.4.10 on a Powermac G4. CPU 867 mhz dual processor. L2 Cache 25

  • Yes another strange IE CSS problemNovember 30

    Hi all, I was wondering if some kind soul could help me work out hopefully my last CSS problem. If you look at my site: http://www.aclighting.com/shop/ in IE you will see a light blue line at the bottom of the left hand side navigation menu. In Firef

  • Problems with still frames blurring in Final Cut Express....November 30

    I have had problems with still frames blurring. I've discovered it's related to the green line above the time line on the sequence bar. I can't find the name of the bar but it's red if you need rendering. There are green lines and when the scrubber h

  • Possible CSS problem?November 30

    Hi All, I am in the process of making a website for a friend, when I ran into what looks like a css problem. I purchased the css file in a template from a guy who does tutorials on youtube, I have contacted him on several occasions but his customer s

  • Can some one help me with this problem with my frame???October 11

    i have gt a veri strange problem with my program,that is teh graphic changes only when i resize the the frame,if i dun resize,it will remain the same.However what i intended is that when i click on the radio button,it will change immediately to the r

  • Problems with large frame uncompressed AVI files in QT 7 playerOctober 11

    I have just recently gone from QT Pro 6.5.2 to QT Pro 7, mainly because of the HD support. I have a dual boot system with QT 7 on Windows 2000, and QT 6 on Windows 98SE. I am having problems playing uncompressed AVI files in the QT 7 player, apparent

  • Problem with text frame dropshadow not completely printing to pdf file.October 11

    Hi and thanks for your speedy replies! I am editing a file that had altered corner text frames with a .25 inset and a drop shadow added, .05 stroke and paper swatch. When I deleted text everything shifted so I had to recreate the special frames on se

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.650 s.