this not working fancybox

Get help developing custom BBCodes or request one.
Post Reply
User avatar
oakhearted
Registered User
Posts: 22
Joined: Tue Apr 16, 2019 10:10 am
Location: Queensland, Australia
Name: Cheyne Mayfield
Contact:

this not working fancybox

Post by oakhearted » Sun Jun 09, 2019 5:03 am

i want a make a fancybox where you can kinda code html with a bbcode
BBCODE USAGE:

Code: Select all

[fancypost={COLOR}; color={COLOR3} padding={NUMBER}; border={SIMPLETEXT}; bordercolor={COLOR2}; ]{TEXT}[/fancypost]
HTML REPLACEMENT:

Code: Select all

<div style="background-color: {COLOR}; color: {COLOR3}; padding: {NUMBER}; border: {SIMPLETEXT}; bordercolor={COLOR2}">{TEXT}</div>
HELP LINE:

Code: Select all

fancypost element test
but this wont work?
just shows up with this

Code: Select all

[fancypost=#eee; color=#555; padding=1px; border=1px solid; bordercolor=#999;]hi[/fancypost]
I do html and css coding,
Check out my website hewan while you're here!
http://hewan.altervista.org/
and my friend's site too!
http://cranterns.epizy.com/main/

User avatar
AmigoJack
Registered User
Posts: 5616
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: this not working fancybox

Post by AmigoJack » Sun Jun 09, 2019 10:28 am

1px is not a number.
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

User avatar
oakhearted
Registered User
Posts: 22
Joined: Tue Apr 16, 2019 10:10 am
Location: Queensland, Australia
Name: Cheyne Mayfield
Contact:

Re: this not working fancybox

Post by oakhearted » Fri Jun 14, 2019 10:01 am

AmigoJack wrote:
Sun Jun 09, 2019 10:28 am
1px is not a number.
still doesnt work...
I do html and css coding,
Check out my website hewan while you're here!
http://hewan.altervista.org/
and my friend's site too!
http://cranterns.epizy.com/main/

User avatar
AmigoJack
Registered User
Posts: 5616
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: this not working fancybox

Post by AmigoJack » Fri Jun 14, 2019 10:17 am

=#999;]hi does not correspond to ={COLOR2}; ]{TEXT} since at least a space is missing. Looking at how the QUOTE-BBCode works I don't get why you separate parameters with semicolon at all, let alone having one plus space at the end. And redefining a border color that one is already able to provide thru the previous parameter.

Without having it tested I'd define the BBCode this way:

Code: Select all

[fancypost={COLOR} color={COLOR3} padding={NUMBER} border={SIMPLETEXT}]{TEXT}[/fancypost]
and use it this way:

Code: Select all

[fancypost=#eee color=#555 padding=1 border=1px solid #999]hi[/fancypost]
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

Post Reply

Return to “Custom BBCode Development and Requests”