Widgets
Neocities free accounts don't allow external scripts. This means you won't be able to use most widgets. But iFrames are allowed! So I have created this little tool that creates iFrames for the most popular widgets.
How to use:
Just copy the code and paste it in your HTML file. The iframe will show the widget, you can position and size it just like any other element. The background of the iframe is transparent, so it will look good on any background. Keep in mind that you can't change the styling inside the iframe with your own CSS code.
To set parameters such as usernames and to style the element, just change the parameters in the iframe's 'src' attribute. For example, change center=0
to center=1
to center the text. (Keep in mind that the content itself will always be centered in the iframe.) For colors you should provide a hex value (e.g. d92f2f
) without the #! For fonts, just type the name of any web-safe font with spaces as usual, e.g. font=Times New Roman
. Other fonts (e.g. Google fonts) won't work.
Some parameters are required, e.g. your status.cafe username for the status.cafe widget. Not inputting it will result in the widget not displaying correctly. (Weird symbols in those parameters, e.g. if your status.cafe usernames includes a #, will also break the code, sorry! Comment below if you're experiencing with issues, I'll try to fix it.)
I'd appreciate you linking back to me on your website if you enjoy these widgets!
Status.Cafe Status
Original Widget Source: status.cafe
Settings:
- styling parameters
center
,font
,fontSize
,color
,linkColor
username
: your status.cafe usernamehideUsername
: set to 1 to hide the usernamehideUsernameAndTime
: set to 1 to hide the username, emoji and time
Last.Fm Currently Listening / Last Song
Original Widget Source: biancarosa
Settings:
- styling parameters
center
,font
,fontSize
,color
username
: your last.fm usernameswapPositions
: set to 1 to display the artist firstdelimiter
: text for between title and artist, default: –underline
: set to 0 to remove the link underline
...more?
You can request a widget in the comments!
I spend hours of my free time creating these tools that I publish for free. If you'd like to say thanks, please share these widgets with others and/or buy me a coffee!
Comments
Leave your questions, problems, suggestions, requests and thanks here!
Please don't request widgets that already work for free accounts, such as cbox, guestbooks, and pollcode.