English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I'm trying to implement the javascript here:

http://www.javascript-fx.com/submitscripts/fireworks/fireworksPageRandom1/index.html

Problem I'm having is that the script when it fires seems to exceed the width of my CSS frames so that for a split-second the vertical scrollbar appears as the graphics are drawn, then vanishes as the graphics fall away.

Can someone please take a look at the script source and help me figure out how to constrain the width of the graphics effects so that I can confine them to within my frame? In other words, make it so that the graphics don't spill out of the boundaries of my panel.

2007-06-16 17:12:15 · 2 answers · asked by Anonymous in Computers & Internet Programming & Design

2 answers

The variables gx and gy seem to be the key to this.
In the sample code they are set to the width and height of the window.
The code then uses these values to generate a random number but subtracts 150 from the width and height. If there is a problem with the scroll bar then you should look in this area.

2007-06-16 20:27:54 · answer #1 · answered by AnalProgrammer 7 · 0 0

Hire a freelancer from websites like
http://getafreelnacer.com/ for doing it.

2007-06-17 03:40:31 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers