Login
Register
Questions
Unanswered
Tags
Users
Ask a Question
Blog
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?
tinybox2
asked
Jun 22, 2012
by
anonymous
Your answer
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
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.
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
[captcha placeholder]
To avoid this verification in future, please
log in
or
register
.
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
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
[captcha placeholder]
To avoid this verification in future, please
log in
or
register
.