SEO Services
Home >> Webmaster Forums >> Scrolling Marquee change by User Input

Scrolling Marquee change by User Input


zing1atu said: "Hi All, I'm new to this forum and hopefully can get some help. I have a web site that shows how different systems are running (network, telephony, application, etc). On the webpage is a stoplight that can change colors as to any problems, plus has a scrolling marquee with information in it for each system. Basically, every time there is a system change I have to edit the page with the new information. What I would like to do is be able to set the site up so that administrators of the systems can change the scrolling marquee from a user input box and toggle through the light (red, yellow, green). Is it possible to create a input box that will change this information, using javascript? I can post the code if that would help. Let me know if I have been as clear as mud:) Thanks in advance, Zing1atU"

Darksat said: "You have been clear as Mud. A user can only change info for himself using javascript, other users wont see the changes, you need PHP or ASP and a backend database if you want to store any information that a user inputs."

Sharky said: "yeah, you could also use [url=http://uk2.php.net/manual/en/function.fopen.php]fopen()[/url] for php to store the user input."

zing1atu said: "Okay, let's see if I can explain a little bit better. I have a scrolling marquee inside of a table using the code, which looks fine. I have tried a javascript for this marquee from Dynamic Drives - [URL="http://www.dynamicdrive.com/dynamicindex2/ajaxticker.htm"]http://www.dynamicdrive.com/dynamicindex2/ajaxticker.htm[/URL] that works well, with users editing text files for the input, but would like the scrolling to go same as the marquee instead of displaying the whole message, which I'm working on. I would like to find a javascript or what ever will work, for the user to click on in the webpage for them to change the marquee text and color, depending on situation of the systems they are monitoring. The website will be hosted on a SharePoint server where we can setup the permission's of whom can make the changes to the page. I have a javascript that will change the traffic light gif with a click button, so that part is done. Thanks again"

Neutron2k said: "its not much of a problem to manipulate text and font colours in javascript. As darksat pointed out tho, Javascript is CLIENTSIDE and thus its scope is limited to the browser of each user. Everyone would see different things based on their own colour settings, they could not be shared with other people on other computers etc. If you understand this, then you can just assign an id to your marquee and manipulate it using the Javascript Documents Object Model. However I would STRONGLY avoid using the marquee tag, as it is now deprecated. Use a javascript based scroller. Also scrolling text is an eyesore and hard on the eyes to a lot of people so use it wisely."

zing1atu said: "Thanks to everyones suggestions. I finally created the site with php, using a separate page as an administrator page to change the information. Now I have another client that wants the same type of site on a Sharepoint server, so I will be creating this new site in asp.net. Zing1atU"