On 10/01/2021 12:33, Ahem A Rivet's Shot wrote:
> On Sun, 10 Jan 2021 12:15:58 +0000
> The Natural Philosopher wrote:
>
>> So PHP is not equivalent to JavaScript. PHP is fine at interrogating
>> databases and doing a lot of server side stuff, but for popup dialogues
>> and menus that expand you need Javascript.
>
> I thought those could be done in HTML and CSS these days.
>
not really - unless you consider that e.g. onmouseover() or hover: is
not Javascript and even then if you want to unhide some block, you need
to be able to address it via the DOM. So you need a
getElementbyId(x).style.display='block'; and so on.
Cant see how to do that in css. willing to find out
I cant really write a web page the way I want it without javascript
these days. Ok its not a LOT of javascript.
--
“It is hard to imagine a more stupid decision or more dangerous way of
making decisions than by putting those decisions in the hands of people
who pay no price for being wrong.”
Thomas Sowell
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|