HTML and CSS twitter/Facebook feed -


i've been asked client make feed on website.

i have logos etc profided in photoshop document.

would care help?

it going inside <div class="col-lg-3">

the things need answering is, how go making feed (i'm guessing api don't know how add logos, don't know if api, rss feed? again i'm unaware how add logos.)

and how add custom slider bar?

this need like

enter image description here

sam

since slider used users input used same syntax other input tags do. type of tag though "range"

<input type="range" /> 

the previous snippt should enough show slider, tag has more attributes can use. let’s set range of values (max , min).

<input type="range"  min="0" max="100" /> 

now users can choose number between 0 , 100.

the slider has default value of 0 if give different value, when browser renders code, pin positioned @ value. next code position pin halfway between ends of bar.

<input type="range" min="0" max="50" value="25" /> 

what if want people choose values @ intervals of 5? can accomplished using step attribute.

<input type="range" min="0" max="50" value="25" step="5" /> 

how users know value choosing? that’s question , answer going have come own solution. here simple javascript code show value of slider slide it.

<html> <body> <input type="range" min="0" max="50" value="0" step="5" onchange="showvalue(this.value)" /> <span id="range">0</span> <script type="text/javascript"> function showvalue(newvalue) {     document.getelementbyid("range").innerhtml=newvalue; } </script> </body> </html> 

and should render (if browser supports it)


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -