HTML how-to guide for customization of your sniff.

Old announcement of past promotion rounds and updates to Wolfhome.
User avatar
Aspenn
Pack Initiate
Pack Initiate
Posts: 532
Joined: Fri Jun 06, 2014 3:28 pm
Gender: Female
Pronouns: She/Her
Species: Horse
Location: Alberta, Canada

Pride

criminals wrote:mmmmarking this

Image
Image
Aspen on chats.
Aspen#1625

Deviant Art | Commissions | Characters

User avatar
Gunmetal
Spirit Guide - Wise Healer
Spirit Guide - Wise Healer
Posts: 3816
Joined: Sat Jul 19, 2008 9:43 am
Gender: Non-binary
Pronouns: They/She
Preferred Name: Ink
Species: Fox hybrid

Pride

Is it possible to use HTML5 and CSS3 in sniff coding?
Image
& ʏᴏᴜ'ʀᴇ ʀᴜɴɴɪɴɢ ᴛᴏ ᴛʜᴇ sʜᴏʀᴇ, ʜᴏᴡʟɪɴɢ ᴀᴛ ᴛʜᴇ ᴡᴀᴠᴇs
ʜᴏᴡʟɪɴɢ ʙᴀᴄᴋ ᴀᴛ ʏᴏᴜ
User avatar
Invernu
Pack Initiate
Pack Initiate
Posts: 824
Joined: Fri Jun 08, 2012 12:53 pm
Gender: Female
Pronouns: She/Her
Preferred Name: Jaxx
Species: Canid

Pride

Anyone know the code {I know its some sort of table code} to have different [clickable] tabs/sections?
Invernu/Pandora on chats


===


https://toyhou.se/Arvoh
User avatar
Invernu
Pack Initiate
Pack Initiate
Posts: 824
Joined: Fri Jun 08, 2012 12:53 pm
Gender: Female
Pronouns: She/Her
Preferred Name: Jaxx
Species: Canid

Pride

How do you get text on one side of your sniff and an image on the other?
Invernu/Pandora on chats


===


https://toyhou.se/Arvoh
User avatar
Feisu
Adept Protector
Adept Protector
Posts: 1390
Joined: Mon Jan 10, 2011 3:48 pm
Gender: Male
Pronouns: He/Him
Preferred Name: Felix
Species: Skeletal Automaton
Location: The Classiest Old Folks Home
Contact:

marks

Image
No Longer Active
Can be contacted via FurAffinity or Twitter


User avatar
vereena
Spellweaver and Wordsmith
Spellweaver and Wordsmith
Posts: 5846
Joined: Wed Feb 27, 2019 4:08 pm
Pronouns: she
Preferred Name: morgan
Species: kind bean

Pride

markin
Image
these things eat at your bones and drive your young mind crazy
User avatar
Boreas
Spirit Guide - Wise Healer
Spirit Guide - Wise Healer
Posts: 3031
Joined: Sun Mar 16, 2014 9:03 pm

HOW DO MAKE SNIFF OPEN AT SPECIFIC W X H DEMINSIONS
THANKS
Image
VESSEL
Omniscient
Omniscient
Posts: 27613
Joined: Sat Nov 13, 2010 7:58 pm

Jakiss wrote:How do you get text on one side of your sniff and an image on the other?
Lmk if you still need to know this
Boreas wrote:HOW DO MAKE SNIFF OPEN AT SPECIFIC W X H DEMINSIONS
THANKS
I got you I'll post this in a moment
User avatar
Skellington
Shaman - Secret Keeper
Shaman - Secret Keeper
Posts: 2225
Joined: Tue Dec 08, 2009 3:38 pm
Pronouns: he/him
Species: Dingus
Location: Halloween Town

Marking!!! I've always been super bad at making fancy sniffs so this will be great
VESSEL
Omniscient
Omniscient
Posts: 27613
Joined: Sat Nov 13, 2010 7:58 pm

sorry me forgot

window size

Code: Select all

<body text="#000000" bgcolor="#8285a3" onload="window.resizeTo(1000,900);">
i have all of these grouped together n the text and color doesnt work anyway BUT YOU JUST CHANGE THE VALUES IN THE PARENTHESES TO CHANGE THE WIDTH AND HEIGHT OF THE BOX

image column

Code: Select all

<p style="width: 900px;"> <img src="image link here" style="float: left;" /> body paragraph words </p>
if you want it to align on the right you can just change the float from left to right
if you want a lot of text to be parallel with the image i'd pick a long image so that it will fit, bc after it exceeds the image height it will go below it


both of these are in my current sniff if you want to sniff me and see how i use them
VESSEL
Omniscient
Omniscient
Posts: 27613
Joined: Sat Nov 13, 2010 7:58 pm

to change the colors of your links in your sniff, use the style aspect

Code: Select all

<a href "link" style="color" > link text </a>
i.e.

Code: Select all

<a href "www.wolfhome.com" style="#808080" > Wolfhome.com! </a>
User avatar
Boreas
Spirit Guide - Wise Healer
Spirit Guide - Wise Healer
Posts: 3031
Joined: Sun Mar 16, 2014 9:03 pm

HOW DO MAKE ERRYTHING (incl. idle time, text at bottom, etc) SPECIFIC FONT
THANK
Image
User avatar
Rukha
Pack Initiate
Pack Initiate
Posts: 322
Joined: Sun Oct 18, 2015 8:25 pm
Gender: Female
Pronouns: Her/She
Preferred Name: Rukha
Species: Canine/Mix
Location: USA, KY
Contact:

Yeah, I need help. I tried every code but nothing is working.
I just need something to cover the TOP and BOTTOM of my sniff. i would like an image as my background.. the code I had does that BUT I could not change font color/font size etc...

HELP!! ;u;

Image
26 Years Young | Digital Artist | Coffee | Console gamer

VESSEL
Omniscient
Omniscient
Posts: 27613
Joined: Sat Nov 13, 2010 7:58 pm

Rukha wrote:
Mon Jul 23, 2018 7:28 pm
Yeah, I need help. I tried every code but nothing is working.
I just need something to cover the TOP and BOTTOM of my sniff. i would like an image as my background.. the code I had does that BUT I could not change font color/font size etc...

HELP!! ;u;
this is the code i use (without the idle time showing)

Code: Select all

<body text="#000000" bgcolor="#8285a3" onload="window.resizeTo(760,650); var trs=document.getElementsByTagName('tr'); for (var i=0; i<trs.length; i++) { var current = trs[i]; content=current.firstElementChild.innerHTML; if (content!=='Idle Time:') { current.style.display='none'; } else { spoiler=document.getElementById('spoilerMain'); spoiler.insertBefore(current, spoiler.firstChild); } }">
<body style="background-image:url(DIRECT BACKGROUND URL HERE); background-attachment:fixed; background-size:cover; background-position:fit; text-align:center; visibility:hidden; overflow-y:auto;">
remove onload="window.resizeTo(760,650); to keep the default window size or edit the variables in parentheses to get the window size you want

with idle time showing

Code: Select all

<body text="#000000" bgcolor="#8285a3" onload="window.resizeTo(760,650); var trs=document.getElementsByTagName('tr'); for (var i=0; i<trs.length; i++) { var current = trs[i]; content=current.firstElementChild.innerHTML; if (content!=='Idle Time:') { current.style.display='none'; } else { spoiler=document.getElementById('spoilerMain'); spoiler.insertBefore(current, spoiler.firstChild); } }">
<body style="background-image:url(DIRECT BACKGROUND URL HERE); background-attachment:fixed; background-size:cover; background-position:fit; text-align:center; visibility:hidden; overflow-y:auto;">

and place this in your sniff where you want your idle time to be
<font color="#FFFFFF"><div id="spoilerMain" style="display:show; padding:1rem; font-family: Times New Roman; margin: 1rem 0; line-height: 1.5em; font-color:#ffffff; font-size: 16px; background:rgba(200,200,250,0);"></div></font>
you can remove the font color code if you want the color code to be the default color or you can change the hex code to make it the color you want

ex of sniffs this code is in use by (they may or may not have autoplay, be warned)
http://a1k9.chatwitch.com/properties/in ... bird&pop=1
http://a1k9.chatwitch.com/properties/in ... shaw&pop=1
User avatar
Rukha
Pack Initiate
Pack Initiate
Posts: 322
Joined: Sun Oct 18, 2015 8:25 pm
Gender: Female
Pronouns: Her/She
Preferred Name: Rukha
Species: Canine/Mix
Location: USA, KY
Contact:

I'm still having troubles getting the text to show.. and it also won't play the music ... x-x
anyone got any more codes ;u;

Image
26 Years Young | Digital Artist | Coffee | Console gamer

Locked Previous topicNext topic