Javascript pop up

Hello,
I want to have the result of the expression ('plus') shown in
the pop up (and in the textbox) when clicking on calculate
<!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">
<head>
<link href="style.css" rel="stylesheet" type="text/css"
/>
<title>Prijsgenerator</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<script type="text/javascript">
<!--
function newImage(arg) {
if (document.images) {
rslt = new Image();
rslt.src = arg;
return rslt;
function changeImages() {
if (document.images && (preloadFlag == true)) {
for (var i=0; i<changeImages.arguments.length; i+=2) {
document.getElementById(changeImages.arguments
).src = changeImages.arguments[i+1];
var preloadFlag = false;
function preloadImages() {
if (document.images) {
nieuws_over = newImage("images/nieuws-over.jpg");
affiche_over = newImage("images/affiche-over.jpg");
geschiedenis_over =
newImage("images/geschiedenis-over.jpg");
contact_over = newImage("images/contact-over.jpg");
preloadFlag = true;
// -->
</script>
</head>
<body id="slicebody" onload="preloadImages();">
<table id="Table_01" width="668" border="0"
cellpadding="0" cellspacing="0">
<tr>
<td rowspan="2">
<img id="index_01" src="images/index_01.jpg" width="87"
height="111" alt="" /></td>
<td rowspan="2">
<a href="index.html">
<img id="home" src="images/home.jpg" width="237"
height="111" alt="" /></a></td>
<td>
<a href="tickets.html"
onmouseover="window.status='tickets'; changeImages('nieuws',
'images/nieuws-over.jpg'); return true;"
onmouseout="window.status=''; changeImages('nieuws',
'images/nieuws.jpg'); return true;"
onmousedown="changeImages('nieuws',
'images/nieuws-over.jpg'); return true;"
onmouseup="changeImages('nieuws', 'images/nieuws-over.jpg');
return true;">
<img id="nieuws" src="images/nieuws.jpg" width="59"
height="72" alt="tickets" /></a></td>
<td>
<a href="affiche.html"
onmouseover="window.status='affiche';
changeImages('affiche', 'images/affiche-over.jpg'); return true;"
onmouseout="window.status=''; changeImages('affiche',
'images/affiche.jpg'); return true;"
onmousedown="changeImages('affiche',
'images/affiche-over.jpg'); return true;"
onmouseup="changeImages('affiche',
'images/affiche-over.jpg'); return true;">
<img id="affiche" src="images/affiche.jpg" width="55"
height="72" alt="affiche" /></a></td>
<td>
<a href="geschiedenis.html"
onmouseover="window.status='geschiedenis';
changeImages('geschiedenis', 'images/geschiedenis-over.jpg');
return true;"
onmouseout="window.status=''; changeImages('geschiedenis',
'images/geschiedenis.jpg'); return true;"
onmousedown="changeImages('geschiedenis',
'images/geschiedenis-over.jpg'); return true;"
onmouseup="changeImages('geschiedenis',
'images/geschiedenis-over.jpg'); return true;">
<img id="geschiedenis" src="images/geschiedenis.jpg"
width="54" height="72" alt="geschiedenis"
/></a></td>
<td>
<a href="contact.html"
onmouseover="window.status='contact';
changeImages('contact', 'images/contact-over.jpg'); return true;"
onmouseout="window.status=''; changeImages('contact',
'images/contact.jpg'); return true;"
onmousedown="changeImages('contact',
'images/contact-over.jpg'); return true;"
onmouseup="changeImages('contact',
'images/contact-over.jpg'); return true;">
<img id="contact" src="images/contact.jpg" width="57"
height="72" alt="contact" /></a></td>
<td rowspan="2">
<img id="index_07" src="images/index_07.jpg" width="119"
height="111" alt="" /></td>
</tr>
<tr>
<td colspan="4">
<img id="index_08" src="images/index_08.jpg" width="225"
height="39" alt="" /></td>
</tr>
</table>
<div id="wrap">
<div id="container">
<div id="left_kollom">
<div id="menu"> <br/>
<a href="index.html" >HOME<span class="wit">Ga
naar de homepage</span></a>
<a href="tickets.html" >NIEUWS &amp;
TICKETS<span class="wit"> </span></a>
<a href="volgendjaar.html" >TW 2007<span
class="wit">Rock Werchter 2007</span></a>
<a href="veiligheid.html" >VEILIGHEID<span
class="wit">Veiligheid in Werchter</span></a>
<a href="kamperen.html" >KAMPEREN<span
class="wit">Kamperen in Werchter</span></a>
<a href="generator.html" >PRIJSGNRTR<span
class="wit">Beperk uw budget</span></a>
<a href="
http://www.laurenspieters.be"
>PORTFOLIO<span class="wit">Bezoek mijn
portfolio</span></a>
<a href="about.html" >ABOUT<span
class="wit">Meer over de site</span></a>
<a href="contact.html" >CONTACT<span
class="wit">Contacteer mij</span></a>
</div>
<br /> <b>Enkele links:</b> <br/>
<a href="
http://www.rockwerchter.be/">Offici&euml;le
site</a><br />
<a href="
http://www.proximusgoformusic.be/">Ticket
service</a><br />
<a href="
http://www.standaard.be/festivals
/">Andere festivals</a><br />
<a href="
http://www.nmbs.be/">Trein</a>
</div>
<div id="right_kollom">
<div class="main_artikel"> <br/>
<h3> CONTACT </h3>
<div>
<script type="text/javascript">
<!--
function plus(form1){
form1.getal6.value=parseFloat(form1.getal1.value) +
parseFloat(form1.getal2.value) + parseFloat(form1.getal3.value)
+ parseFloat(form1.getal4.value) +
parseFloat(form1.getal5.value);
function popup(form1){
window.alert("Uw totale uitgaven bedragen " + plus )
//-->
</script>
<h2 class="style1">Bereken uw uitgaven</h2>
<br/>
<span class="style1">Geef uw uitgaven in in elke vakje
en klik op berekenen voor het totaalbedrag te zien en op reset om
opnieuw te beginnen.</span>
<form action="">
<table>
<tr><td><span class="style2">Ticket :
</span></td>
<td><input type="text" size=5
name="getal1"/></td></tr>
<tr><td><span class="style2">Kamping :
</span></td>
<td><input type="text" size=5
name="getal2"/></td></tr>
<tr><td><span class="style2">Vervoer :
</span></td>
<td><input type="text" size=5
name="getal3"/></td></tr>
<tr><td><span class="style2">Eten :
</span></td>
<td><input type="text" size=5
name="getal4"/></td></tr>
<tr><td><span class="style2">Drank :
</span></td>
<td><input type="text" size=5
name="getal5"/></td></tr>
<tr><td colspan=2><hr/></td>
<td></td></tr>
<tr><td><span class="style2">Resultaat :
&euro;</span></td>
<td><input type="text" size=5 name="getal6"
onfocus="blur()"/><br/></td></tr>
</table>
<table>
<tr><td><input type="button" value="CALCULATE"
onclick="plus(this.form)"/></td>
<td><input type="reset" value="RESET"
onclick="reset"/></td></tr>
</table>
</form>
</div>
</div>

Sorry - I do not.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"dlbrown06" <[email protected]> wrote in
message
news:e8jobn$9ur$[email protected]..
> Anyone have any ideas?

Similar Messages

  • Display of javascript pop-up messages in NLS

    Does anyone have experience with the following condition?
    Display problems will occur on javascript pop-up messages if using English O/S Browser while the language preference for the user is set for another local language.
    Pop-up messages become unreadable as a result. We are trying to come up with a solution to avoid this.

    Ummm - I don't think you'll get much help for JavaScript here, as it is no relation to Java.

  • Javascript pop-ups - Classic ASP

    Anyone ever have a problem with javascript pop-up windows no longer keeping focus after upgrading to 5.0? We recently upgraded, and this is one of the quirky things that's come up...
    Wendy Ramsaur, KSA

    Found the culprit!.
    When disabling an add-on for grabbing material into TreeDBNotes - Add to TreeDBNotes 1.0 - the rest started working fine.
    The TreeDBNotes is a great word processor / database storage, that deserves more users and upgrades!

  • Sen data to javascript pop up

    Hi All:
    I'm working with CRM IC Web Client, and i have developed a BSP Application wich uses BuPaDetail view, and the requirement is that i need to send the bp number from that view to a javascript pop up when the 'confirm' button is clicked, so i need to know how can i send that value to the pop up
    thanks & regards

    Hi Koen:
    I've already tryed it, and it didn't worked, here is a piece of the code that i want to show in a popup:
    <crmic:gridLayoutCell columnIndex="1" rowIndex="3" colSpan="3"><crmic:label design = "label"
                         id = "AccountNo"
                         for    = "//Customer/AccountNo"
                         tooltip = "<%= otr(crm_ic_appl/bupaTooltip3) %>"
                         text   = "<%= otr(crm_ic_appl/bupaAccountNo) %>"/></crmic:gridLayoutCell>
          <crmic:gridLayoutCell columnIndex="4" rowIndex="3" colSpan="5"><crmic:inputField id        = "AccountNo"
                              width = "100%"
                              maxlength = "10"
                              disabled = "TRUE"
                              value     = "//Customer/AccountNo" /></crmic:gridLayoutCell>
    I want to pass the value of the field AccountNo to a popup, but the field is not in a form, so do you have any idea?
    Thanks & regards

  • I am not able to open a javascript pop up mapped from RH 8. Kindly let me know an easy solution.

    I am not able to open a javascript pop up mapped from RH 8 in IE and chrome browser . Kindly let me know an easy solution.
    Thank you

    Hi,
    What output are you using? WebHelp?
    If WebHelp, you may need to amend the way you call the help. You can add the option newwnd=false to ensure that RoboHelp doesn't open the help in a popup. See http://www.wvanweelden.eu/articles/part/regular-start-page for details.
    Greet,
    Willam

  • Javascript pop up confirm

    I would like to have my form be able to delete a database
    entry by clicking
    a button. Easy enough.
    However, I want to make sure that it isn't done by accident.
    Can someone point me to information on how to create a
    javascript pop up to
    confirm the action prior to it executing?
    If a member where to click the remove client button, I would
    like a
    JavaScript window to pop up and ask "Are you sure?"
    If the use clicks yes, it will run the REMOVE sql query on
    the page, if they
    click no, it will just close the window and nothing will
    happen.
    Thanks
    Wally Kolcz
    Developer / Support

    I found many examples of JavaScript confirm popups, but I
    don't know how to
    edit it to do what I want. I have this and, except that it
    wants to leave
    the site, works fine. How can I edit this so it either goes
    to the right
    part of the web site (the delete sol block) or runs the
    delete block inside
    of it? Thanks!
    <script type="text/javascript">
    <!--
    function confirmation() {
    var answer = confirm("Remove client?")
    if (answer){
    alert("Client has been removed.")
    window.location = "
    http://www.google.com/";
    else{
    alert("Client has not been removed.")
    //-->
    </script>
    Wally Kolcz
    Developer / Support

  • JavaScript Pop-up Validation message

    Can we capture the JavaScript Pop-up validation message in OpenScript?

    Hi,
    While recording the Dialog box is captured with the option you choose. Subsequently, while play-back how do you dynamically change the option.
    Eg. While capturing you might have selected 'Yes' option and while playback you want to dynamically choose different option, can someone let me know the steps.
    Thanks
    Raj

  • How Can I Create A Javascript Pop-Up (On Open) Of My PDF?

    Hello All,
    I need to create a pop up window that will encourage the readers of the pdf to fill out and complete all feilds within the pdf before emailing it to a colleague. For this, we would like to use an image that we have already created. Unfotunately, being unfamiliar with Javascript, I do not know the correct syntax for creating th script that would create a pop up of the image we have created. 
    If anyone knows how I can do this, your help would be greatly appreciated.

    Winjack Solutions has 2 products, acrodialogs and acrobuttons, that can be used to create a pop-up dialog with buttons containing icon images that can bed used together to create a more visual dialog pop-up.

  • Adding text to javascript pop up window

    I am opening a pop up windows with javascript from my Flash
    movie that works fine. Each opening window has a video in it. Now
    what I'd like to do is add text under/above the quick time movie
    inside the pop up windows. I'm not very savvy with programming and
    I've tried to look all over but can't find a simple direct answer,
    so any help would be greatly appreciated.
    Thanks!
    Here's the code I have inside the Flash movie:
    btn_rebecca.onRelease = function() {
    getURL("javascript:openNewWindow('Videos/rebecca.mov','thewin','width=500,height=400,toolb ar=no,scrollbars=no')");
    And here's the code I have in the html:
    <script language="JavaScript">
    function openNewWindow(URLtoOpen, windowName, windowFeatures)
    newWindow=window.open(URLtoOpen, windowName, windowFeatures);
    </script>

    An html document is an html document. If you create a
    document that has a line of text, then the QT movie, and then
    another line of text, you have the basic layout of the movie. If
    you just open this document in a browser, it will work as a normal
    html document. If you open that same page using the window.open()
    JS method, then you can define the chrome and size of the window.
    If you don't want to create all 20 pages and load then on
    your server, then you could write a JS function to write the
    content to an html document on the fly. You might do this by:
    1. Use window.open() to open up a blank html document,
    2. Use document.write() to write the html content that you
    want in that document.
    That way you can create as many custom windows with unique
    content as you want.
    If all of the content is static, then it really is a whole
    lot less work to just make the html documents and open them as
    needed.

  • Firefox 31 (Ubuntu) won't open new window or Javascript pop-ups

    Hi, I am running Firefox 31.0 in Ubuntu 14.04 having the following problem:
    1) When I click on New Window or New Private Window in the File menu, nothing happens, same with pressing Ctrl-N.
    2) Certain websites are not able to open new windows or pop-up windows through Java or Javascript
    (e.g. the command: javascript:popup_imp(...) does not produce anything)
    I did try safe-mode and there everything works fine. Then I restarted firefox (several times) with all plugins disabled but still had the same problem, so I don't know what causes the difference between safe-mode and no plugins.
    (By the way, there is no problem opening a New Tab by pressing Ctrl-T or from the file menu, the issue is only the New Window and New Private Window).
    Is there any other way to narrow down what is preventing the new windows?

    Hi cor-el,
    thanks for your answer, however as I explained in my post, safe-mode does not present the problem, but disabling the extensions on its own does not help (i.e with all extensions disabled the problem still is there).
    Also, I did not have this problem in the past and I did not change anything graphics related (unless something was changed software-wise internally and I did not notice).
    And yes I am currently using the default theme.

  • Html tables with javascript pop up windows

    I have two tables with different table-id in html, that are as follows -
    table-header - consists of dynamic week wise days + resources
    table-data in with same nnumbers of columns...
                          for Img - http://i.stack.imgur.com/Gwvoq.png
    The Assign Task is a Button in every cell of table-data , What I need is , whent I click any button, the Pop-up window ( Kendowindow which is I m using right now in Javascript preferably) should display respective Cell row's 1st cell i.e resource's name and Id and cell column's 1st cell i.e. Date string.
    Please suggest the solutions.... Help is kindly appreciated.
    P.S. -- Please don't suggest Kendo Grid or Scheduler, because I can't able produce this kind of format, If you can do pls share your code and procedure.

    This forum is about JavaScript in PDF files, not in HTML pages.

  • Javascript pop-up in servlets question

    I have a problem when i call a pop-up script it actually opens a blank screen upon clicking. I would like to know how do i make sure that when i click that it doesent direct to me a new page. I just want to stay in the same page.
    I tried using return in the end but still no solution.
    if (successCons) {
         output.println("<html>");
         output.println("<body>");
         output.println(" <SCRIPT LANGUAGE='JavaScript'>");
         output.println("alert('Surgery successfully assigned to the customer')");
         output.println(" </SCRIPT> ");
         output.println("</html>");
         output.println("</body>");
         return;
       }Thanks

    If that was true i wouldn't have a chance
    to make a javascipt alert box pop up.It is true. Your argument falls apart because Java, and servlets, having nothing to do with javascript, don't prevent, control, or modify javascript functionality.
    The point was, ask how to do the javascript functionality in a javascript forum. You might want to test it out on a couple static HTML pages first, because Servlets are just a means of delivering HTML content to the browser (if that HTML contains javascript or not).

  • After changing from cs5.5 to cs6 my javascript pop-up not Working??

    Hello, maybe someone could figure this one out.
    I have a file that I have done on CS5.5 and everything works fine, just simple ActionScript 2 and a script: on (release) { getURL("javascript:openNewWindow('http://xxxxxxx.html','thewin','height=800,width=800,toolbar=no,scrollbars=no,top=560,left= 140')"); }
    when I then open the SAME file in CS6 and publish it, everything else works BUT not this pop-up??
    anyone? ideas?
    - Norskuli

    test online or adjust your player security settings,  http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager.html

  • Javascript pop-ups don't open, neither does the Add-ons field. Connected?

    After reset or re-install, I can access Tools > Add-ons once. Then it will not open again. When clicking it or using command (Ctrl+Shift+A), nothing happens - no message, no symbols in address field, nothing.
    Also, web pages with Java pop-ups (it says "javascript:popup_imp..." when I try to use them) do not work, like the web interface of a mail service, where New Message or Reply normally opens in new tab.
    Are these issues related?
    May installed plug-ins be involved?
    What can be done?
    Thankful for any support!
    /m

    Found the culprit!.
    When disabling an add-on for grabbing material into TreeDBNotes - Add to TreeDBNotes 1.0 - the rest started working fine.
    The TreeDBNotes is a great word processor / database storage, that deserves more users and upgrades!

  • Javascript Pop Up Function for Flash 8

    Hi there,
    I have searched and found many articles on a Javascript
    triggered pop up browser window but when I seem to translate them
    into the new version of Flash 8 all functionality seems to fly out
    the window. Any ideas on how I can approach this? I have tested the
    scripts in Flash MX and they work fine but Flash 8? Hmmmmm.... Are
    there any scripts available that would help me out?
    Cheers,
    Simon.

    Are you attempting to use javascript to open a file?
    I just want to make sure I understand....
    If that is what you want to achieve, try this
    getURL"javascript:NewWindow=window.open('somefile.html','newWin','fullscreen=Yes');NewWind ow.focus();void(0);");
    Hope this helps
    Doug

Maybe you are looking for