This is my first venture in this forum and also my first attempt at some programming for a fair few years and I have run into a problem i cannot for the life of me see the answer to. I am fairly sure I am just missing something stupidly obvious, but like I said its been a few years since I did any programming so I'm a bit behind with my knowledge!
I have the code written out but I am running into an error with Safari 4.
Here's my code:
For instance, Box A has a blank entry and I enter in 5. Box B I enter in 6 so in Box C it should automatically give me 11 (if the code I put in is to add box A and B). Then in Box D I put in 3 (say to subtract from A and B combined) so then Box C adjusts to give me 8.
Don't worry about the math as that's all taken care of it, I just need to be able to know how to update on the fly like this.
I have a been developing an Online auction website using PHP and Mysql for the last few weeks. I have implemented everything including the 'bidding', 'buy it now' options of the auction etc.
I don't know much about AJAX to be honest, but I think it is the technology I need for this... My requirement is to devise a way of updating (in real-time) the current price of a particular auction product as more and more users bid on the item. Once a user bids on the item, the bid table of the database is updated with the highest bidders price. So once this value changes in the database, would it be possible to update the price on the webpage? Obviously, it is important for this update to be as accurate as possible to maintain the integrity of the auction.
Is there a plugin that will do this? Or does anyone have an idea about how to implement something like this? The idea is for a sign company to have customers customize the text for their signs. They want to allow users to input text and have it update the sign image live with the text and resize it if the text string get's too long.
I was wondering if there is a way to have a page with a starting price of $299 (lets say a basic vacuum) then below that are 20 or so customizable add-ons to choose from through simple checkboxes. That (to me) should be easy enough, but I would love to have the grand total at the bottom of the page be updated in real time as the user checks or unchecks certain add-ons (kind like how apple.com does it).
What is a good starting point for this, and would it be possible to send out the order as an email with the total price sent to the business owner.
What is a good starting point for this, and would it be possible to send out the order as an email with the total price sent to the business owner. Like I said, I can sorta get my way around this stuff
sample code, whereby if I change a field value in a web form (from a drop-down list for example), the value shown in another field is automatically updated to show the needed value for that selected option?
I'm trying to make my sidebar show 3 images then scroll to the next 3 automatically every 3 seconds or so. (vertically)
how to do it or show a snippet of code?
I've looked up various scripts for scrolling the pictures I have on the right vertically, but I can't seem to implement any of the ones I've found. I'm not trying to ask for you to code it all for me (unless you really want to)
I am making a PHP-MySQL site which has an image gallery page that generates thumbnail-sized versions of images (the paths are all in the DB) using the width= tag. I have it so that when you click on the thumbnail, a fixed-size window pops up with the actual-sized version of the image. The new window just displays the image itself with .jpg in the address bar, and not an HTML or PHP file that contains the image tags and path in it. Is there any way I can have the new window automatically adjust to the size of the image, or is it strictly a one-size-fits-all dealy?
I'm trying to make my sidebar show 3 images then scroll to the next 3 automatically every 3 seconds or so. (vertically)Can anyone help me out with a reference I could look at how to do it or show a snippet of code?I've looked up various scripts for scrolling the pictures I have on the right vertically, but I can't seem to implement any of the ones I've found.
how to achieve the same affect with the code pmw helped me with several months ago this time around im trying to achieve the same affect instead of displaying one image im wanting to display text but stuff like this depending on what is selected once again it will display the following.the url for this is once again here.how much space,bandwidth,ram for gaurantee and burstable ram and ips etc.. now how can i do this using the following code below.
Alerts and Updates Click on links to show updates: update 1 * update 2 * update 3 * update 4 Stuff goes in the update [edit button] You click edit it prompts you to login, bring up something to edit the text in that specific update you hit submit and it changes the info that was on there. The update links are linked to a script I wrote that just display the info below so when the page loads you see whats in update 1 then you click update and it changes the content to the next one.
I'm using AJAX to auto-refresh a chatroom. You can see it on the right of the following site: http:[url]...
The problem is, when large images are placed in the chatroom via BBCode, (temporarily disabled) when the chatroom refreshes, they flicker! This is caused by the AJAX reloading the content, which in turn reloads the image.Is there a workaround for this? I want to allow images in the chatroom, but I don't want to turn off the auto-refresh. Below is the code I am running to refresh the chatroom:
Basically, what it does is reloads chatQuery.php and currentlyOnlineQuery.php every 5 seconds, or when a chat message is submitted.
I'm making a wordpress theme that will have a SMF forum incorporated into one of the pages. I've decided to use an iframe that calls in the forum (which is in the same domain), after trying several of the auto height scripts, including ones I used before with success, I got nothing. I'm not sure if it's a wordpress thing, but the scripts I'm so familiar with just don't want to work. Since forums change their height with all the different pages, this is an essential script for me. The only script (a new one) that somewhat works is the following:
Now, this seemed to work just fine, but now the height of the page gets added the more I browse. If for example I go to a topic with a lot of replies (meaning, a long page height) and I browse back to the index page, that extra height isn't gone. You can see what I mean here: [URL]. I was wondering if there is something that can be done to this script to stop this and properly resize the iframe. The other script I've used was: [URL]. Which worked great as you can see here: [URL].