jamesfarrell129
Joined: Dec 23, 2009
|
  Posted:
Dec 03, 2014 - 13:08 |
|
easilyamused wrote: | Yeah it is, the code would be
[url=*url here*][img title=*hover text*]*image location*[/img][/url] |
Thanks, I've got that working... I'm just trying to cut down my code a bit using the icon tag, but that doesn't seem to accept a title. So:
[icon title=*hover text*]*icon name*[/icon]
is what I'm trying to do, but no joy... |
_________________ NAF name: sandwich |
|
mister__joshua
Joined: Jun 20, 2007
|
I've never heard of the icon tag. What does that do that image doesn't? |
_________________ "Yeah, well, you know, that's just, like, your opinion, man." - The Dude
Mr. J's LRB7 / Forum |
|
jamesfarrell129
Joined: Dec 23, 2009
|
  Posted:
Dec 03, 2014 - 13:21 |
|
mister__joshua wrote: | I've never heard of the icon tag. What does that do that image doesn't? |
Code: | [img]/FUMBBL/Images/PlayerIcons/cbeastman1.gif[/img] |
==> [icon]cbeastman1[/icon]
Just uses less characters... I'm lazy like that |
_________________ NAF name: sandwich |
|
Rabe
Joined: Jun 06, 2009
|
  Posted:
Dec 04, 2014 - 07:41 |
|
I think that when Christer introduced the tag he explicitly stated that there's no way to add attributes to it. Just the plain icon. |
_________________ .
|
|
jamesfarrell129
Joined: Dec 23, 2009
|
  Posted:
Dec 04, 2014 - 10:43 |
|
Rabe wrote: | I think that when Christer introduced the tag he explicitly stated that there's no way to add attributes to it. Just the plain icon. |
Ah... never mind. I can still do what I want by using [img], and can use the [icon] in places where I don't need extra text. |
_________________ NAF name: sandwich |
|
jamesfarrell129
Joined: Dec 23, 2009
|
  Posted:
Jan 06, 2015 - 12:17 |
|
Not getting answers on the BBCode Wonders thread so I'll try here in hope...
So my grand plans for a bio were a map screen, with clickable bits bringing up an overlay. I tried with a background image but just couldn't line up other bits as I wanted... so instead I made the image, chopped it up, and put links in where I wanted.
So it currently looks a bit like this.
I'd really like to have mouse-over text on the toggle images, so you have an idea of what you're clicking on, but that doesn't seem to be an option... so its a bit of a blind click-and-see approach. Maybe that fits better with goblins anyway?
I still need to put more content in for some of the sub-screens, which is where my most recent questions come from. The graveyard needs to be done; I'd love to add slightly transparent versions of the player icons (like little ghosts!) but I don't know if that is possible, without creating and uploading the images myself...
Finally, I'd like to make some of the bits I do have better; The match history will probably change into a clickable loop (like the Did You Know). But the 'opponents' table is a problem, its got a dirty white background which I don't like, and its too long... Is it possible to get scrolling panels? And/or tables with a transparent background? |
_________________ NAF name: sandwich |
|
Kam
Joined: Nov 06, 2012
|
  Posted:
Jan 07, 2015 - 13:48 |
|
Mouse-over text on the toggle images: hasn't Christer added an option to make it possible? I believe I've read something about it, but I'm not sure. Otherwise, no, the "title" option doesn't work.
Transparency: nope, you can't do it with bbcode. You have to create new transparent images.
Scrolling panels: that one is tricky. The short answer is "no, you can't". The long answer is... yes, maybe, but it's gonna be hackish as hell, and probably won't be rendered the same way by every browser (IE vs the rest of the world). I've had unwanted scrollbars around blocks in the past, so I guess you could try to reproduce the bug on purpose and call it a feature (MS way ). I can't tell you exactly how and when it occurs, but it's related to blocks too long for its parents and block(s)=floatcontainer too low in the blocks hierarchy (only for IE, this one). Good luck trying to figure it out. However, you could start working with this base:
Code: |
[block width=500px height=800px]\
[block=floatcontainer]\
[block=floatleft width=500px]\
More than 400px blablabla
[/block]\
[block=floatright width=500px]\
More than 400px blablabla2
[/block]\
[/block]\
[/block]\
|
that may do it. But try this first, we never know:
Code: |
[block height=500px]Insert a test larger than 500px in height.[/block]\
|
That may work after all.
Tables with a transparent background: have you tried without specifying a bg color?
Also, one advice: you should use JPGs instead of PNGs. The quality will be lower, bit no one should notice it, and the loading time will decrease drastically. The bio of the Sammiches still takes a long time to load for instance, but it was 100 times worse with PNGs (plus, it will save the site's bandwidth).
Otherwise, I like the concept. I may even steal the idea of a merchandise shop - that's a great one.
EDIT - Actually, I see you've managed to use a bg picture for a block/table - I'm VERY interested in the code, if you want to share it. |
_________________ GLN 17 is out!
|
|
zakatan
Joined: May 17, 2008
|
  Posted:
Jan 07, 2015 - 14:21 |
|
yup, great bio! Don't forget to submit the code to the BBCode Wonders thread when you're done! |
_________________
|
|
jamesfarrell129
Joined: Dec 23, 2009
|
  Posted:
Jan 09, 2015 - 20:31 |
|
Thanks for the replies.
I've not been able to update images since they're on my work PC and I've been off sick the last few days.
I've tried out various things for mouse-over on toggle images and they definitely don't work.
The transparency was for the player's bit, was going to have dead players transparent as ghosts I may still add that but it'll mean taking the icons and uploading transparent versions so its low priority for now.
I've had a bit more of a play around trying to get scrollbars but again, nothing doing. I use a MacBook and Linux at work, so doing an IE hack isn't going to work for me I've re-worked the bits to have 'tabs' with navigation arrows and I think it looks better anyway.
Kam wrote: | Tables with a transparent background: have you tried without specifying a bg color? |
Unfortunately if you don't specify a bg it gives a white background. I also tried bg=none but that didn't work either
Quote: | Otherwise, I like the concept. I may even steal the idea of a merchandise shop - that's a great one. |
Steal away - I think the DYK code is lifted straight from stuff you did
Quote: | EDIT - Actually, I see you've managed to use a bg picture for a block/table - I'm VERY interested in the code, if you want to share it. |
I've got a background image for the sub-pages, if that's what you mean? mister_joshua posted up somewhere about how to do that, I just copy-pasted it. The only table I've got now is the player's list, and having played around with it a bit this evening that will have to change as if I get extra icons on there it looks rubbish (i.e. without a complete line it just gets a load of empty white space)
I'll post up the code to share when its complete (or more complete), hopefully some time next week. |
_________________ NAF name: sandwich |
|
Khor_Varik
Joined: Jul 13, 2005
|
  Posted:
Jun 11, 2015 - 20:02 |
|
Does someone know what are the fonts available with BBcode? Only basic ones I guess, but which ones? |
|
|
Kam
Joined: Nov 06, 2012
|
  Posted:
Jun 11, 2015 - 20:37 |
|
Like any web page: any font the visitor has on his computer. Else it reverts to the some default font. So yeah, stick to the fonts shipped with Windows (Linux users can easily install them, and they also have free alternatives - no clue about Mac users). |
_________________ GLN 17 is out!
Last edited by Kam on %b %11, %2015 - %21:%Jun; edited 2 times in total |
|
Khor_Varik
Joined: Jul 13, 2005
|
  Posted:
Jun 11, 2015 - 20:48 |
|
Ohh, it works like that
Thanks for your help, Kamy! |
|
|
MDeLarge
Joined: Aug 07, 2013
|
  Posted:
Sep 03, 2015 - 11:55 |
|
|
MDeLarge
Joined: Aug 07, 2013
|
  Posted:
Sep 03, 2015 - 11:56 |
|
How can I separate a pair of spaces (maybe 7 px) the picts from the left margin in this table?:
[block=hidden group=text id=text2][block=blackborder border1 pad4 width=650px bg=#6CC417][size=11][color=BA55D3]
[url=https://fumbbl.com/p/player?op=view&player_id=10567859][img]https://fumbbl.com/FUMBBL/Images/PlayerIcons/rtbeast1.gif[/img]Taintworm Spikeplague[/url][/color][/size]: Stand Firm, Guard, Block, Grab
[size=11][color=BA55D3][url=https://fumbbl.com/p/player?op=view&player_id=10557356][img]https://fumbbl.com/FUMBBL/Images/PlayerIcons/rtpestigor4.gif[/img]Mangeslobber Waterfester[/url][/color][/size]: Block, +MA, +MA, Sure Hands, Two Heads
[size=11][color=BA55D3][url=https://fumbbl.com/p/player?op=view&player_id=10550256][img]https://fumbbl.com/FUMBBL/Images/PlayerIcons/rtpestigor1.gif[/img]Scratchdread Hackmad[/url][/color][/size]: Block, Mighty Blow, Tackle, Claw, Piling On, Two Heads
[size=11][color=BA55D3][url=https://fumbbl.com/p/player?op=view&player_id=10550227][img]https://fumbbl.com/FUMBBL/Images/PlayerIcons/rtrotter1.gif[/img]Fouldog Bloodfoam[/url][/color][/size]: Mighty Blow, Block, Claw, Guard, Tentacles
[size=11][color=BA55D3][url=https://fumbbl.com/p/player?op=view&player_id=10573751][img]https://fumbbl.com/FUMBBL/Images/PlayerIcons/rtpestigor1.gif[/img]Maulsuck Tremblerot[/url][/color][/size]: Block, Mighty Blow, Claw, Tackle, Piling On, +AG
[size=11][color=BA55D3] [url=https://fumbbl.com/p/player?op=view&player_id=10610988][img]https://fumbbl.com/FUMBBL/Images/PlayerIcons/rtrotter3.gif[/img]Sinewwater Spikered[/url][/color][/size]: Mighty Blow, Claw, Block, Piling On, Guard
[size=11][color=BA55D3][url=https://fumbbl.com/p/player?op=view&player_id=10626391][img]https://fumbbl.com/FUMBBL/Images/PlayerIcons/rtpestigor2.gif[/img]Sharpsting Coldspike[/url][/color][/size]: Block, Jump Up, Mighty Blow, Piling On
[size=11][color=BA55D3][url=https://fumbbl.com/p/player?op=view&player_id=10609097][img]https://fumbbl.com/FUMBBL/Images/PlayerIcons/rtrotter4.gif[/img]Dogplague Blisterkill[/url][/color][/size]: Mighty Blow, Claw, Block, Guard[/block][/block] |
|
|
Badoek
Joined: May 17, 2009
|
  Posted:
Sep 08, 2015 - 11:35 |
|
I couldn't find it anywhere but is it possible to give links some other colour than black? |
_________________
|
|
|
| |