HTML - Inter Communication:one Frame Containing Applet And Another Containing Numbers
hi everybody,
i want inter communication among frames ne frame containing applet and another frame containing list of experiment. first frame which have a java applet contains a breadboard having load button,by clicking it a circuit will be drawn by taking information from a file. i want dat i have no. of files as no. of experiment,once user click on a experiment corresponding file should be selected(marked) and after pressing the load button that circuit shoud be drawn on the bread board. one experiment code is like this but it is not working <a href="/rlabs/home/HTML/invertingAmpPictures.html" target="frame3" onClick="document.parent.frame1.breadboardApplet.setFileToLoad('invertingAmp')">Inverting amplifier Similar TutorialsHi there, I was wondering if anyone knows how to centre an image link in another frame (yes I know frames are bad but its an old website I am updating) i have <a href="picturelink" target="mainframe"> <img src="thumbnail" border="0"></a> I have tried everything from class="center" to editing the original frameset and the original page loaded into the window but I can't get the jpeg file to load up centred and so I was hoping someone might be able to help as I don't want to link all the pictures to seperate html documents with only a centred image in... Thanks for any help. Hey. I have a frame and inside it there is a link. I want it to target an anchor called Code: <a name="anchor"></a> that is INSIDE it's own frame. I tried Code: <a href="#anchor"> but it tries to reload the entire page, and doesn't just "jump" to the anchor like it normally would. How do I do this? Thanks Hello I would like to show my friends some java applet that I have made, so I decide to make a tiny html file showing it. However, I always get: Error. Click here for details. The html file and the java class file are in the same map. This is the html file: HTML Code: <Html> <Head> <Title>Java Example</Title> </Head> <Body> Hello<br> <br> <Applet Code="Test.class" width=200 Height=100> </Applet> </Body> </Html> And the java code, just an example. Code: import java.applet.*; import java.awt.*; public class Test extends Applet { public void paint(Graphics g) { g.drawString("Test :o",40,40); } } First of all sorry, but couldn't figure out where to put this :s anyway, I'm wondering what would be a good program to write Java applet's with for a website. I'm planning on making my own Java irc (applet) so that it will blend in nicely with the rest of the website style, and as such doesn't clash with it so any good programs, tutorials would be welcome I've got an applet with some features, one of which a background image. It's actual size is 10.60 inches wide by 5.30 inches of height. Using WIDTH="744" and HEIGHT="600" (as shown on the code below) does not display the entire image. Can someone tell me the right setting of values to fix it? Is there a code to authomatically capture whatever the size of the .jpg and make it fit? Thanks in advance. Here's the html: <p align="center" <APPLET code=string WIDTH="744" HEIGHT="600"> <param name="para_back" value="background.jpg"> </APPLET> </p> Looking for a simple Java applet that will search filenames from an entered keyword and display matching files for download. All that I can seem to find will search the contents of a file (html/txt) and display results. I'm looking to search through PDF filenames and display results. tnx Hello. I have a question. In order to put an applet in my web page, I have to link to my applet. This works great for normal people viewing my page, and they can use my applet just fine. However, I don't like the idea of people being able to look at the source code, get the link to the applet location, enter it into their browser, and then download my jar file because then they can hack into the jar, decompile, and steal my code (not that it is worth stealing, but still). How can I keep people from being able to download my jar file? My guess is to have the applet some kind of folder options that only allow web-server be able to access it if that is possible. I tried messing with the folder security settings but either the jar was still able to downloaded by entering the link in the browser, or the jar file wasn't able to be read by the web-server. Please help me out. Thank you. I have the following in an XHTML (.gsp, similar to .jsp) file that is intended to display the JMOL applet, but it isn't working. The 'jmol' directory is in the same directory as the XHTML file. Jmol.js is in that 'jmol' directory. I have a PDB file to display also inside the 'jmol' directory. Code: <head> <script type="text/javascript" src="./jmol/Jmol.js"></script> </head> ... <body> <script type="text/javascript"> jmolInitialize("./jmol"); jmolApplet(400, "load ./jmol/input_str.tinker.pdb;"); </script> </body> Thoughts? Hi, I have searched high and low, maybe I'm looking for the wrong information. What I want to do is align a scrolling Javascript applet to the right of my logo on my page. If I use right align it will align to the far right of the page, I have looked up using different divs to no avail. The current code I have is Code: <body> <p><img src="avid logo copy.png" width="900" height="167" border="0" align="left" usemap="#Map" /> <map name="Map" id="Map"><area shape="rect" coords="311,116,379,148" href="avid.php" target="_self" alt="Home Page" /> <area shape="rect" coords="397,117,483,147" href="gallery.php" target="_self" alt="Gallery" /> <area shape="rect" coords="502,116,638,145" href="promotions.php" target="_self" /> <area shape="rect" coords="654,116,737,144" href="profile.php" target="_self" /> <area shape="rect" coords="760,117,885,145" href="contact.php" target="_self" /> </map></p> <script type="text/javascript" src="js/scroller.js"></script> <div align="left"> <p> </p> </div> I'm wondering if I need to add a table of somesort but have never intergrated javascript in webpages before. Any advice would be great, I am more than happy to read an appropriate tutorial as opposed to asking to someone to fix it for me. That way I am actually learning instead of someone else doing it for me. If someone does know how to do it, if you could supply a brief description of the reasoning for particular code that would be a great help to me. Thanks, sLaeYa edit: website is www.avid-effects.com/test/avid.php Hey guys, I recently wrote my first java applet, and I've been trying to put it up on my website. I created a .jar file with the applet and the two extra classes it needed to run (a concrete class and an interface). I first embedded it using <applet> tags, and it seemed to work nicely. I ran it on my computer on Chrome, Firefox, and IE with no problems. But so far it hasn't worked on any other computer, and I've tried five different computers, and three different browsers (Chrome, Firefox, Opera). I realized it may have been due to the fact that <applet> tags have been depreciated, so I tried to make another one using <object> tags, which failed to work at all. I'm pretty confused, so any help would be appreciated! Here is the first version(using <applet> tags): (deleted) And the second version (using <object> tags): http://artymowicz.atwebpages.com/projects/gravity.html Hi! I am using Dreamweaver 8 to develope my site. I have broken the page in three pieces(frames) So that the top frame shows the title, the left frame is for links that I want to show as flash movies in the right frame. I have studied the help file and I have looked on the web and I can't find an explanation that I can understand on how to do this. I believe the clickable link should be an href but I don't know how to code it. Can someone explain this to me? Thanks in Advance! Paul The following webpage uses an a href to turn the chunk of java code into a link to the bottom of the page, while this works in Safari it doesn ot in FireFox v2/3 (I have not got IE, can somebody confirm). How can I make the java applet link work under FF? http://lovelago.googlepages.com/java_button_2.html Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><!-- charset must remain utf-8 to be handled properly by Processing --> <meta http-equiv="content-type" content="text/html; charset=utf-8"><title>java_button_eg : Built with Processing</title> <style type="text/css"> /* <![CDATA[ */ body { margin: 60px 0px 0px 55px; font-family: verdana, geneva, arial, helvetica, sans-serif; font-size: 11px; background-color: #ddddcc; text-decoration: none; font-weight: normal; line-height: normal; } a { color: #3399cc; } a:link { color: #3399cc; text-decoration: underline; } a:visited { color: #3399cc; text-decoration: underline; } a:active { color: #3399cc; text-decoration: underline; } a:hover { color: #3399cc; text-decoration: underline; } /* ]]> */ </style></head><body> <a href="#Bottom"> <div id="content"> <div id="java_button_eg_container"> <!--[if !IE]> --> <object classid="java:java_button_eg.class" type="application/x-java-applet" archive="java_button_eg.jar" standby="Loading Processing software..." height="100" width="100"> <param name="archive" value="java_button_eg.jar"> <param name="mayscript" value="true"> <param name="scriptable" value="true"> <param name="image" value="loading.gif"> <param name="boxmessage" value="Loading Processing software..."> <param name="boxbgcolor" value="#FFFFFF"> <param name="test_string" value="outer"> <!--<![endif]--> <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codebase="http://java.sun.com/update/1.5.0/jinstall-1_5_0_15-windows-i586.cab" standby="Loading Processing software..." height="100" width="100"> <param name="code" value="java_button_eg"> <param name="archive" value="java_button_eg.jar"> <param name="mayscript" value="true"> <param name="scriptable" value="true"> <param name="image" value="loading.gif"> <param name="boxmessage" value="Loading Processing software..."> <param name="boxbgcolor" value="#FFFFFF"> <param name="test_string" value="inner"> <p> <strong> This browser does not have a Java Plug-in. <br> <a href="http://java.sun.com/products/plugin/downloads/index.html" title="Download Java Plug-in"> Get the latest Java Plug-in here. </a> </strong> </p> </object></a> <!--[if !IE]> --> </object> <!--<![endif]--> </div> <p> </p> <p> Source code: <a href="http://lovelago.googlepages.com/java_button_eg.pde">java_button_eg</a> </p> <p> Built with <a href="http://processing.org/" title="Processing.org">Processing</a> </p> </div> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><a name="Bottom">Bottom</a> </body></html> Hey, Anybody know how to implement a "page numbers" system like at the bottom of this page. What I want to do is - I have a gallery website with many pages of images, I want a piece of code that automatically generates a few page numbers like how it does at the bottom of this page. Can anybody help? Thanks. I have a table where I want to right justify particular cells (in a column) because they contain numbers. However the column immediately to the right contains text (left justified), & so the number ends up bumping right up to the text & not being very readable. I don't want to use border lines around the cells. Using cell padding or cell spacing makes the rest of the table look bad. I tried putting the number into a string with spaces padding to the right of the number, but once that string is written to HTML it ignores the spaces. Is there a way to pad just a single cell with spaces to the right of the number? Or to get the HTML to treat the cell value as a text string & include the spaces, instead of as a number? TIA! hi i want to make some thing like this for example i have 100 pages how can i make this work i want this to happen it shows 9 or 10 numbers per page and after user goes to 9th page it will show more 5 numbers how can i make this any one?? that's how it will goes upto 100 page and i want First page and last page link too anyone can help me give me guide how can i make this???? So, I have a web site I have inherited, not coded... and I know nothing about html/css etc! One string, a telephone number, should show in black, but in Safari it shows up in white (it is fine in all other browsers). However, if I change the string to text, it displays fine, so it only numbers that show up in white! Help - I have no idea what is causing this!? I've attached the html, and the relevant css for the page... I'm sure this is dead easy for someone who knows what they're doing! Thanks, in advance for your help, James Hi guys, could anyone here tell me how to disallow anything accept numbers and letters in a textbox, say for a form, and i cant have that textbox anything but numbers and letters, how can i do this?? thanks guys! I'm developing a website that contains a lot of legal statutes. I'm trying to keep to html lists rather than using tables, but have come unstuck with how to display custom numbers in an ordered list. The lists usually begin with (1), then (a) is the indent, then (i) is the next level. These are easy to handle with <ol type=1>, <ol type=a> and <ol type=i>. The next level has (aa), which I've managed with <li value=27> and so on. However, I'm not certain how to handle the following types: (4A) - in between the number (4) and (5) and random numbers, such as (aE), etc. With regard to numbers like (4A), they need to be in the same bracket and can't be displayed as (4)(A) - which is a different reference in the legislation. Any help in displaying custom numbers (even user defined - e.g. for this particular bullet point display "4A") would be great. Thanks in advance. I made my own local page and it's for a game's stats (Wins:Losses record), on which I have a fields with numbers. What code should I add if I want to make calculations like: Let's I have I have a field for Wins: and a field for Losses:. On another place in the page I have Total Wins, Total Losses, Win % (win:losses ratio). I dont know how to make typeable fields, so I have to type the numbers manually in TXT format, to edit the HTML code. But still, even if I have to type the numbers for fields Wins: and Losses: I want the Total fields to automatically calculate so: Total Wins = Wins (whatever number I type in Wins it appears in Total Wins) Total Losses = Losses (whatever number I type in Losses it appears in Total Losses) Win% = Total Wins/((Total wins + Total losses)/100)) Say I type 12 wins and 5 losses in the first fields. Thus, when opening the page, the same numbers should show for Total Wins = 12 and Total Losses = 5 without me having to type them in TXT format for the 'Total' fields. Win% would be 12/((12+5)/100)) = 12/0.17 =~ 70% In other words, to clarify in HTML, there where Total Wins and Total Losses have some numbers to be typed, instead of me writing manually the numbers e.g 12 and 5, can I instead write these formulas and how should they look in HTML? |