Need help with pop up windows!

I'm working on a page that's very long and it has your basic
"click on a small thumbnail of an image and a larger version opens
up in a pop up window". I downloaded a free extension from the
Macromedia exchange called Open Picture Window Fever, but it has a
couple of problems. First, there's no option to center the pop up
window, only dimensions you can manually put in. Plus when you
click on the picture, the new window opens but the original page
with the thumbnails automatically goes to the top when the pop up
opens (this is a problem because the page is very long and the user
would have to scroll back down each time they clicked on an image,
a big pain). The only other option I have is to use the Dreamweaver
Open Browser Image Behavior. The problems with that is that you
have to make a html page for each image, which is a drag. Also, I
can get the pop up window to center with a different extension I
downloaded, but I still have the same problem with the original
page jumps to the top.
What can I do to fix this? Anybody have other ideas or free
extensions I haven't tried yet?

> Plus when
> you click on the picture, the new window opens but the
original page with
> the
> thumbnails automatically goes to the top when the pop up
opens
Go to PVII and look for a free extension called Fix Null
Links....
http://www.projectseven.com/
That'll take care of that one.
> The only other option I
> have is to use the Dreamweaver Open Browser Image
Behavior.
Go to E. Michael Brandt's site, and examine JustSo Picture
Window. It's
commercial but it's way nicer than PWF, in my opinion....
http://www.valleywebdesigns.com
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
==================
"xslamx" <[email protected]> wrote in
message
news:[email protected]...
> I'm working on a page that's very long and it has your
basic "click on a
> small
> thumbnail of an image and a larger version opens up in a
pop up window".
> I
> downloaded a free extension from the Macromedia exchange
called Open
> Picture
> Window Fever, but it has a couple of problems. First,
there's no option
> to
> center the pop up window, only dimensions you can
manually put in. Plus
> when
> you click on the picture, the new window opens but the
original page with
> the
> thumbnails automatically goes to the top when the pop up
opens (this is a
> problem because the page is very long and the user would
have to scroll
> back
> down each time they clicked on an image, a big pain).
The only other
> option I
> have is to use the Dreamweaver Open Browser Image
Behavior. The problems
> with
> that is that you have to make a html page for each
image, which is a drag.
> Also, I can get the pop up window to center with a
different extension I
> downloaded, but I still have the same problem with the
original page jumps
> to
> the top.
>
> What can I do to fix this? Anybody have other ideas or
free extensions I
> haven't tried yet?
>

Similar Messages

  • Need help with pop up window!

    I'm working on an online graphic design portfolio and one of the pages features online animated Flash banners.  The site can be viewed here...
    http://truetilldeathhq.com/Skiz/main8_v7.html
    I created a pop up window that displays a swf of the banner by putting this code on the View Banner link of each example of work...
    on (release) {
    var jscommand:String = "window.open('http://www.truetilldeathhq.com/Skiz/banners/336x280DuvalCX9.html','win','height= 296,width=352,left=112,top=330,toolbar=no,resizable=no,location=no,scrollbars=no ');";getURL("javascript:" + jscommand + " void(0);");
    Two problems though.  First is in Firefox the location bar with the url to the swf is visible, even though I set location=no as a variable in the code (it works ok in Safari).  The window is also resizable in Firefox and Safari even though the variable is set to resizable=no.  How can I fix this?
    Second problem, even though I painstakingly set the left and top variables by trial and error to get the pop up window to open exactly in the center of the "stage" area of the site, when I post it and view it in a browser, the window pops up lower.  When I'm in the fla of the site and I preview it in a browser, it's fine, but for some reason when I post the files online and then open it from http://truetilldeathhq.com/Skiz/main8_v7.html, the pop ups come in lower.  Any fixes or advice on this?
    Thanks for your help!

    Forgive me for my ignorance, but I'm new to Flash and any kind of scripting and I didn't quite follow that page you directed me to.  Right now I'm working up a Flash template and the action on the link for the banner pages looks like this:
    on(rollOver) {
    this.gotoAndPlay("s1");
    on(rollOut, releaseOutside) {
    this.gotoAndPlay("s2");
    on (release) {
    _root.popup_pressed=1;
    _root.scrHEIGHT=240
    _root.scroller.scroller.gotoAndStop(2);
    _root.TM_title = "Work 1 read more";
    _root.READ = 1;
    _root.scroller.gotoAndPlay("s1");
    How can I work up the on (release) so I'll get a simple pop up window, say 728x90, no scrollbars or resizing, that will open somewhere in the middle of the site?  If I wanted a title to the pop up window, how would I do that?
    Again, thanks so much for your time and excuse my newbieness.

  • Almost finished with site, really need help with pop up window!!!!!

    I've got one last thing to finish up on this site I've been working on.  I've posted what I've worked up so far at:
    http://truetilldeathhq.com/main8_v7/main8_v7.html
    I still have to finish linking the actual banner swfs on the Online Banners page, which will display animated banner ads for the portfolio.  Ideally, when the user clicked the View Banner link, I wanted to have the banners display in a similar pop up window like the other examples of the work (with same title area, close button, etc., click the Detailed View button on Merchandise page for example).  That was problematic due to different frame rates of the banner swfs, getting the pop up window to contain just the stage area of the swf and not the working area, getting the window to pop up in the middle and not get cut off at the right side, etc.  Like I said, ideally I'd like to do this, so if anyone has a relatively quick fix, I'm all ears.
    I figured my best route now is to somehow have Flash trigger an html pop up window when the link is clicked and have it display in the middle of the page at the exact dimensions of the banner.  Anybody know the best way to do this?  I'm at my wits end and I really have to have this finished for Monday so any help is more than appreciated, thank big time in advance!

    Forgive me for my ignorance, but I'm new to Flash and any kind of scripting and I didn't quite follow that page you directed me to.  Right now I'm working up a Flash template and the action on the link for the banner pages looks like this:
    on(rollOver) {
    this.gotoAndPlay("s1");
    on(rollOut, releaseOutside) {
    this.gotoAndPlay("s2");
    on (release) {
    _root.popup_pressed=1;
    _root.scrHEIGHT=240
    _root.scroller.scroller.gotoAndStop(2);
    _root.TM_title = "Work 1 read more";
    _root.READ = 1;
    _root.scroller.gotoAndPlay("s1");
    How can I work up the on (release) so I'll get a simple pop up window, say 728x90, no scrollbars or resizing, that will open somewhere in the middle of the site?  If I wanted a title to the pop up window, how would I do that?
    Again, thanks so much for your time and excuse my newbieness.

  • Need help with pop-up

    Need help with this one. All of a sudden I keep getting a
    pop-up saying "cannot locate file flash.ocx". What the heck is it
    and how do I get rid of it. It is QUITE annoying. Any help would be
    appreciated.

    I am glad to hear that changing or disabling the screensaver
    seems to fix this problem for most of us. Certainly, screensavers
    are pretty antiquated and pointless on the newer computers out
    there, but there are still some uses. Ever since I turned mine off
    on one computer and switched to an older screensaver on my oldest
    computer, I have not had this problem. And, unfortunately, I think
    the problem is isolated to such a small fraction of screensavers
    that adobe is just going to let those distributors take care of the
    problem rather than spending the time to fix whatever glitch is
    affecting them. The only downside is that once you figure out the
    problem, which can take time and effort, you could lose a pretty
    cool screensaver. All in all, that isn't much in the long run,
    certainly not enough to get adobe involved.

  • Need help with Verizon DSL & Windows XP

    Hello All,
    I am personally running Verizon FIOS without any problems. However, my father-in-law still has Verizon DSL, which he has been using without any problems for the last 4 years until now.
    To make the long story short, it seems that the LAN card that came with his old Dell PC died. I pulled it (there is no LAN NIC on the motherboard), and installed a new LAN card, which supports 10/100 MBps and is RoHS complient. However, for some unknown still to us reason, he is getting the LAN "Limited Connection" error.
    I have tried everything I could think of, and spent over 6 hours with 3 different Verizon DSL tech support folks. However, we cannot even get to 192.168.1.1 (which is the address of the Westell 6100). I have tried even slowing the LAN card to 10 Mbps / Half-Duplex (or Full). TCP/IPv4 is set to obtain IP / DNS automatically and etc...  It's also set to DHCP.
    We know fo sure that his Verizon DSL connection does work. Why? Because when I plugged in the same Ethernet cable into a laptop that I brought with me, we had an instant Internet connection (running Windows 7).
    So it must be something within Windows XP that is blocking access. I am trying to do everything to not having for him to buy a new computer at this time and save the current system.
    I have deleted any and all Network cards drivers in the Control Panel / System / Devices. I have NOT messed with any registry tricks, but am now willing.
    Any and all help with suggestions is greately appreciated.

    Best guess is that you need a WindowsXP compatible driver for your new LAN card.   You definitely need a driver, so if you "deleted any and all Network cards drivers" it isn't going to work.  Go to the company website for the new LAN card and they should have a suitable driver.
    There should not be any need to mess with the registry.

  • Need Help with safari for Windows 8

    i am stuck with the need to have a pc due to a proprietary business software... I am a mac user and prefer to use safari... i just had to by a new pc and tried to download safari for windows 8.1 but cannot find it... any help out there?

    Apple hasn't supported Safari for Windows in quite a while (and even when they did, you wouldn't want it - total crap). IE 11 actually isn't bad, you can also try Chrome.

  • Help with pop up window

    Hi
    I am developing a site with Dreamweaver CS3. My problem is
    that I need to define certain words in the site which when clicked,
    open a seperate browser window that shows the definition of the
    word. The new window that opens contains all the definitions to
    numerous words. I have the links from each word to the definition
    list window working properly but I would like the window to open
    and make the word that the user clicked on be shown without the
    user having to scroll to the word he is trying to define. Ex. If
    the user clicks on the word "Default", when the definition window
    opens, I would like the list to be scrolled automatically to that
    word.
    Any help would be appreciated.
    Thanks

    Captain825 wrote:
    > Thank you, it works perfectly! One last question. Can
    you tell me how to control the size of the definition page so that
    it opens to a specific size each time?
    >
    > Thank you
    >
    i am guessing, since we've not seen your page, that you are
    using the
    target attribute to open the new window? If so, it is not
    possible to
    control the size of the window that it opens. Moreover, and
    even worse,
    it will spawn multiple windows - i.e. each time the user
    clicks, a brand
    new window will open and need to be manually closed.
    Better would be to do this using a window.open() script. DW
    offers a
    built-in Behavior, called Open Browser Window. But it has its
    own
    issues, not the least of which is it too spawns multiple
    windows.
    I offer an inexpensive DW Extension that makes all this
    really easy. It
    will not spawn multiple windows, it does not require adding a
    behavior
    to each link, it can be added to all your pages at once, and
    many more
    options and benefits. You can see it at
    http://divahtml.com/products/divaPOPgold/open_popup_windows.php
    Hope that helps.
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Need help with Pop Up message

    I've created a pop up message for a client that notifies you
    when you are leaving a site. You can press ok to get redirected to
    another site or cancel out by pressing the X. But when you press
    the X it redirects you to the site anyways. Is there a way to
    cancel the action or redirection of the pop up message window. Or
    do I need to create a seperate page for the pop up message.

    If you haven't already, you would be well served searching
    through the
    archives for the answer to your question. The archives can be
    found here:
    http://groups.google.com/group/macromedia.dreamweaver
    http://groups.google.com/group/macromedia.dreamweaver.appdev
    In this case, I think you'll find an answer that says, "Don't
    do this,
    people know what they want to do".
    You don't need to repost the topic, if somebody wants to help
    you they will.
    It's doubtful anybody will, though, because it's not a
    popular behavior on
    the net.
    The only place that still does it that I surf is my bank, and
    I can't think
    of a worse security botch up. What if I just leave and
    somebody comes in
    behind meand clicks "cancel". Stupid.

  • Need help with pop-up menu and applied Rules

    I'm working on a spreadsheet that calculates my profit and losses. I drive a big rig so it needs to keep track of a lot of variables so I know if I'm going to make money on a run or lose money.
    I get fuel discounts of various amounts depending on which vendor I fuel at.
    I went to a section of the sheet and did a pop-up menu that contains the vendor names.
    In the trip section I have cost of fuel per gallon, gallons purchased, total fuel cost, cost minus fuel surcharge.
    What I would like to do is apply a rule to cost per gallon box (H7) that takes a variable from the pop-up menu (B40).
    So if H7 has $2.58 entered as a cost and B40 has pilot selected then $0.050 will automatically be deducted from the $2.58. This way I will have a history of where I fuel, the deduction is made automatically, and I have a history of fuel prices in a certain region.
    If anyone looks at this and sees a simpler way of figuring this calculation please make the suggestion. I want to keep this sheet as small and hassle free as possible.
    I have 3 fuel stops per trip with totals that are connected to other areas. Once I get all of this done I will be adding a chart for easy comparison and long range simple tracking to see where improvements can be made and costs are going.
    Thanks in advance all help will be appreciated.
    Message was edited by: Hwoodwriter for clarification.

    The IF Lookup table worked. Did a little modification by placing the table in another part of the chart then hiding that part.
    I tried doing the discount as a negative but got a negative total which had a negative affect on my total trip income.
    Here is how it works in it's final version.
    Gallons on board minus gallons required for trip.
    Cost per gallon (retail) multiplied by gallons purchased.
    Fuel cost equals (Gallons purchased multiplied by Retail gallon price) minus ("IfLookup" multiplied by Gallons purchased)
    Fuel Cost Minus Fuel Surcharge (the actual price I pay, which includes all my savings) equals (Retail Gallon Cost minus Fuel Surcharge minus "IfLookup") multiplied by Gallons Purchased.
    Some of my trips take up to 3 fuel stops. So this helps me keep track of each fuel stop and all savings per trip.
    I now have where I fueled, the retail price, with discount and surcharge applied. A few keystrokes and I know if a trip is going to be profitable or a loss for me.
    Thank you for the help. I now have what I need at my fingertips to make my job more effective.
    Thanks again.

  • Need help with Pop Menu Magic I

    I'm working on a site, you can see the index page here: http://www.graphicedgepro.com/gcw/index.html
    What I'm attempting to do is have the horizontal menu be in a table cell that has a background and you can see through the menu buttons.  I got this to work, but I need the buttons to be centered in the table cell. Right now they they start on the left side.
    Is there a way to center the menu bar?
    I have Pop Menu Magic II, and I downloaded the update (1.4.9) but when I try to get the menu bar into the cell, it causes the background image to repeat and there is too much space above and below the actual manu bar.  I know I can set this version of this extension to center the menu, but if I cannot get it to look like the Pop Menu Magic I I'm using now, it's not going to help.  I tried just putting the menu in using Cayenne as the color scheme so it would be easier to find the CSS code that I would need to change.  I do not know if I mess with the CSS if I can get the bar to set into the cell the way I need it.  I'm just not sure what to do to get this to be right.
    Any help would be appreciated.
    Thanks in advance.
    Nina

    Here is your menu converted to PMM2:
    http://www.projectseven.com/testing/customers/nina/
    Al Sparber - PVII
    http://www.projectseven.com
    Dreamweaver Menus | Galleries | Widgets
    http://www.projectseven.com/go/hgm
    The Ultimate Web 2.0 Carousel

  • Need help with refreshing open window in new tab

    Hello all,
    First, all my other problems I've solved.  One last thing, being a newbie and trying things I've found on the net and them
    not working, I can use your help one last time.  My code has a Home page that peforms a Search (most of you have
    I am sure done this), and from that search submit a window opens in a new tab (browser tab) and has the results on
    it.
    That works fine.  What I'm having trouble with is being able to perform a new search and refreshing that open window
    with the new data.  Right now I am closing that window by clicking on the tab and then performing the search.
    While it works, it's not user friendly.
    So, I've tried the usual  mywindow=window.open("url.cfm"); and then trying to grab that handle to refresh, but to
    no avail.  Has anyone done this?
    Thanks!

    Here's an example of how you could do it.
    <script>
    function submitAndFocusTarget(form) {
      var win = window.open("", form.target);
      form.submit();
      win.focus();
    </script>
    <form action="index.cfm" target="mysearchwin" method="get" onsubmit="submitAndFocusTarget(this); return false;">
      <input type="text" name="search" value="" />
      <input type="submit" value="search" />
    </form>

  • Need help with a popup window problem

    I have this code within my certAppB.js page :
    function AppSubmit() {
         str1 = "Submitting this form will begin the approval process.";
         str2 = "You will not be able to come back to this form to edit it again.";
         str3 = "Do you want to continue submitting this form?";
         if((confirm(str1 + "\n" + str2 + "\n" + str3))){
              document.forms[0].status.value="Submitted";
              document.forms[0].submit();
    Which produces a popup windows that says:
    Submitting this form will begin the approval process
    You will not be able to come back to this form to edit it again
    Do you want to continue submitting this form?
    OK Cancel (these are 2 buttons)
    I want to change this to say:
    Submitting this form will begin the approval process. You will not be able to change this form once submitted. You also agree that the following statement is true and correct to the best of your knowledge and belief:
    "I, [User Name], hereby certify and state on behalf of [Company Name] that the energy use data contained on this form are accurately determined and stated in accordance with federal test procedures set forth in 10 CFR Part 430 or 431, or 42U.S.C.�6314, as applicable, including authorized waivers, as they currently exist on [Date]."
    Do you want to continue submitting this form?
    OK           Cancel
    So I have to pull the users [User Name], [Company Name], and the [Date].
    On the approverView.jsp login page ( which is the first login page users see after loggin) it shows
    the users full name, so I nabbed the code from that page:
    <body>
    <jsp:include page="logo.jsp" />
    <jsp:include page="unav-navigate.jsp" />
    <table width="100%" border="0" cellspacing="0" cellpadding="5" class="info">
    <tr>
    <td width="25%" valign="top">
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="welcome">Welcome
    <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    <bean:write name="UserContainer" property="userView.lastName" scope="session"/>
    !</span><br>
    </logic:present>
    <span class="sm">If you are not this person, please click <html:link styleClass="norm" href="/fake_name/logoff.do">here</html:link>.</span></td>
    <td width="2%"> </td>
    <td width="73%" valign="top"><jsp:include page="instruction.jsp" /></td>
    </tr>
    </table>
    and made this code out of it to pull the username,companyname:
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="User"> User
    <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    <bean:write name="UserContainer" property="userView.lastName" scope="session"/>
    !</span><br>
    </logic:present>
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="Company">Company
         <bean:write name="UserContainer" property="userView.companyName" scope="session"/>
    !</span><br>
    </logic:present>
    This is the userView.java page that is referanced :
    * Created on Mar 28, 2003
    * To change this generated comment go to
    * Window>Preferences>Java>Code Generation>Code Template
    package org.fake.name.view;
    import java.io.Serializable;
    import java.util.List;
    import org.gama.cafs.businessobjects.TorqueDb;
    * @author chris
    public class UserView implements Serializable {
         private int userId;
         private int memberId;
         private int companyId;
         private String role;
         private String firstName;
         private String lastName;
         private String companyTitle;
         private String emailAddress;
         private String phoneNumber;
         private String companyName;
         private String address1;
         private String address2;
         private String address3;
         private String city;
         private String state;
         private String province;
         private String postalCode;
         private String countryName;
         private List productTypes = null;
         private List productTypeAcronyms = null;
         private List productTypeIds = null;
         private List tradeNameIds = null;
         private List tradeNames = null;
         private TorqueDb torqueDb = null;
         public UserView() { }
         * @return String
         public String getAddress1() {
              return address1;
         * @return String
         public String getAddress2() {
              return address2;
         * @return String
         public String getAddress3() {
              return address3;
         * @return String
         public String getCity() {
              return city;
         * @return String
         public String getCompanyName() {
              return companyName;
         * @return String
         public String getCompanyTitle() {
              return companyTitle;
         * @return String
         public String getCountryName() {
              return countryName;
         * @return String
         public String getEmailAddress() {
              return emailAddress;
         * @return String
         public String getFirstName() {
              return firstName;
         * @return String
         public String getLastName() {
              return lastName;
         * @return int
         public int getMemberId() {
              return memberId;
         * @return String
         public String getPhoneNumber() {
              return phoneNumber;
         * @return String
         public String getPostalCode() {
              return postalCode;
         * @return Set
         public List getProductTypes() {
              return productTypes;
         * @return String
         public String getProvince() {
              return province;
         * @return String
         public String getRole() {
              return role;
         * @return String
         public String getState() {
              return state;
         * @return int
         public int getUserId() {
              return userId;
         * Sets the address1.
         * @param address1 The address1 to set
         public void setAddress1(String address1) {
              this.address1 = trimString(address1);
         * Sets the address2.
         * @param address2 The address2 to set
         public void setAddress2(String address2) {
              this.address2 = trimString(address2);
         * Sets the address3.
         * @param address3 The address3 to set
         public void setAddress3(String address3) {
              this.address3 = trimString(address3);
         * Sets the city.
         * @param city The city to set
         public void setCity(String city) {
              this.city = trimString(city);
         * Sets the companyName.
         * @param companyName The companyName to set
         public void setCompanyName(String companyName) {
              this.companyName = trimString(companyName);
         * Sets the companyTitle.
         * @param companyTitle The companyTitle to set
         public void setCompanyTitle(String companyTitle) {
              this.companyTitle = trimString(companyTitle);
         * Sets the countryName.
         * @param countryName The countryName to set
         public void setCountryName(String countryName) {
              this.countryName = trimString(countryName);
         * Sets the emailAddress.
         * @param emailAddress The emailAddress to set
         public void setEmailAddress(String emailAddress) {
              this.emailAddress = trimString(emailAddress);
         * Sets the firstName.
         * @param firstName The firstName to set
         public void setFirstName(String firstName) {
              this.firstName = trimString(firstName);
         * Sets the lastName.
         * @param lastName The lastName to set
         public void setLastName(String lastName) {
              this.lastName = trimString(lastName);
         * Sets the memberId.
         * @param memberId The memberId to set
         public void setMemberId(int memberId) {
              this.memberId = memberId;
         * Sets the phoneNumber.
         * @param phoneNumber The phoneNumber to set
         public void setPhoneNumber(String phoneNumber) {
              this.phoneNumber = trimString(phoneNumber);
         * Sets the postalCode.
         * @param postalCode The postalCode to set
         public void setPostalCode(String postalCode) {
              this.postalCode = trimString(postalCode);
         * Sets the productTypes.
         * @param productTypes The productTypes to set
         public void setProductTypes(List productTypes) {
              this.productTypes = productTypes;
         * Sets the province.
         * @param province The province to set
         public void setProvince(String province) {
              this.province = trimString(province);
         * Sets the role.
         * @param role The role to set
         public void setRole(String role) {
              this.role = trimString(role);
         * Sets the state.
         * @param state The state to set
         public void setState(String state) {
              this.state = trimString(state);
         * Sets the userId.
         * @param userId The userId to set
         public void setUserId(int userId) {
              this.userId = userId;
         * @return List
         public List getProductTypeAcronyms() {
              return productTypeAcronyms;
         * Sets the productTypeIds.
         * @param productTypeIds The productTypeIds to set
         public void setProductTypeAcronyms(List productTypeAcronyms) {
              this.productTypeAcronyms = productTypeAcronyms;
         public List getProductTypeIds() {
              return productTypeIds;
         public void setProductTypeIds(List productTypeIds) {
              this.productTypeIds = productTypeIds;
         private String trimString(String str) {
              String tmp = null;
              if (str != null)
                   tmp = str.trim();
              else
                   tmp = str;
              return tmp;
         public List getTradeNameIds() {
              return tradeNameIds;
         public List getTradeNames() {
              return tradeNames;
         public void setTradeNameIds(List list) {
              tradeNameIds = list;
         public void setTradeNames(List list) {
              tradeNames = list;
         public TorqueDb getTorqueDb() {
              return torqueDb;
         public void setTorqueDb(TorqueDb db) {
              torqueDb = db;
         public int getCompanyId() {
              return companyId;
         public void setCompanyId(int i) {
              companyId = i;
    Question:
    How do I insert the code I assembled:
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="User"> User
    <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    <bean:write name="UserContainer" property="userView.lastName" scope="session"/>
    !</span><br>
    </logic:present>
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="Company">Company
         <bean:write name="UserContainer" property="userView.companyName" scope="session"/>
    !</span><br>
    </logic:present>
    INTO the function:
    function AppSubmit() {
         str1 = "Submitting this form will begin the approval process.";
         str2 = "You will not be able to come back to this form to edit it again.";
         str3 = "Do you want to continue submitting this form?";
         if((confirm(str1 + "\n" + str2 + "\n" + str3))){
              document.forms[0].status.value="Submitted";
              document.forms[0].submit();
    So that the popup window will show the [username], [CompanyName], [Date]. I can�t find any doc�s on how to insert logic into a function with str�s.
    Any help would be very much appreciated. Thanks in advance.
    Applications used by me: Sun solaris 8 server, Tomcat 4.1.24, pulling from postgresql 7.3, and I edit in Eclipse 2.11.

    These two tags:
    <logic:present name="UserContainer" property="userView" scope="session">
    </logic:present>
    surround things you only want to happen if there is a userView object present.
    This tag:
    <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    is replaced with the value of userView.getFirstName().
    So:
    <logic:present name="UserContainer" property="userView" scope="session">
    <span class="User"> User
    <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    <bean:write name="UserContainer" property="userView.lastName" scope="session"/>
    !</span><br>
    </logic:present>
    becomes:
    User Jim Steinberger !
    if the userView object is present and firstName == Jim and lastName == Steinberger.
    To insert those values into your JavaScript function:
    <logic:present name="UserContainer" property="userView" scope="session">
    function AppSubmit() {
    str1 = "Submitting this form will begin the approval process.";
    str2 = "You will not be able to come back to this form to edit it again.";
    str3 = "You also agree that the following statement is true and correct to the best of your knowledge and belief:";
    str4 = "";
    str5 = "I, <bean:write name="UserContainer" property="userView.firstName" scope="session"/>
    <bean:write name="UserContainer" property="userView.lastName" scope="session"/>, hereby certify and state on behalf of <bean:write name="UserContainer" property="userView.companyName" scope="session"/> that the energy use data contained on this form are accurately determined and stated in accordance with federal test procedures set forth in 10 CFR Part 430 or 431, or 42U.S.C.?6314, as applicable, including authorized waivers, as they currently exist on " + new Date().getDate() + "/" + new Date().getMonth() + "/" + new Date().getFullYear() + ".";
    str6 = "Do you want to continue submitting this form?";
    if((confirm( str1 + "\n" + str2 + "\n" + str3 + "\n\n\n" + str4 + "\n" + str5 + "\n" + str6 ))){
    document.forms[0].status.value="Submitted";
    document.forms[0].submit();
    </logic:present>
    Should become:
    function AppSubmit() {
    str1 = "Submitting this form will begin the approval process.";
    str2 = "You will not be able to come back to this form to edit it again.";
    str3 = "You also agree that the following statement is true and correct to the best of your knowledge and belief:";
    str4 = "I, Jim Steinberger, hereby certify and state on behalf of Dynamic Edge, Inc. that the energy use data contained on this form are accurately determined and stated in accordance with federal test procedures set forth in 10 CFR Part 430 or 431, or 42U.S.C.?6314, as applicable, including authorized waivers, as they currently exist on " + new Date().getDate() + "/" + new Date().getMonth() + "/" + new Date().getFullYear() + ".";
    str6 = "Do you want to continue submitting this form?";
    if((confirm( str1 + "\n" + str2 + "\n" + str3 + "\n\n" + str4 + "\n" + str5 + "\n\n" + str6 ))){
    document.forms[0].status.value="Submitted";
    document.forms[0].submit();
    after being processed by Tomcat and Struts. (Note: the function will not appear if userView is missing)
    By the way, you might be missing the closing bracket to function AppSubmit() { which might throw a JavaScript error. Just FYI :)
    Good luck!
    Jim Steinberger
    [email protected]

  • Need help with jre-1_5_0_04 windows i586 use windows 98 first edition HELP

    HI,
    this is my first post here so please bear with me while I try to explain the problems I seem to be having here . I hope that someone here can assist me with these issues as well???
    I am using the windows98 first edition, and I wanted to use the latest version of java which I think is this 1_5_0_04 version, but when I get it download it said it is recommended that I not use this version,
    but I work with Yahoo sitebuilder for my online websites and need this verision to get sitebuilder to work?
    Now I read somewhere just dont remember where forgive me, but it said in that artical that there is a workaround or something to that nature to make this version of Java to work with the windows 98 version I am using?
    I do seem to have other versions of java on this PC as well but dont no how to remove them all and where to look to remove the older versions of java if need be to get this latest version of java to work right for me?
    I did the test and it said I have the latest version of the java but like I said it now wont seem to work with this yahoo site builder and it was working before but just mega and I do mean mega sloww???
    can someone please further assist me with this and please, I will need detail step by step as to how to get this java to work with my PC and be workable with the Yahoo sitebuilder as well???
    thanks in advance and I eagerly await some useful steps to try out here .
    I think also that I might need to go in and change paths or classes or something of that nature as well to try to get it to work. the java??
    Now the download took I wanted to mention apart from the install part that said this might not be compatiable with the version of windows that I am useing but I am hopeing again that there is a work around to this issue??
    thanks
    LIBBY

    There is no work around, that Windows version is no longer compatible.
    You can find older versions of Java here:
    http://java.sun.com/products/archive/index.html
    You may want to find the latest version that is compatible with your Windows, and install that.
    I strongly recommend that you uninstall all existing Java versions first. Do that using Windows' Add/Remove Program function.

  • I need help with itunes for windows 7.

    wondering if any one can help? i am running windows 7 and i recently had trouble with itunes it used to open and work, when i recieved my new iphone itunes decided not to open any more i tried un-install and re-install and it didnt work i reset my laptop back to its factory settings and re-installed itunes it worked for that day then went wrong again. i have tried doing apple software update and it comes up with error and some numbers followed by cc. if i try and re-install itunes it says invalid right to use bonjour.
    any help? thanks

    I have absolutely no idea who Ari is
    It appears you do not know how to use this forum
    To reply back to Ari, you should have done that on the same thread so that he can see it
    Yes, you can call Apple if you are willing to pay for it
    Allan

  • Need help with pop up menus...

    Hi guys, hope u can help me with this. Im working on a flash
    website. I have to include a pop up menu which I have managed to
    create no problem. However, when I try to make the buttons inside
    the pop up to change to another scene when clicked I cant get them
    to work. This is the code I've used:
    on (release) {
    _root.gotoAndStop("Student_area","tests");
    I have defined the action to go to the frame labeled "tests"
    in the "Student_area" scene as I have been told in a tutorial I
    have. However when I test it and click on it nothing happens. I
    have tried many variations such as simply telling it to take me to
    the students scene like I would do with a normal button but still
    nothing happens.
    What am I doing wrong?
    Hope someone can help me, gotta submit this soon.
    Thanks in advance.

    bump...
    Anyone?? Please.

Maybe you are looking for

  • Error while creating document numbering series via SDK add on

    Dear Experts, We receive the following error while creating the document numbering series through the SDK add on [Microsoft][SQL Server Native Client 10.0][SQL Server]The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream

  • Planning Layout error K9162 - max number of columns in planning layout rest

    Hello collegues, our client would like to have 34 columns in planning layout costs activity inputs of TA KP67. But error message K9162 - max. number of columns is restricted to 30. So I tried to switch of the message with TA OBA5 application area K9

  • Program with out an installer, RemoteApp

    I have a professor created program that does not have an installer and he would like to have it published in our RemoteApps environment.  I tried just manually publishing the program but only one user at a time can use the program.  This program did

  • I can't view video thumbnails for Quicktime Movies?

    I noticed on my Macbook that when I mouse over a Quicktime video file, a play icon appears and I can play the video directly from the thumbnail without having to open up Quicktime Player.  This works both on the desktop and in Finder.  On my iMac, th

  • How can I edit my old iWeb-page?

    Started playing with iWeb in 08 and then forgot about it. Now I want to get started again and wish to use my old page. Is it possible to get all the info to my iWeb even though I don't have it on my computer? Or is the easiest thing just to start all