"Pavel Vetesnik" <Pa*******@volny.cz> wrote in message
news:be***********@ns.felk.cvut.cz...
Hello,
my question is probably quite stupid, but I really don't know how to solve
it.
I have code like this:
===============================================
<button title="Osobní nastavení (jméno a heslo)"
onClick="window.location.href='el_cas.Funkce.edita ce_uzivatele([el_cas.el_ca sopisy.zacatek?cDruhAplikace=casopisy])'">My setup</button>
===============================================
The problem is, that I have double paranthesis (") surrounding the onClick
reference, inside of them are single paranthesis (') and now I need
another ones for passing parameter of the function.
In the example above it is surrounded by ([]) marks. That doesn't work on
HTML page, of course.
Please can you help me with this?
Thank you in advance!
Pavel
There are three kinds of parentheses, the primary one is ( and ), the
secondary is [ and ], and the tetriary one is { and }.
But you are using quotes. There is just the two, the primary double
quote -- " and the secondary single quote, or the quote within a quote, '.
I find it odd that you would need a third quote, since nobody else in the
world has found a need for one.
Where you have marked what you would want to put in the tetriary quotes, the
non-existent ones, doesn't even need quotes as it is enclosed in
parentheses.
However, Javascript has a little problem where it is turned off in ~15% of
people's PCs and some browsers just outright don't allow Javascript, so
there could be 20% if not more of your viewers will be very frustated by
your persistent use of buttons that do things that a simple <a
href="2nd-page.html"> could do, or a <a href="2nd-page.html"><img
src="button-decoy.gif" border="0"></a>.
See?