Page 1 of 2

Popup BBCode

Posted: 09 Mar 2010, 07:03
by BBCode Bot
Popup BBCode

Author: djgalix
Description: Show your link in a popup. You can fully set the popup, size, scrollbar, menu, etc...
Attachment:
popup.zip
Download zip and don't forget to place "backblack.png" and "play.gif" in root/images

BBCode:

Code: Select all

[Popup]{TEXT},{URL}[/Popup]
HTML:

Code: Select all

<table width="165" height="70" border="0" cellpadding="0" cellspacing="0" style="text-align: center;">
<tr>
<td background="./images/backblack.png" width="165" height="70">
<font color="#FFFFFF">{TEXT}</font><br>
<input type="image" src="./images/play.gif" title"{URL}" onclick="window.open('{URL}','','width=500,height=500,left=50,top=50,resizable=no,scrollbars=yes,toolbar=yes,menubar=yes,location=no,status=no')" type="button">
</tr></td>
</table>
Helpline:

Code: Select all

[Popup]Text and Url[/Popup]
Example:

Code: Select all

[popup]Google,http://www.google.com[/popup]
Demo:
[popup]Google,http://www.google.com[/popup]

Re: Popup BBCode

Posted: 15 Mar 2010, 12:06
by wide
Hello,seems such a nice code,
but doesn't work for me,
I just see this:
[Popup]http://www.harley-heaven.com/[/Popup]

Re: Popup BBCode

Posted: 15 Mar 2010, 12:16
by Stoker
I have edited first post and added an example.
You have to use both text and link

Re: Popup BBCode

Posted: 15 Mar 2010, 12:27
by wide
Thank you,
that makes it more clear.
It's just that one of the pix isn't working.....
preview.jpg

Re: Popup BBCode

Posted: 15 Mar 2010, 12:44
by Stoker
Make sure that both images is uploaded to the images folder.
The try posting this and see if i works:

Code: Select all

[popup]Google,http://www.google.com[/popup]

Re: Popup BBCode

Posted: 15 Mar 2010, 12:47
by wide
I'm getting the same result...

Re: Popup BBCode

Posted: 15 Mar 2010, 12:50
by Stoker
Which means that you are missing this image: Image
Please post a link to a topic where you are using this bbcode.

Re: Popup BBCode

Posted: 15 Mar 2010, 12:56
by wide
Oke,here it is.
And a screendump of both the images...

http://www.harley-heaven.com/forum/view ... =30&t=1761
here.jpg
here.jpg (10.42 KiB) Viewed 10922 times

Re: Popup BBCode

Posted: 15 Mar 2010, 14:51
by Stoker
This is the direct link to the image: http://www.harley-heaven.com/images/play.gif
as you can see its not there.

Re: Popup BBCode

Posted: 15 Mar 2010, 14:56
by wide
Neither is the other pic,but that we can see.
http://www.harley-heaven.com/images/backblack.png