Author Topic: Servo Sliders  (Read 2819 times)

SouthForkWeb

  • Jr. Member
  • **
  • Posts: 50
  • Web Coding Master
    • South Fork Web Services
Re: Servo Sliders
« Reply #15 on: September 27, 2009, 10:55:05 PM »
The problem with that is there's no way to define the slider image and slider background image with CSS since it's already defined inside the JavaScript code. The JavaScript code snippet we copy into web pages already has the information for the existing slider appearance embedded in it. ioBridge would either have to allow us our own stylesheet control, which would be nice to customize all other widgets as well, or allow some kind of choice when we setup the servo slider to begin with.
http://SouthForkWeb.com - Professional Web Design and Hosting Services

zero*gx

  • Full Member
  • ***
  • Posts: 116
    • zero*gx
Re: Servo Sliders
« Reply #16 on: September 27, 2009, 11:35:06 PM »
i know... im going to look at it, and see if i can try an override. i know it has worked for other widgets.
zero*gx | imagineering solutions

zero*gx

  • Full Member
  • ***
  • Posts: 116
    • zero*gx
Re: Servo Sliders
« Reply #17 on: September 28, 2009, 12:06:03 AM »
The problem with that is there's no way to define the slider image and slider background image with CSS since it's already defined inside the JavaScript code. The JavaScript code snippet we copy into web pages already has the information for the existing slider appearance embedded in it. ioBridge would either have to allow us our own stylesheet control, which would be nice to customize all other widgets as well, or allow some kind of choice when we setup the servo slider to begin with.

 im aware of that. usually you can override the code in css. i am a web developer. The problem is this widget works differently from the others because it is being rendered in an iframe on iobridge's side. I havent seen a good way of overriding the iframe code to css style the embedded page.
zero*gx | imagineering solutions

SouthForkWeb

  • Jr. Member
  • **
  • Posts: 50
  • Web Coding Master
    • South Fork Web Services
Re: Servo Sliders
« Reply #18 on: September 28, 2009, 03:42:33 PM »
Not trying to prove you wrong. I'm just saying we have no control as it stands since the styles are embedded in javascript. Web developer of 12 years here :)
If you figure out how to override the existing style then I'm sure many people would be interested.
http://SouthForkWeb.com - Professional Web Design and Hosting Services

zero*gx

  • Full Member
  • ***
  • Posts: 116
    • zero*gx
Re: Servo Sliders
« Reply #19 on: September 28, 2009, 06:58:35 PM »
I suppose overriding the styles doesnt matter much anymore, with the updates to the new widget platform.

I know ive seen some code around the forum for styling the widgets... again.. moot point now
zero*gx | imagineering solutions

iobridge

  • Administrator
  • Hero Member
  • *****
  • Posts: 669
    • ioBridge Support
Re: Servo Sliders
« Reply #20 on: September 29, 2009, 01:02:58 AM »
The four main sliders have been implemented. It's just a simple drop down to select a style. They are the Blue Arrow, White Box, Ball, and Java theme sliders to control your servo. They all look nice. These widgets are in an iframe, so external CSS is not going to effect them. They are what they are for the time being. I will come back to the sliders and allow custom images, settings, etc. at some point down the line.

Right now, I am working on a widget to embed your data log on a website. That's next!
ioBridge Support
Community Team

zero*gx

  • Full Member
  • ***
  • Posts: 116
    • zero*gx
Re: Servo Sliders
« Reply #21 on: September 29, 2009, 01:24:49 AM »
ohhh... i am EXCITED!

Those options are certainly enough for now... The new widget platfrom is amazing...
zero*gx | imagineering solutions

levi

  • Newbie
  • *
  • Posts: 10
Re: Servo Sliders
« Reply #22 on: December 02, 2009, 03:07:41 PM »
The slider is indeed very cool! Is there a way to get the servo to respond as you drag the slider as opposed to once you let go of the slider? It would allow for more precise positioning.

uknative

  • Newbie
  • *
  • Posts: 28
Re: Servo Sliders
« Reply #23 on: December 03, 2009, 10:10:17 AM »
is there a way to have the slider display vertically?
right now they only show up horizontally.

jason

  • Administrator
  • Hero Member
  • *****
  • Posts: 502
    • ioBridge.com
Re: Servo Sliders
« Reply #24 on: December 03, 2009, 10:43:43 AM »
levi:

It functions that way for bandwidth reasons.  If the widget continuously updated the servo position as the slider position was moved, it would hammer our server with dozens of requests.  Multiply that over the hundreds of servo widgets out there and it would degrade everyone's performance.  But I do agree with you, it would make for a more functional slider.
Jason Winters
ioBridge Developer