473,473 Members | 2,151 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

'slider' applets

I have seen applets for mathematical functions with a mouse-operated
slide-bar to vary a parameter in lieu of direct numeric entry.

One waws online as Java I believe and the others were created by the
Maple math package. I believe it can export them to various languages.

Is such an entity possible and how difficult with PHP?

Thank you.

Murray

Feb 25 '07 #1
7 4074
On Sun, 25 Feb 2007 01:21:40 +0100, <mu*******************@yahoo.com>
wrote:
I have seen applets for mathematical functions with a mouse-operated
slide-bar to vary a parameter in lieu of direct numeric entry.

One waws online as Java I believe and the others were created by the
Maple math package. I believe it can export them to various languages.

Is such an entity possible and how difficult with PHP?

Thank you.

Murray
PHP has nothing to do with it, so yeah, it can be done and it wouldn't
take a lot of time in PHP.

There's a reason why others have used Java: it runs in the client (the
browser). Thus you could build it in any browser-accepted environment.
Flash and Javascript come to mind. And maybe HTML Forms 2.0 will have a
slider, I should check that, so you don't need to build anything at all.

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Feb 25 '07 #2
mu*******************@yahoo.com wrote:
I have seen applets for mathematical functions with a mouse-operated
slide-bar to vary a parameter in lieu of direct numeric entry.

One waws online as Java I believe and the others were created by the
Maple math package. I believe it can export them to various languages.

Is such an entity possible and how difficult with PHP?

Thank you.

Murray
Murray,

Impossible in PHP. PHP is server-side, only. You need a client-side
language to handle it. Java is obvious; Flash also should work. I've
never tried but it might also be possible in Javascript.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Feb 25 '07 #3
OK, tradeoff there...

I've begun looking at PHP instead of JS because I like the fact that
things run on the server.

My thought was that an application had a better chance of running
server-side for people with various browsers and peoplr who refuse to
allow scripts to run or who have software that prevents scripts.

I don't NEED the slider input method, but like the interactive
functionality.

Thank you

Feb 25 '07 #4
On Feb 25, 6:44 am, murrayatuptowngall...@yahoo.com wrote:
OK, tradeoff there...

I've begun looking at PHP instead of JS because I like the fact that
things run on the server.

My thought was that an application had a better chance of running
server-side for people with various browsers and peoplr who refuse to
allow scripts to run or who have software that prevents scripts.

I don't NEED the slider input method, but like the interactive
functionality.

Thank you

Now I would suggest you to do it with JS. Last friday I just
prototyped a slider, which could resize an image, and it worked quite
neatly. Just google for javascript slider.

Now for the non-javascript -users, just provide the same functionality
with text-input -field.

t.tj.j.t

Feb 25 '07 #5
mu*******************@yahoo.com wrote:
OK, tradeoff there...

I've begun looking at PHP instead of JS because I like the fact that
things run on the server.

My thought was that an application had a better chance of running
server-side for people with various browsers and peoplr who refuse to
allow scripts to run or who have software that prevents scripts.

I don't NEED the slider input method, but like the interactive
functionality.

Thank you
Yes, that's nice. But something which runs server-side has no access to
the client end, except via the HTTP protocol (i.e. POST and GET
variables). To get client-side functionality like you want, you need
something which runs on the client.

And Jussist has the right idea - use JS to enhance the experience, but
don't force people to rely on it. Provide the slider for those with JS
enabled, and a text or select box for those who don't.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Feb 25 '07 #6
The Yahoo javascript library has a slider.
http://developer.yahoo.com/yui/slider/

I've never used it, but I have used some of the other provided
components and find the library very easy to use.

Feb 26 '07 #7
Hello,

on 02/24/2007 10:21 PM mu*******************@yahoo.com said the following:
I have seen applets for mathematical functions with a mouse-operated
slide-bar to vary a parameter in lieu of direct numeric entry.

One waws online as Java I believe and the others were created by the
Maple math package. I believe it can export them to various languages.

Is such an entity possible and how difficult with PHP?
Yes, I am working on a plug-in for this forms generation and validation
class that will provide exactly whay you ask.

Just let me know if you would like to be notified when the plug-in is ready.

http://www.phpclasses.org/formsgeneration

Meanwhile you may want to take a look at some the available plug-ins in
action here:

http://www.meta-language.net/forms-examples.html

and also a tutorial video that covers all the features of this class and
the plug-ins:

http://www.phpclasses.org/browse/video/1/package/1.html
--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
Mar 4 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jason Charalambides | last post by:
I need to assign a slider to determine a percentage value for a certain variable in my program. I decided to use a slider so that the user will be able to manually set a value between 0.000... to...
0
by: Brian Henry | last post by:
Ok I've never implemented a snap location before so I dont really know what im doing wrong here... anyways, I am making a custom slider control that takes dates as its values instead of integers......
1
by: Israel | last post by:
The problem: I want to know, definitively when a slider loses focus after a user has started sliding and hasn't released the mouse yet. It appears that this is captured with the WM_ACTIVATEAPP...
20
by: fatfatpopo | last post by:
Anyone who understand the codes below, can you please kindly explain to me by adding comments.. thanks in advance // <applet code="ImageSlider" width="400" height="400"></applet> import...
0
by: Home Coder | last post by:
Below is a link to a web page that loads a Java applet (sorry in advance). In the applet, on the bottom there is a pink colored slider. I would like to use/buy an a web version of this slider. Do...
6
by: cmgmyr | last post by:
Hello, I'm trying to figure out how to disable a slider through the onChange function. Here is what I have so far: new Control.Slider('handle','slider', { axis:'horizontal', sliderValue: 1,...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.