473,671 Members | 2,566 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to make image disappear by answering math operation.

2 New Member
Good day :) I am a college student. I cant find the right JavaScript code for my thesis. how can make image disappear by just answering a simple mathematical question by just typing it?i want to disappear the ant by solving the math problem above it.

the scenario is an ant is carrying a math operation above it. in order to kill the ant, i will answer the math operation that ant carries. here is the image.

any recommendation will be highly appreciated. thanks a lot :D
Attached Images
File Type: jpg Untitled.jpg (86.1 KB, 138 views)
Sep 18 '14 #1
2 1222
Dormilich
8,658 Recognized Expert Moderator Expert
do you (code-wise) have a connection between the ant (image) and the math?
Sep 18 '14 #2
flytooth123
2 New Member
@Dormilich
I am the author of that question.i cant log in to my account. Yes, there must be a connection between the ants and math. If u answer the math correctly,the ants will disapear . Else, the ants will go to your base and destroy it. but i cant search my code.
Sep 19 '14 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
6344
by: midtoad | last post by:
I'm trying to display a GIF image in a label as the central area to a Tkinter GUI. The image does not appear, though a space is made for it. Why is this so? I notice that I can display a GIF image in the central area of a simple menu-bar app as shown below in the first code sample. But, when I set up my app with a class, as shown below in the second code sample, the image disappears. How can I correct this? I'm sure the answer would...
5
3632
by: The Bicycling Guitarist | last post by:
Thanks to Yukka for improving my <h1> content and to Andy Dingley for pointing out how illogical my code was. I have converted my nav buttons to a list and eliminated the horrid spangap class of "|". The better index page is http://www.TheBicyclingGuitarist.net/better-index.htm How do I get rid of those black dots in front of the red nav buttons? I don't want them to show up. Now that I am using list markup, is that satisfactory for...
2
2900
by: mja674s | last post by:
I'm making a date picker. It shows up fine. The problem is that I want it to disappear if I click outside the calendar itself. However, if I click *on* the calendar itself, it should not disappear, allowing me to click a date or cycle through the months, etc. Thanks for help. Matt
3
3996
by: mikecantrell | last post by:
Hello I have a html page that I am trying to get data from an user input and then I want to be ble to sum the data. I would sum mon-in and mon-out to get mon-time. Then I would like to sum mon-time...fri-time to get total time for the week. <TD height="33" valign="top"> <input type="text" name="mon-in" size="7" maxlength="5" value="00:00"> </TD>
13
2340
by: david ullua | last post by:
Hi, In Expand.c of BSD system, I met the following codes, the expression (column & 07) if used to compare variable column and 7, if column<=7, it returns true, else false. It use (column & 07) rather than (column<=7), thus it brings me a question, does bit operation always work more efficiently than math operation? How about plus without carry? and minus without borrow? I have searched through google web and newsgroups, haven't found any...
3
5845
by: mdburton | last post by:
onclick="this.href='javascript:void(0)';this.disabled=1"> ive tried that, but it renders it useless and doesnt make it 'submit' it should be able to work, but so the user cannot submit it twice if they tried to 'machine gun' type thing using their mouse to submit repeatedly I guess this can be considered an HTML problem not PHP but im using it in php in the sense that the button clicked triggers the form to load and it has data that is...
4
7680
Maril
by: Maril | last post by:
Hi I'm a beginner in Flash and I was wondering if it's possible, for example : if you have 4 buttons on a page, that when the mouse is over one button, that the others disappear(fade out) and reappear on mouse out? Thanks to any help I can get! Maril
3
1392
by: Pero | last post by:
How to make image of web page, like this: http://www.networksolutions.com/whois/results.jsp?domain=test.com Tnx Pero
30
1745
by: Jorge | last post by:
Hi, I have a web app that loads 2 scripts incrementally. The first one handles authentication/login. If a user is authenticated, a second script gets loaded by inserting a script tag in the header, and code execution is transferred to that second script by means of a setTimeout(globalReferenceToASecondScriptInitFunction), in that 2nd script's InitFunction any remaining references to any data or variable or function of the first script...
0
8402
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8927
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8676
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7445
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5703
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4227
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4416
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2062
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.