Connecting Tech Pros Worldwide Forums | Help | Site Map

DHTML code all of a sudden not working..

Frances Del Rio
Guest
 
Posts: n/a
#1: Jul 23 '05
please, can you go to
http://www.francesdelrio.com/dhtml/

when you click the name of the character the font color for all the
lines of that character should change.. this is a simple DHTML
memo... but I find that none of the JS or DHTML code is working at
all on page... if I download page and view it locally the JS & DHTML
code work fine, I don't understand this.. I'm very anxious b/c I just
submitted this page as a demo for a web-design position; I can't make
any corrections now, do not have a computer at home right now, all I
can do is view the code... I composed this page about 3 yrs ago, have
not changed much on it since then.. can't understand why this is
happening all of a sudden.. again, if I download page and view it
locally DHTML code works fine.. this is very weird (same thing is
happening on http://www.francesdelrio.com/dhtml/sonnets.html) I'm at
the public library, maybe there's a weird config they have..
would very much appreciate a response by e-mail, fdr58@yahoo.com, my
access to usenet is very limited, just want to know if JS/DHMTL code
on these page works for you... thank you very much.. Frances

Ivo
Guest
 
Posts: n/a
#2: Jul 23 '05

re: DHTML code all of a sudden not working..


"Frances Del Rio" wrote[color=blue]
> please, can you go to
> http://www.francesdelrio.com/dhtml/
>
> when you click the name of the character the font color for all the
> lines of that character should change.. this is a simple DHTML
> memo... but I find that none of the JS or DHTML code is working at
> all on page... if I download page and view it locally the JS & DHTML
> code work fine,[/color]

I viewed it online and all was just fine.
Though it shouldn't. Reading a line like var tags =
eval('document.getElementById(' + "tag_id" + ')') just hurts my eyes. Please
see some FAQs.
[color=blue]
> I don't understand this..[/color]

I'm very anxious b/c I just[color=blue]
> submitted this page as a demo for a web-design position; I can't make
> any corrections now, do not have a computer at home right now, all I
> can do is view the code...[/color]

That 's what Hamlet said.
[color=blue]
> I composed this page about 3 yrs ago, have
> not changed much on it since then.. can't understand why this is
> happening all of a sudden.. again, if I download page and view it
> locally DHTML code works fine.. this is very weird (same thing is
> happening on http://www.francesdelrio.com/dhtml/sonnets.html) I'm at
> the public library, maybe there's a weird config they have..
> would very much appreciate a response by e-mail, fdr58@yahoo.com, my
> access to usenet is very limited, just want to know if JS/DHMTL code
> on these page works for you... thank you very much.. Frances[/color]

Your pages look very good but I would expect a more intuitive approach, both
on the user side and in the code. Browser detection, needless repetitition,
font tags and evil eval... http://www.jibbering.com/faq/ had them already 3
years ago iirc.
I would imagine a page where all paragraphs with a certain className (like
http://4umi.com/gibran/satan/ ) or starting with a certain string (a
character's name) change their appearance when I clech or uncheck a checkbox
or doubleclick a paragraph (any), to make a good ranking when submitted for
a web-design position. In particular, I miss the ability to turn Laertes off
while keeping Hamlet coloured (or vice versa). Click here to do this, click
there for something else... it takes up to much space on a page where the
script and everything is aimed at bringing Shakespeare and the user closer
together.

HTH
Ivo
--
The rest is silence.
http://www.hamlet.shakespearians.com/


Ron
Guest
 
Posts: n/a
#3: Jul 23 '05

re: DHTML code all of a sudden not working..


Frances Del Rio wrote:
[color=blue]
>please, can you go to
>http://www.francesdelrio.com/dhtml/
>
>when you click the name of the character the font color for all the
>lines of that character should change.. this is a simple DHTML
>memo... but I find that none of the JS or DHTML code is working at
>all on page... if I download page and view it locally the JS & DHTML
>code work fine, I don't understand this.. I'm very anxious b/c I just
>submitted this page as a demo for a web-design position; I can't make
>any corrections now, do not have a computer at home right now, all I
>can do is view the code... I composed this page about 3 yrs ago, have
>not changed much on it since then.. can't understand why this is
>happening all of a sudden.. again, if I download page and view it
>locally DHTML code works fine.. this is very weird (same thing is
>happening on http://www.francesdelrio.com/dhtml/sonnets.html) I'm at
>the public library, maybe there's a weird config they have..
>would very much appreciate a response by e-mail, fdr58@yahoo.com, my
>access to usenet is very limited, just want to know if JS/DHMTL code
>on these page works for you... thank you very much.. Frances
>
>[/color]
Heya Frances,
Both pages work fine for me. It is probable that the public computers
have scripting disabled as a security measure. :)
Closed Thread


Similar JavaScript / Ajax / DHTML bytes