The main thing I want to find out is that how vibrantimedia can change the content of a page from a javascript. The content does have a full object set up, meaning not verything is in NAME/ID.
It is a "content slider" that rotates content "slides". It is setup to auto rotate on a set time, and you can also hit the previous/next buttons to move through the slides. This has been working great. Now I have the need for a pause button that will stop the auto rotate. I think this should be fairly easy for someone familiar with javascript and jQuery.
i am developing a help desk software using php and oracle, when an expert posts a solution to the user who asked it, an alert should pop up at the user's machine to alert them that a solution has been sent end then it should dissappear,i was told to use ajax to check real time and then use javascript to pop an alert but i didnt understand and was told to post it on the javascript section.
I've got a small problem here. I'm trying to write some code that would generate a drop-down menue for me, where I'd just need to enter the menu- and submenu items into an array. The items are to be displayed as text. Now, I want to have the layers with the submenues to appear more or less under the appropriate main menu items. For this I need to be able to calculate how many pixels a given text uses up on the screen of the user. That's all fine with IE and an unproportional font like courier. The problem is, there is this nice setting that allows you to change the diplay size of the text - which is pretty much disfunctional in IE, but in mozilla, it works. Which means that I can't just say that one letter in courier, size 2, is 4 pixels wide and be happy with my calculation, because then somebody can just pop up with another text diplay size and *boom* - my calculation is wrong again.
Now, is there a realistic way to find out how many pixels _exactly_ a piece of text takes up on the user's screen? Or can I make the given piece of text a DIV and then have some kind of document.divname.left that gives me the actual location of this text?
I'm making a survey where every question has a numeric value assigned to it, and as the user clicks on a checkmark button to approve (or uncheck to disapprove) the values add or subtract to give a total at the bottom of the page.
Basically, it's a spreadsheet but with fixed values for each row instead of being able to type them in.
I can do this easily with php, but only if the user clicks the submit button. I was hoping to find a way to do this real-time.
I'm not looking for someone to do this for me, but can someone point me in the right direction of a tutorial or something that is similar so I can build this into my program?
Here is a short javascript for a real time analgoue clock. It is designed to resemble some LCD clocks where the hands "fill" in the dial as they move around the face. You can change to values of the "top" and "left" style attributes to position the clock anywhere on your page.
How can I get the real image dimension with javascript? code...
However this only seems to be working sometimes in Opera . No luck in firefox or chrome (dunno about IE)
Anyways to do it?
I thought of maybe using an Ajax call, but then the imgLink cannot be a relative position, which would be difficult to parse due to some address like http://example.com/directory as i tried to get everything before the last /
I want to find real IP Address of computers that are connected to my company's website. All users who want to see our website pass from our ISA Server. So, if I want to get their real IP Address with javascript commands, I'll get one and only one IP Addres from anywhere that is our ISA Server address. How I can get real ip address of those computers and compare it with predefined address?
Here's an example: [URL] doesn't update every single listing that comes on the market, but it automatically adds the new ones in the right category with his name on them.
Is there a way to find the browser height with jQuery, not including the toolbars and address bar nor anything else, just the actual space user for displaying the websites..?
I have a form that is using HTML and PHP to make calculations for an order form. One of the fields is asking for a total number of workstations. I would like this field to be a real-time total of five other fields in this form.
I am struggling to find examples on the web that implement Javascript callback functions of an embedded Real Player.
There are lots of examples for Visual Basic, but I couldn't find any for Javascript.
I am looking for any basic example. For example, showing a javascript alert when a Real Player error is triggered. (with examples for both Netscape/Firefox and Internet Explorer)
I have been using the jquery countdown plugin made by [url] for a while and while I am pretty familiar with it, I haven't been able to accomplish what I want for one of my projects.
I want to be able to add hours/minutes/seconds to a countdown in real-time by clicking a button.
Let's say I have 2 countdowns. They both get their ending date from a mysql db, e.g: 2010-09-26 00:00:45 and 2010-09-27 14:45:00
When I click a button, I want the countdown Y to increase by the X amount of hr/min/sec, update my ending date in mysql, and update my counter for every visitors to see without having them refresh the page. I have tried messing with ajax, but wasn't able to accomplish anything close. (I got it to update every 1 sec but it would flicker then)
im currently trying to create a real-time username checker. Once the user enters the username I would like some javascript to run and check whether the username is already in the database, then if it is return 'this is already in use'.Unfortunately I am not able to use ajax.
But blatantly it's well inefficient; is there a better way to achieve this - like just a single property I can change to make all elements of a given name change.
I am using Ajax and Javascript to show real-time data on the web page. On my web page, a 4-digit number is displayed in a text box and this number updates every 10 millisecond automatically to display real-time data (show 100 numbers per second).
What I would like to do is to save the lastest 10 second data in the local PC (client PC) when client clicks a button on the page. Is that possbile with Javascript and Ajax? Or is there any other ways to sort it out?
let's say I have a table "Names" with a field "name" --> bob, and tom (2 records)
I want the ajax/php page to pull out all the names. which would be bob and tom. And then if my database got updated at the backend (ex: a new name jack is added). my page showing bob and tom will automatically be updated with jack showing.
I am wanting to write some programs that connect in real time with a server. The problem is I do not have a server and really do not know a whole lot about servers. I do know the basics, it connects with sockets and uses a unique port but I do not know how to build one, So I turn here.
Is it possible to make a server using javascript? If not, then what language is used for servers? is it possible for JS to connect to a foriegn language server?
Anyone know where some good tuts are on this? I type in javascript server in yahoo and just get info on JSP and SSI's..
F.e I have div which id is someDiv and input text which id is someInput - and how to do that value of input object will display in DIV in real time? If i type letter "a" in input, it should automatically display in DIV. Which function should I use?
What I'm trying to do is, a jquery script to show in real time the total price. I got this: <li>Users</li> <li> <select name="users" id="users"> <option value='1'>1</option> <option value='2'>2</option> <option value='3'>3</option> <option value='4'>4</option> <option value='5'>5</option> <option value='6'>6</option> <option value='7'>7</option> <option value='8'>8</option> <option value='9'>9</option> <option value='10'>10</option> </select> </li>
1 Month and 1 User price should be 0.50 USD +1 Month = + 0.50 USD + 1 User = + 0.50 USD Example: 5 Users + 2 Months = 3.50 USD I wanna make the jquery to show the total price at li class="price".