Register - Login
Views: 99793468
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 05:01:54 AM
Jul - Meta - How I can hide the text like a spoiler? New poll - New thread - New reply
Next newer thread | Next older thread
CruisnEma
Member
Level: 24


Posts: 14/108
EXP: 68669
For next: 9456

Since: 02-01-12


Since last post: 2.8 years
Last activity: 57 days

Posted on 07-15-13 05:39:33 PM Link | Quote
Please, can you tell me how I can hide the text like a spoiler? I've used the string but don't work with the images, I have an image that is a bit big, is better hide it. How i can solve?
Xkeeper

Level: 263


Posts: 21054/25353
EXP: 297138722
For next: 1821731

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 3 days
Last activity: 7 min.

Posted on 07-15-13 05:42:05 PM (last edited by Xkitty at 07-15-13 05:42:33 PM) Link | Quote
You can always link to the image instead of displaying it in-line, e.g.




It's not perfect, but the spoiler stuff needs reworked anyway.


(You'll probably also want to use innocuous text for your link, since the text for that isn't hidden, either. Blah.)

____________________
CruisnEma
Member
Level: 24


Posts: 15/108
EXP: 68669
For next: 9456

Since: 02-01-12


Since last post: 2.8 years
Last activity: 57 days

Posted on 07-15-13 05:52:20 PM Link | Quote
Originally posted by Xkitty
You can always link to the image instead of displaying it in-line, e.g.




It's not perfect, but the spoiler stuff needs reworked anyway.


(You'll probably also want to use innocuous text for your link, since the text for that isn't hidden, either. Blah.)
Ok, now I try, is only for the exapmle image of my thread, thanks.
Arisotura
Member
Level: 49


Posts: 43/614
EXP: 881165
For next: 2718

Since: 02-24-13

From: your dreams

Since last post: 101 days
Last activity: 60 days

Posted on 07-15-13 07:59:01 PM (last edited by Mega-Mario at 07-15-13 07:59:16 PM) Link | Quote
Or you can try the following:

Spoiler contents go here
Image!


Using CSS hackery to achieve it. Of course, it's a bit complex, but for the one post where you need non-text content hidden, it'll work.
(quote this post to see how it's done)

____________________
CruisnEma
Member
Level: 24


Posts: 17/108
EXP: 68669
For next: 9456

Since: 02-01-12


Since last post: 2.8 years
Last activity: 57 days

Posted on 07-15-13 08:36:09 PM Link | Quote
Originally posted by Mega-Mario
Or you can try the following:

Spoiler contents go here
Image!


Using CSS hackery to achieve it. Of course, it's a bit complex, but for the one post where you need non-text content hidden, it'll work.
(quote this post to see how it's done)

I don't know why, but in your post I see always the content of the spoiler also if I haven't opened it and I can't close it.
Arisotura
Member
Level: 49


Posts: 44/614
EXP: 881165
For next: 2718

Since: 02-24-13

From: your dreams

Since last post: 101 days
Last activity: 60 days

Posted on 07-15-13 08:38:36 PM Link | Quote
You must be using a terrible browser then. I tested it on Firefox, Chrome and IE10 and it worked fine.

Also, if you want to use it more than once, you'll need to find the text 'haxcb' in it and replace it with something different for each instance of the spoiler.

____________________
SamEarl13

Nipper Plant
Trying (and failing) to learn Lua.
Level: 43


Posts: 316/419
EXP: 523828
For next: 41218

Since: 02-14-12


Since last post: 4.1 years
Last activity: 17 days

Posted on 07-17-13 07:44:13 PM Link | Quote
Originally posted by Mega-Mario
Or you can try the following:

Spoiler contents go here
Image!


Using CSS hackery to achieve it. Of course, it's a bit complex, but for the one post where you need non-text content hidden, it'll work.
(quote this post to see how it's done)

Mega-Mario your thing is kinda creepy. The show spoiler button ALWAYS opens the one in your original post even when you quote it like this.
Arisotura
Member
Level: 49


Posts: 47/614
EXP: 881165
For next: 2718

Since: 02-24-13

From: your dreams

Since last post: 101 days
Last activity: 60 days

Posted on 07-17-13 08:20:15 PM Link | Quote
Originally posted by Mega-Mario
Also, if you want to use it more than once, you'll need to find the text 'haxcb' in it and replace it with something different for each instance of the spoiler.

That is why. If you quote my post, all the buttons are going to have the same ID ('haxcb'), causing it to always link to the first spoiler.

____________________
Next newer thread | Next older thread
Jul - Meta - How I can hide the text like a spoiler? New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

30 database queries, 4 query cache hits.
Query execution time: 0.094230 seconds
Script execution time: 0.012871 seconds
Total render time: 0.107101 seconds