[Javascript] Javascript fontsize control from external page

Barry Conner BConner at huntsvilletx.gov
Mon Oct 2 15:40:17 CDT 2006


Thank you Mike.
 
I do appreciate your attempt to help me, particularly with no more than I gave you to work with.  
 
I only said it <<may>> be sloppy, just knowing my inexperience - not how to improve on it.  I did the best I knew how.  
 
I don't have a website to post it to, but only a local intranet.  Frames was the best way I knew to build the Web-based application interface I'm doing.  Only the main frame is needed for navigation, so the control bar at the top seemed like a good way of providing a static set of tools which could always act on the main frame.
 
Again, thanks!
 
Barry

 
________________________________

From: javascript-bounces at LaTech.edu on behalf of Mike Dougherty
Sent: Mon 2006-10-02 9:39 AM
To: [JavaScript List]
Subject: Re: [Javascript] Javascript fontsize control from external page



On Mon, 2 Oct 2006 09:08:36 -0500
  "Barry Conner" <BConner at huntsvilletx.gov> wrote:
> I'm appending the code from the control bar to this email.  It may be pretty sloppy, but I'm a
>novice.
>
> Here's the code:

"... but I'm a novice" is a poor excuse.  If you know enough to warn us that it's sloppy, then you
know you could have done differently to begin with.  I only point this out because the habits you
develop when you're a novice turn into the bad behaviors of a veteran.  Making the time to write
cleanly readable and easily managed code is equally important as making the code work.  It might
not seem that way now, but consider what pain you will suffer after a year of writing sloppy code.
 You know it will be your job to add/change a feature, and it's unlikely you will remember the
current context in the future.  OK, enough public service announcement.  This is general advice,
not intended to pick on Barry.

also a reminder:  If you can post a URL to your example, it saves us from having to set up a test
for your code.  I admit to being either too lazy or too busy to do that much set up in order to
find problems.  Again, this is general advice.  :)

To actually offer some help to Barry: <q type='rhetorical'>Why are you using frames?</q>
   If you can get the code to run inside the frame?  I assume you have control over the source
inside the frame.  Put the font resize code there.  Look up the syntax to call the method inside
the frame rather than in the controlbox. (I don't know it, I avoid frames)  Sorry I can't be more
useful to you than general advice and a shot in the dark.  :)
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 6364 bytes
Desc: not available
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20061002/6281fc5a/attachment.bin>


More information about the Javascript mailing list