Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

sappy16
Store data with HTML/Javascript?
I am writing a program keep score of a game, in HTML (interface) and JavaScript (coding), and want to store some of the data briefly/temporarily (i.e. until the end of the game) without resorting to using a full-on database and server-side scripting. Basically I want to be able to store scores for each player at different stages, and then calculate the total score at the end of the game, to be output to the screen.
What would be the best way of doing this? I thought about using CSV files or XML, but am not sure if these are suitable for this task.
Would it be best/easiest to just store the data in an array?
Any help would be much appreciated! Thanks
2 AnswersProgramming & Design8 years agoIf I hand in a found Oyster card, will TfL make any attempt to return it to its owner?
I just found someone's lost Oyster card. I checked the TfL website, and it has been registered, so it shouldn't be hard for them to find and contact its owner. Will they actually bother, or will it just end up in a box somewhere? I am very happy to take it to my local tube station, but would be annoyed if they just threw it in their lost property box, rather than trying to reunite it with its owner!
There are four stations within walking distance of where I found it, so it is very possible the owner won't go in and ask it if has been handed in.
Anyone know what they will do? Would I be better off sending it to the address on the back than taking it into my local station? Thanks.
8 AnswersRail9 years agoWhat's wrong with my Android Java for loop?
I've been experimenting with Android Java using Eclipse and the Android SDK. I have written a for loop, the structure of which is as follows:
String arrString[] = myString.split(",");
int endstring = arrString.length;
for (int i=6; i<endstring; i+=6)
{
//do some stuff
}
the value in the variable 'endstring' is 290, as in the string array called arrString contains 290 separate strings.
When I run the program on the emulator, it crashes, but if I manually enter a value for 'endstring', up to at least 250 (as in 'int endstring = 250;'), it runs fine, and if I manually enter 290, it still crashes. Is there a limit for the max number of iterations of a for loop in Android Java? Anyone have any ideas how I can fix this problem?
Thanks.
1 AnswerProgramming & Design10 years agoMS Access SQL Day Before and Day After A Date?
I've having a problem with some SQL in MS Access.
I'm trying to count the number of records where the 'Event Date' column matches either:
-the date entered into the form
-one day previous to the date entered in the form
-one day after the date entered in the form
Essentially, it's a booking system, where you book the assets out for a one-day event, but they must be booked out for three days so that there is a day each side of the event for delivery and collection. As there are a limited number of assets, I need to ensure that bookings can't be made when they are all booked out.
The 'Event Date' column is of type Date/Time. My SQL looks like this:
SELECT COUNT (*)
FROM Assets
WHERE Forms![Add Event]![Event Date]=Assets.[Event Date] OR Forms![Add Event]![Event Date]=(Assets.[Event Date]+1) OR Forms![Add Event]![Event Date]=(Assets.[Event Date]-1);
...but where it should be retrieving a count of six, it's only finding three records (there are three records matching the date entered into the form, and three others on the days before and after that should also be retrieved). I presume there's something wrong with the 'Assets.[Event Date]-1' and 'Assets.[Event Date]+1' in my SQL?
Can anybody help?
Thanks
5 AnswersProgramming & Design1 decade agohow do i get a pale and dream-like effect in my photos?
I would like to get a pale, dream-like effect (I guess it's kind of LOMO) in my digital photos, but in-camera, NOT using photoshop. I wondered if this is possible, and if so, what kind of setting would i need to use?
It's more the colours (that pale, washed-out effect) that I am trying to capture, rather than the textures or focus etc.
Some examples of what I am trying to achieve are:
http://photoshopgirl.com/images/Lomo/LomoAfter.jpg
http://4.bp.blogspot.com/_hQdL07TnU6Y/SxUqYeL7M8I/...
http://www.nicnocquee.com/blog/wp-content/uploads/...
http://www.irenesuchocki.com/assets_d/16125/portfo...
Thanks
2 AnswersPhotography1 decade agoWhich format is best for dates in PHP and MySQL?
I am trying to create a website where users can upload certain information. I want to have 'date added' and 'date modified' columns (which record both date and time) in my database (I'm using PHP MyAdmin), but I'm not sure what is the best format to use, or what are the differences: DateTime, TimeStamp etc. Obviously, I want the 'date added' column to remain the same, but whenever the record is changed, I want to be able to change the 'date modified' column. I'm also not sure what the 'Current_Timestamp' default setting does - will it change if the record is updated?
Thanks
3 AnswersProgramming & Design1 decade agoPhotoshop Paste Problem?
I've obviously pressed something without realising it or something, because now when I try to copy and paste in photoshop (cs4), it just pastes a blank layer. Does anybody know how to fix this?
Thanks
1 AnswerSoftware1 decade agoI'm having a problem with an sql statement - can anybody help?
I am using microsoft visual studio to create an ecommerce website, and am having issues with an sql statement. When I build and start the site, I get the error 'No value given for one or more required parameters'. I believe it is because I am asking it to check against the same column twice, but don't know how to get it to work. The code for my SQL statement is as follows:
SELECT TOP 5 ProductId_PK, ProductName, ProductPrice, ProductImage, CategoryId_FK
FROM Products
WHERE (ProductId_PK <> ?) AND (CategoryId_FK =
(SELECT CategoryId_FK
FROM Products Products_1
WHERE (ProductId_PK = ?)))
Any help would be much appreciated. Thanks
2 AnswersProgramming & Design1 decade agoWhich blog site should I use?
I'm thinking about starting a blog, but I'm not sure which site to use. I've heard of the main ones (blogspot.com, blogger.com, wordpress.com, typepad.com etc), but I don't know much about any of them! (I'm currently leaning towards blogspot)
I have a few requirements for my blog:
1. It must be quite customisable. I know HTML and CSS and a fair bit of web-design stuff, and am happy to use them to customise my blog. I'm not just talking about choosing between preset themes, but having the option to REALLY customise my blog.
2. I need to be able to post images, and perhaps also embed youtube etc videos.
3. It must be a free site - I don't have the money to pay!
4. I don't want all the space on the page to be taken up by adverts. Obviously, I expect there to be some adverts on a free blogging site, but the fewer the better!
5. I would like it to have good inbuilt tools, for example, to allow other users to comment, subscribe, etc, and certainly some way of archiving posts.
6. If there's a way of making money from the blog, all the better!
7. I'm not at all keen on using myspace!
Thanks in advance for your help!
1 AnswerOther - Internet1 decade agousing html tables for my website layout?
hi.
i am creating a website which i want to layout using a combination of css and tables. the main problem is that it has a logo which needs to go in the bottom-right hand corner. if i use tables to do this, (ie 2 cells, one on top of the other, the top one containing all the content and the bottom one containing the logo only) and set the table height to 100%, the rest of the content gets stretched out (ie the padding between elements is increased) automatically, so that the cells take up 100% of the space. The top cell cannot be set as a static height since its height depends on the content it contains, but the bottom cell can be set as a specific pixel height. I was thinking maybe i could add a cell in between the two that changes size depending on the height of the top cell, whilst keeping the bottom cell 'glued' to the bottom of the browser. does anyone have any ideas on how to do this?!
thanks
2 AnswersProgramming & Design1 decade agoKnow of a company that makes personalised recipe books?
My mum has two recipe books, fake leather bound with gold trim, which you could get personalised with your initials in gold on the front. She bought them blank, and then you fill the pages with your own recipes. They are about 25cm tall, and maybe 15 to 20cm wide. She got them both years ago, and I would really like to get her another, now that she's filled them both up. Does anybody know of a company that sells something very similar to these? Preferably based in the UK, although if there's a company based elsewhere that sells them online, that would be ok too! Thanks in advance
4 AnswersCooking & Recipes1 decade agoShowing/Hiding Buttons In Flash CS3?
hi. i'm having MAJOR issues with a flash project. I'm trying to create a gallery of images, which are loaded externally using an array. I have two buttons, one to go to the next image, and one to go to the previous image.
When the user cycles through the images and reaches the last one, I want the 'next' arrow to disappear (since there are no more images to see!), which i have done and which works, but if you then click the 'previous' button, the next button is still not visible for the photos before the last one. Here is the code:
http://sappy16.bravehost.com/ActionScript.html
(it was too long to copy and paste!)
thanks in advance for your help!
1 AnswerProgramming & Design1 decade agoFlower Names Part II!!?
Hello everyone
I asked a similar question the other day, and got loads of very helpful responses, so i'm hoping someone is able to help me out again today!
I have a bunch of photos I've taken of flowers (and 1 plant), but absolutely no idea what they are called. The photos are posted here:
http://www.photobox.co.uk/album/7058423
To me, flower 4 looks very much like one of the ones I posted before, which people told me was a gazania, but as i'm no expert, i figured i'd include it in there with the others!
thank you so much in advance
8 AnswersGarden & Landscape1 decade agoFlower names?
I have a number of photos of flowers which I would like to know the names of. Links to the photos are below:
http://sappy16.bravehost.com/Flowers/Flower1.JPG
http://sappy16.bravehost.com/Flowers/Flower2.JPG
http://sappy16.bravehost.com/Flowers/Flower3.JPG
http://sappy16.bravehost.com/Flowers/Flower4.JPG
http://sappy16.bravehost.com/Flowers/Flower5.JPG
Thanks in advance
9 AnswersGarden & Landscape1 decade agocan anyone point me towards any new/up-and-coming bands or artists?
I'm always on the lookout for great new music, and recently discovered Jehro (amazing!) and Ben Lee. I am into alternative (not too emo) eg Matchbox Twenty and Everclear; rock (not too hardcore!) eg Bon Jovi and Red Hot Chili Peppers; pop (not too bubblegum) eg Scissor Sisters and Mika; Foreign (mostly Spanish) eg Molotov, Jarabe De Palo and Manu Chao/Mano Negra), some reggae eg Jehro and Bob Marley, and lots lots more. I'm open to all suggestions, although I tend to avoid really hardcore techno/house music. Does anyone know of any great up and coming bands playing the type of music i've described above? Thanks so much for your suggestions! xx
14 AnswersOther - Music1 decade agoProblem with the 'special' a/v buttons on my sony vaio laptop....?
Hi. I have a Sony Vaio VGN-TX3HP laptop. It has media buttons on it for A/V mode, play, stop, forward, back, eject, volume etc. Sometimes they stop working (usually when the computer's been working a bit too hard or semi-crashed then recovered) so when pressed they do nothing. In order to eject the CD tray I have to do it manually through my computer. The only way I have found to resolve this is to restart the computer, after which it works fine for a bit until I overwork it again. Does anyone know why this is happening, and what I can do to stop it, or fix it when it does happen, without having to restart. When the problem occurs, nothing else stops working. Just these buttons. Thanks in advance
2 AnswersLaptops & Notebooks1 decade ago