Skip to content

esri-es/operations-dashboard-utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Operations Dashboard Utils

Refresh image

This project aims to help you to set up a simple HTML page that forces the browser to reload an image using URL parameters.

Live demo

How this code works

Parameters:

  • url: image URL
  • interval: refresh rate (in ms) | default: 2000ms
  • width: image width in pixels | default: 100%
  • collapsed: allows you to set body's margin and padding to 0px | default: false

Sample page:

https://hhkaos.github.io/refresh-img//?url=http://turiscam.comunitatvalenciana.com/calp.jpg&interval=1000&width=700&collapsed=true

Show twitter timeline

User timeline: https://hhkaos.github.io/refresh-img/twitter.html?user=hhkaos

User list: https://hhkaos.github.io/refresh-img/twitter.html?user=hhkaos&list=innovation

Check the optional parameters, example: https://hhkaos.github.io/refresh-img/twitter.html?user=hhkaos&list=innovation&theme=dark&collapsed=true&width=300

Note: collapsedis not a twitter parameters, like in refresh image is to remove margins and paddings from the HTML

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.1%
  • HTML 21.9%