TINY.box.fill attributes?

In the example script 'advanced.html' there is a call to TINY.box.fill('ajax.html',1,0,1). I would like to know that the additional attributes are for after the obvious ajax.html url.  I'm assuming they are binary for something but don't know what?
asked Jun 22, 2012 by anonymous

2 Answers

0 votes

 

  • the HTML content for the box or the relative path to the AJAX source
  • a toggle (true/false or 1/0) if the content is via AJAX
  • the width of the window (use 0 for auto)
  • the height of the window (use 0 for auto)
  • a toggle (true/false or 1/0) to animate the window
answered Jun 23, 2012 by Michael (5,600 points)
Hmmm, seems there are only 4 attributes, not 5. are width and height supposed to be 1 attribute?
Which version of the script are you using? TinyBox2?
Yes, I'm using Tinybox2.
0 votes
Looking at the js, it appears there's 6 arguments:

1. URL

2. A flag for AJAX (true/false)

3. A flag for POST or GET (true/false respectively)

4. Not sure what the 4th argument is for, I presume it's for animating

5. Width

6. Height
answered Jul 3, 2012 by anonymous