The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

I want to create a bbcode to insert an html code

View previous topic View next topic Go down

I want to create a bbcode to insert an html code

Post by Zamasu on November 18th 2016, 6:08 pm

Technical Details


Forum version : #PunBB
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome, Internet Explorer, Opera, Safari, Other
Screenshot of problem : donthaveimg.com/noimg.png
Who the problem concerns : All members
Forum link : http://dragonballlegend.foroac.com/

Description of problem

Hello!

How are you!

i made this html code.

Code:
<div style="text-align: center; width: 750px;" class="tutoimg">
  <img alt="" src="imglinkhere" style="border-bottom: 2px solid #de861a!important; border-top-left-radius: 5px!important; border-top-right-radius: 5px!important; width: 750px!important; max-width: 750px!important;" />
  <p style="width: 750px; background: rgba(0, 0, 0, 0.32); margin: 0px; padding-top: 3px; color: #5f6478; padding-bottom: 3px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;">
      imgdescriptionhere
  </p>
</div>

And i want to make a bbcode like this :



and when u press insert, the button will insert the code with the imglink and description.

is posible to do that ? how ? and... is posible t mke the div autoresize to the image size ?

Thank you very much!
avatar
Zamasu
New Member

Posts : 5
Reputation : 1
Language : spanish

http://dragonballlegend.foroac.com/

Back to top Go down

Re: I want to create a bbcode to insert an html code

Post by Zamasu on November 20th 2016, 6:34 pm

up bump up
avatar
Zamasu
New Member

Posts : 5
Reputation : 1
Language : spanish

http://dragonballlegend.foroac.com/

Back to top Go down

Re: I want to create a bbcode to insert an html code

Post by Ace 1 on November 21st 2016, 3:34 pm

You want this to work for the image SCEditor button?

avatar
Ace 1
Helper
Helper

Male Posts : 796
Reputation : 52
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Re: I want to create a bbcode to insert an html code

Post by Zamasu on November 23rd 2016, 12:13 am

@Ace 1 wrote:You want this to work for the image SCEditor button?


i want to add a extra button.
avatar
Zamasu
New Member

Posts : 5
Reputation : 1
Language : spanish

http://dragonballlegend.foroac.com/

Back to top Go down

Re: I want to create a bbcode to insert an html code

Post by Zamasu on November 27th 2016, 7:26 pm

up bump up
avatar
Zamasu
New Member

Posts : 5
Reputation : 1
Language : spanish

http://dragonballlegend.foroac.com/

Back to top Go down

Re: I want to create a bbcode to insert an html code

Post by Zamasu on December 6th 2016, 3:52 pm

up bump up
avatar
Zamasu
New Member

Posts : 5
Reputation : 1
Language : spanish

http://dragonballlegend.foroac.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum