New star rating with mycode
#1
Heart 
I wrote a mycode for showing star rate with a title. I use it to show hard grade rating in making a paper crafts or origami works in my site.
First of all see attached image and demo in my site here.
================
   
================
If you want it you must made it step by step
1 - Insert below words and codes in Home -->mycode -->Add New MyCode
=============
Title *
Star rating
=============
Short Description
Show rate for everything with title and graphical stars
=============
Regular Expression *
\[hgrade=([0-9]+?)\](.*?)\[/hgrade\]
=============
Replacement *
<fieldset style="background:#FFFFFF;border:2px solid #8B8B8B;border-radius:8px;
-moz-border-radius:8px;-webkit-border-radius:8px;width:100px;height:45px;">
<legend style="font-family:Tahoma;font-size:10px;font-weight:bold;">$2</legend>
<div style="background:url(images/nocompleted.png);margin:auto auto;width:100px;height:21px;">
<div style="background:url(images/completed.png) top left repeat-x;margin:0px;max-width:100px;width:$1%;height:21px;">
<br>
<div style="margin: 7px 44px;color:#DB9B2C;font-weight:bold;font-size:10px;">$1&nbsp;Of&nbsp;100</div></div></div></fieldset>
================
After that, upload attached images in "images" file in your site .
Thats it !!
Now you can write [hgrade=your number]your titile[/hgrade]
and see result.

.zip   needs.zip (Size: 7.06 KB / Downloads: 454)
Reply
#2
Hello midori it's works but there is a problem , it's not appearing as you mentioned.
just look at this - https://gossipion.xyz/thread-1-post-8.html#pid8

please tell me how could i solve this ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)