Make any Javascript fit any new size

Sometimes I see great javascripts on the net, but the size is wrong for the space on my web page, either the javascript is too small or too big, it would be great if I could re scale it so that it would fit in the space I have available.

Can we do something to override how big the javascript is, either by saying, make this javascipt, say 90% or 150%, or saying make this javascript 10% smaller or 50% bigger, or say make this javascript fit say this many pixels, say the javascript is 400 pixels high by 200 and we wanted it bigger we would say scale it bigger so it was 500x300.

What I would like is some kind of control, a command of some kind that I could put in so that I could re size any javascript I wanted. I suppose one could go and and re set everything that points to a size, but that's too hard for me, I am a beginner at javascript and re sizing every bit of code would cause problems, I want something that overrides it with a simple command that makes it bigger or smaller so javascripts will fit into whatever size space I have available on a web site.

If anyone can come up with an answer to this, it will make me very happy indeed.
Thank you for any help on the problem.

There are no such things as 'javascript objects' like flash objects in html.
Javascript modifies the html, just like you would with a text editor.
Prewritten programs, as I'm assuming your talking about, have specified certain sizes for the elements they create. Resizing these elements to fix the page would require changing css classes or the image with attributes.
If you have any examples, or a more concrete description, that would be nice.

Dead simple, just change what size it is on the screen, what I dont want is to go over hundreds of line of code and change the size on every element, these examples are small, some scripts could be very large, I want something that can be done easilly to alter the size it is on the screen of the user.

To change the dice-roller's size, simply change the default font-size of the table that contains it.
To do that, find, <table border=2 cellpadding=5> and replace it with <table border="2" cellpadding="5" style="font-size: 12px"> To resize the memory game, it's slightly more complex.
Try adding this to the script tags (right after the game):

Thanks for your input, I'm really looking at a general fix for any javascript, I used these as examples, but it could be anything at all, otherwise you have to keep re inventing the wheel, I want something that I can do or add to 'any' javascript, is this possible?

I had thought of perhaps using an iframe, I recall using one years ago I think I remember re sizing the content, I cant remember if it was a simple command in % or if it was a size in width and length, Id have to dig the code out from the site, though perhaps I'm wrong and you couldn't change the scale it was shown on your own web page, I cant really remember.

Whatever the solution I want something easy to add across multiple javascripts, a uniform solution to the problem.

Sorry, but that really can't be done unless your working with flash objects.
You might wish to try writing your own javascript scripts, but using others won't get you far.
To resize stuff, if it's text, you can use the css font-size selector, and images, skew to width and height, but there is no "catchall" resize that you can do to an object in an document.
I'd recommend learning CSS though, and that might help you immensely.
Take a look at Learning PHP CSS / HTML