This post has been edited by trickstar34: 19 July 2009 - 11:28 PM
Is there a "A:click" type of thing?
Page 1 of 113 Replies - 643 Views - Last Post: 01 August 2009 - 08:30 AM
#1
Is there a "A:click" type of thing?
Posted 19 July 2009 - 11:20 PM
I just wanted to know if you can use something like "a:click" with just CSS, no javascript involved?
Replies To: Is there a "A:click" type of thing?
#2
Re: Is there a "A:click" type of thing?
Posted 19 July 2009 - 11:28 PM
i think you are talking about a (link) Styles
a a:hover a:active a:visited
#3
Re: Is there a "A:click" type of thing?
Posted 19 July 2009 - 11:29 PM
So there is nothing that applies a style while a element is being clicked on? And those things you showed me also work for other elements than "a" for me.
#4
Re: Is there a "A:click" type of thing?
Posted 19 July 2009 - 11:36 PM
Quote
no javascript involved?
is there any problem to do it with javascript?
#5
Re: Is there a "A:click" type of thing?
Posted 19 July 2009 - 11:49 PM
I can do it just fine with JScript, but every once in a while it wont work on Safari.
#6
Re: Is there a "A:click" type of thing?
Posted 20 July 2009 - 08:10 PM
Erk... Try a different browser?
#7
Re: Is there a "A:click" type of thing?
Posted 20 July 2009 - 08:12 PM
#8
Re: Is there a "A:click" type of thing?
Posted 21 July 2009 - 01:15 AM
Most browsers, except Internet Explorer, could handle these code, if you mean what I think you mean.
I encountered the same thing when building a website for a school project. I made a menu, but IE wouldn't handle the code I'd written. Searching on the web for a solution, brought me to a site where they explain how to make a horizontal or a vertical drop down menu, using css.
To make a long story short, they use behaviors. I shall not tell you how to handle this. It's much easier to place a link to the pages I uses.
The site contains the tutorial for the menu, with a link to other site you might need.
The behavior can be found on this site with a guide how to use it.
I encountered the same thing when building a website for a school project. I made a menu, but IE wouldn't handle the code I'd written. Searching on the web for a solution, brought me to a site where they explain how to make a horizontal or a vertical drop down menu, using css.
To make a long story short, they use behaviors. I shall not tell you how to handle this. It's much easier to place a link to the pages I uses.
The site contains the tutorial for the menu, with a link to other site you might need.
The behavior can be found on this site with a guide how to use it.
#9
Re: Is there a "A:click" type of thing?
Posted 21 July 2009 - 06:00 AM
a:focus is kind of similar, although the state will remain after the click as well (until the focus has been removed from the anchor).
Although bear in mind this doesn't work IE6 or IE7...
a:focus {
background: red;
}
Although bear in mind this doesn't work IE6 or IE7...
#10
Re: Is there a "A:click" type of thing?
Posted 31 July 2009 - 08:00 PM
Since hovering over a link happens befor you click, why not create a a:hover style. Will this work?
#11
Re: Is there a "A:click" type of thing?
Posted 31 July 2009 - 08:18 PM
Quote
Wish everyone just used FF. *Sigh*
Now what fun would that be? If everyone used the same browser there would be no skill required in web development, everyone would be able to use Dreamweaver because it would make things the way Firefox would always see them and that would be the end of a lot of jobs.
#12
Re: Is there a "A:click" type of thing?
Posted 31 July 2009 - 08:28 PM
It's still a pain.
#13
Re: Is there a "A:click" type of thing?
Posted 01 August 2009 - 07:44 AM
I say if you're not using an up-to-date browser its your fault if you can't look at webpages.
#14
Re: Is there a "A:click" type of thing?
Posted 01 August 2009 - 08:30 AM
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote







|