Dynamic websites?

can ruby be used to create dynamic web pages? for example, using ruby to
create rollover images rather than javaScript

No.

Jonathan D. wrote:

can ruby be used to create dynamic web pages? for example, using ruby to
create rollover images rather than javaScript

That happens in the browser. Browsers understand JavaScript, but not
Ruby.

There are Ruby tools that will generate the needed JavaScript, though.


James B.

“I have the uncomfortable feeling that others are making a religion
out of it, as if the conceptual problems of programming could be
solved by a single trick, by a simple form of coding discipline!”

  • Edsger Dijkstra

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonathan D. wrote:
| can ruby be used to create dynamic web pages? for example, using
| ruby to create rollover images rather than javaScript

Please explain “to create rollover images”. Thank you.

Jupp

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFOUuirhv7B2zGV08RAj5hAJ485mPcXpzPqAhub3eRGzg7wxhhTACg5Wz1
pmsKl7WSkCgylBZ2g63DsJk=
=8RpR
-----END PGP SIGNATURE-----

Jonathan D. wrote:

can ruby be used to create dynamic web pages? for example, using ruby to
create rollover images rather than javaScript

In order for server-side code to roll images over, it would have to push
new
content. This isn’t how browsers normally work, although they can be
forced
to do it (using, for example a META timeout tag). But this seems to be
bending over backward to avoid the obvious JavaScript solution.

Jonathan D. wrote:

can ruby be used to create dynamic web pages? for example, using ruby to
create rollover images rather than javaScript

Mildly (more) OT, I wouldn’t use Javascript for this purpose. If you
need button highlights, use CSS and the :hover metaselector, give or
take wrapped in a bogus link while IE6 slowly phases out of existence
(FINALLY!)

David V.