Web Applet using URL type not appearing as desired

Have created a web applet using URL type (for google maps). Although it works fine, the appearance is not acceptable. It is very elongated and appears to be in an unacceptable size/dimension for users.
Does anybody know a way to configure the size? Any suggestions ??
Thanks.

Hi,
here it goes
well skipping my sleep did find me some solution for your query :) see if it help
use the below code inside the applet for TYPE as HTML under Web Applet HTML.
You can find details about the below script from Google Maps API Section.
Currently I have only configured Ship to country field but you can add the more field accordingly.
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=abcdefg&sensor=true_or_false" type="text/javascript"></script>
<script type="text/javascript">
var shipTo='%%%Ship_To_COUNTRY_Country%%%';
var geocoder = null;
var map = null;
document.onreadystatechange=function() {
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
     if(shipTo!=''){
          geocoder = new GClientGeocoder();
          showAddress(shipTo);
map.setUIToDefault();
function showAddress(address) {
if (geocoder) {
     geocoder.getLatLng(address,function(point) {
          if (!point) {
               alert(address + " not found");
          } else {
               map.setCenter(point, 13);
               var marker = new GMarker(point);
               map.addOverlay(marker);
               marker.openInfoWindowHtml(address);
</script>
]div id="map_canvas" style="width: 500px; height: 300px"></div]
Note:Above line < was replaced by ] due to issue with forum rendering
The only Issue I came across with this Code is it doesn't work on FireFox, well as always Cross Browser Issue....
Good nite :)
Regards,
Deepak H Andeli
Edited by: Deepak H Andeli on Jan 29, 2010 12:19 AM

Similar Messages

  • I have just put a link to my web site but it does not appear while using Firefox but it does if using Internet explorer or Chrome why would this be?

    I am using Window 7 I have just put a link to my web site but it does not appear while using Firefox but it does if using Internet explorer or Chrome why would this be?
    It does appear on a friend's computer using Firefox.
    Barossa Vintage Festival ... this is the missing link on my computer just under the link named ... Autumn photo collection

    No problems here with the tree links:
    View photos
    Friends gather for breakfast
    Friends take an Autumn drive
    Photos of the Barossa Festival
    Reload the web page and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)

  • Applet compiles but does not appear...

    the applet compiles but does not appear :(
    all that appears is a blank box...hopefully someone can help
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    public class program2 extends Applet implements ActionListener
         private Button btLeft, btRight, btUp, btDown, btBgYellow,
         btBgRed, btBgBlue, btBgOrange, btTxtRed,btTxtYellow, btTxtBlue,
         btTxtOrange, btFtHel, btFtCr, btFtTr, btFtSy;
         private MessagePanel messagePanel;
         private Panel p = new Panel();
         public void init()
              p.setLayout(new BorderLayout());
              messagePanel = new MessagePanel("Java is Life");
              messagePanel.setBackground(Color.white);
              //directional buttons
              Panel pButtons = new Panel();
              pButtons.setLayout(new FlowLayout());
              pButtons.add(btLeft = new Button());
              pButtons.add(btRight = new Button());
              pButtons.add(btUp = new Button());
              pButtons.add(btDown = new Button());
              //Background buttons
              Panel BgButtons = new Panel();
              BgButtons.setLayout(new FlowLayout());
              BgButtons.add(btBgRed = new Button());
              btBgRed.setBackground(Color.red);
              BgButtons.add(btBgYellow = new Button());
              btBgYellow.setBackground(Color.yellow);
              BgButtons.add(btBgBlue = new Button());
              btBgBlue.setBackground(Color.blue);
              BgButtons.add(btBgOrange = new Button());
              btBgOrange.setBackground(Color.orange);
              //text color buttons
              Panel txtButtons = new Panel();
              txtButtons.setLayout(new GridLayout(4,1));
              txtButtons.add(btTxtRed = new Button());
              btTxtRed.setBackground(Color.red);
              txtButtons.add(btTxtYellow = new Button());
              btTxtYellow.setBackground(Color.yellow);
              txtButtons.add(btTxtBlue = new Button());
              btTxtBlue.setBackground(Color.blue);
              txtButtons.add(btTxtOrange = new Button());
              btTxtOrange.setBackground(Color.orange);
              //font buttons
              Panel ftButtons = new Panel();
              ftButtons.setLayout(new GridLayout(4,1));
              ftButtons.add(btFtHel = new Button());
              ftButtons.add(btFtCr = new Button());
              ftButtons.add(btFtTr = new Button());
              ftButtons.add(btFtSy = new Button());
              //layout
              p.add(messagePanel, BorderLayout.CENTER);//set center 1st
              p.add(pButtons, BorderLayout.SOUTH);
              p.add(BgButtons, BorderLayout.NORTH);
              p.add(txtButtons, BorderLayout.EAST);
              p.add(ftButtons, BorderLayout.WEST);
              //listeners
              btLeft.addActionListener(this);
              btRight.addActionListener(this);
              btUp.addActionListener(this);
              btDown.addActionListener(this);
              btBgRed.addActionListener(this);
              btBgYellow.addActionListener(this);
              btBgBlue.addActionListener(this);
              btBgOrange.addActionListener(this);
              btTxtRed.addActionListener(this);
              btTxtYellow.addActionListener(this);
              btTxtBlue.addActionListener(this);
              btTxtOrange.addActionListener(this);
              btFtHel.addActionListener(this);
              btFtCr.addActionListener(this);
              btFtTr.addActionListener(this);
              btFtSy.addActionListener(this);
         //implement listener
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == btLeft)
                   left();
              else if(e.getSource() == btRight)
                   right();
              else if(e.getSource() == btUp)
                   up();
              else if(e.getSource() == btDown)
                   down();
              else if(e.getSource() == btBgRed)
                   red();
              else if(e.getSource() == btBgYellow)
                   yellow();
              else if(e.getSource() == btBgBlue)
                   blue();
              else if(e.getSource() == btBgOrange)
                   orange();
              else if(e.getSource() == btTxtRed)
                   redText();
              else if(e.getSource() == btTxtYellow)
                   yellowText();
              else if(e.getSource() == btTxtBlue)
                   blueText();
              else if(e.getSource() == btTxtOrange)
                   orangeText();
              else if(e.getSource() == btFtHel)
                   helvetica();
              else if(e.getSource() == btFtCr)
                   courier();
              else if(e.getSource() == btFtTr)
                   times();
              else if(e.getSource() == btFtSy)
                   symbol();
         //directional methods :0)
         private void left()
              int x = messagePanel.getXCoordinate();
              if(x > 10)
                   messagePanel.setXCoordinate(x - 10);
                   messagePanel.repaint();
         private void right()
              int x = messagePanel.getXCoordinate();
              if(x < (getSize().width - 5))
                   messagePanel.setXCoordinate(x + 5);
                   messagePanel.repaint();
         private void up()
              int y = messagePanel.getYCoordinate();
              if(y < (getSize().height - 10))
                   messagePanel.setYCoordinate(y - 10);
                   messagePanel.repaint();
         private void down()
              int y = messagePanel.getYCoordinate();
              if(y < (getSize().height + 10))
                   messagePanel.setYCoordinate(y + 10);
                   messagePanel.repaint();
         //background methods :)
         private void red()
              messagePanel.setBackground(Color.red);
         private void yellow()
              messagePanel.setBackground(Color.yellow);
         private void blue()
              messagePanel.setBackground(Color.blue);
         private void orange()
              messagePanel.setBackground(Color.orange);
         //text color methods :)
         private void redText()
              messagePanel.setForeground(Color.red);
         private void yellowText()
              messagePanel.setForeground(Color.yellow);
         private void blueText()
              messagePanel.setForeground(Color.blue);
         private void orangeText()
              messagePanel.setForeground(Color.orange);
         private void helvetica()
              Font myfont = new Font("Helvetica", Font.PLAIN,12);
              messagePanel.setFont(myfont);
         private void courier()
              Font myfont = new Font("Courier", Font.PLAIN,12);
              messagePanel.setFont(myfont);
         private void times()
              Font myfont = new Font("TimesRoman", Font.PLAIN,12);
              messagePanel.setFont(myfont);
         private void symbol()
              Font myfont = new Font("Symbol", Font.PLAIN,12);
              messagePanel.setFont(myfont);

    You add everything to the Panel p but you never add that panel to the applet. What you probably want is to add everything to the applet. An applet is a special kind of panel so you can just change "p" to "this" everywhere in init and remove the declaration of p at the top.

  • I can not print web pages,print box does not appear . I can print web pages using IE

    Windows 7. Firefox 5.0 I can not print web pages. After clicking PRINT the print dialog box does not appear and nothing prints. I do not have this problem using IE
    Printer: Brothers HL-5140
    Thank you,
    Syd

    First of all, update Firefox to 3.6.17 via Help | Check For Updates.
    There was a security breach at Comodo which is an SSL certificate provider recently whereby a number of fraudulent certificates were inadvertently issued. These allow a hacker to impersonate any site including online banking and the Firefox version you're running at the moment will not warn you that the site is a fake. The fraudulent certificates were blacklisted in v3.6.17 and beyond.
    To uninstall the Yahoo Toolbar, go to Tools | Add-ons | Extensions. You should find it in there.
    To revert to Google as your preferred search engine, please do the following.
    * In the location bar, type '''about:config''' and hit Enter.
    * In the filter at the top, type: '''keyword.URL'''
    * Double click it and remove whatever's in there and replace it with http://www.google.com/search?q=
    The URL to add in "keyword.URL" becomes a link in this post, so right click it and choose "Copy Link Location" to copy it to the Windows clipboard. Then hit CTRL+V to paste it. Saves you having to type the whole thing.
    '''To reset your home page, do the following'''.
    * Go to the site you want to set as your homepage.
    * Go to '''Tools '''| '''Options '''| '''General'''
    * Make sure it says "''Show My Homepage''" in the first dropdown menu.
    * Click the button called "'''Use Current Pages'''" to set the homepage to the one you have on the screen.
    After you complete the above steps, install this add-on to prevent another search engine from modifying your preferences: https://addons.mozilla.org/en-US/firefox/addon/browserprotect/
    Additonal security risks on your system are the version of Flash you have installed at the moment. See http://www.adobe.com/support/security/bulletins/apsb11-12.html
    Update via http://get.adobe.com/flashplayer/
    Printing issues might be fixed by installing Java via http://www.java.com/en/
    But if the problem persists, please post again.

  • Changes made in the web report selection scree do not appear on webpage.

    Hi
    I want to add 2 checkboxes on a web page of a report. I have done the changes in R/3 ABAP report (Added checkboxes on selection screen) and also released the report for internet using SMW0 transaction. But these two checkboxes are not appearing on the web page in internet explorer.
    Whenever I try to access the URL
    http://www.abc.com/scripts/wgate?~service=webrfc&_FUNCTION=WWW_GET_SELSCREEN&_REPORT=ZWR_PO_DELIVERY&_TEMPLATE=po_selscreen
    it redirects it to the URL below
    http://www.abc.com/scripts/po.asp?SESSION=PRD:ebgwebap:0000.00f5.7e1af317.e4db&SELD_EINDT_LOW=26.04.2008&SELD_BEDAT_LOW=01.04.2007&SELD_BEDAT_HIGH=26.02.2008
    What should I do so that these two checkboxes would start appearing on the webpage?
    Edited by: Pratiksha Parab on Feb 26, 2008 11:28 AM

    thats difficult to say without seeing the code in the template.
    when you dont supply any _tempate value in the url, the system by default uses
    WEBREPORTING_SELSCREEN template.
    your po_selscreen may be a copy of this and modified to change the look and feel or something like that. compare these two and see whats causing the selscreen from appearing completely

  • HP Smart Web Printing Select Button does not appear

    Just started to use Smart Web Printing. The Select Button as shown in the help file does not appear on the screen. Instead, a small box "x Select area to remove" shows within the area to print.
    Printer: HP Photosmart C6380
    System: Windows Vista SP2 Home Premium
    Browser: Internet Explorer v9
    [email protected]

    Hi,
    The HP Smart Web Printing software is not compatible with Internet Explorer 9, you should unisntall it and upgrade to its replacement app HP Smart Print which compatible with your web browser:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02994297&tmp_track_link=ot_faqs/top_issues/en_u...
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Web-object interaction/widget does not appear in published slideshow

    I added the web-object interaction/widget using my notes from the instructions in the relevant Lynda.com video (as the Captivate 7 User Guide makes no mention of the web page widget, web-object widget, web object widget, web-object interaction, web-page interaction, web page interaction, or webpage interaction).
    The web-object interaction, or web-object widget (or whatever you choose to call the thingie that should provide the user of the published project slideshow with direct interaction with a web page from within one of the slides), it sometimes works in preview; may have worked once when published; but otherwise does not appear on the slide.
    On its not appearing in either the published HTML document or the SWF file:
    --I had a Continue button on the slide, and tried removing that.
    This did not help.
    --Because the web-object interaction/widget automatically sets the slide's action on entrance to "Pause," I tried setting it to "No action" (thinking that the slide, being pause on entrance, might never get to the web-object widget/interaction).
    This did not help.
    --I thought that perhaps navigating in the slide show with various "Jump to slide" settings, I would watch it without navigation.
    This did not help.
    Any help will be appreciated.
    Jeff

    In the published folder, I noticed a SWF called stagewebview. I guess this file has got something to do with Web Object interaction. When we link to published HTML file, this SWF is getting called automatically. But in your case since you are linking to published SWF file, the web object interaction SWF is not getting called. So, is it not possible for you to link it to HTM file?
    Sreekanth

  • Discount condition type not appearing in sales order but in invoice

    Hi,
    I have two discount condition types (MPDI,ZSDI) in my pricing procedure,at the time of sales order creation one discount condition is not appearing.
    On analyzing the condition type MPDI,system throws message "Access not been executed due to previous access",what would be the reason.
    In the billing ,i could see the condition type appearing.I have checked this,but i could not understand why it is happening.Even the condition catergory of condition is empty not L.
    Also please find the screen shots below,
    Pradeep

    Pradeep,
    Am sure user might have deleted the condition type in sales order, the same condition type woudl have entered manually in invoice.
    Please check my testing, i have done the same entered ZA09 manually and after saving have deleted again in sales order, after dilivery and when i created invoice here i have entered manually the same condition type.
    So in your case also the same thing could have happend, check the change log and also in invoce condtion tab check the condtion type in analysis ( Invoice analysis not order). so that you can udnerstand whether it was entered manully or not.
    On analyzing the condition type MPDI,system throws message "Access not been executed due to previous access",what would be the reason.
    This is because in the condtion tyoe the abvoe key combiantion was found with records hence the below key combition was ignored. this you observe in your screen shot with with 5.00
    So my guess is the condtion records was deleted in sales order.
    thanks,
    srinu.

  • Condition type not appearing in PO line item

    Dear All
    I made a condition type Y001 for agriculture tax with below mentioned config. and marked as both header and item condition.
    Cond. class   A Discount or surcharge
    Calculat.type A Percentage
    Cond.category B Delivery costs
    Manual entries      C Manual entry has priority
    Now problem is that when I am making contract in contract line item condition Y001 condition is appearing in dropdown and I am able to enter the same in contract and save it.But when I am trying to make a PO by referring the same contract with line item condition Y001, this same condition is not appearing in PO and also it is not appearing in dropdown also so that I can manually enter the same.
    Please let me know why system is behaving like this.
    Regards
    SK

    satish kumar wrote:
    In short condition type Y001 is appearing in contract line item condition tab while making contract but same condition is not appearing in PO line item condition tab while making PO.
    Hi Satish,
    Perhaps you have not assigned the pricing procedure to the Purchasing Orgn & Vendor in IMG Schema determination. Have a chk once and if you have assigned try maintaining a PIR and I hope it should populate the priceing procedure and your cond type Y001 in the PO also.
    Anything pls revert
    Regards
    Shiva

  • Output type not appearing in interco. document - Req. 905 not fulfilled

    Hi everyone. WHen i am creating my intercompany document, no output type is appearing. I have maintained VV31 condition records as well as WE20 settings. Also i have set output device to LOCL .When i click on Analysis output , it gives me
    RD00     502     Output ignored (requirement 905 not fulfilled).
    Any idea on this?

    Is it a newly develop routine.
    I'm not technical guy.
    But, in my opinion, the code need further work-on.
    There are
    - no IF statement
    - no READ statement
    - no table-field refer
    - logic for processing missing
    FORM KOBED_905.
    sy-subrc = 4.
    check komkbv3-rfbsk = 'C'.
    sy-subrc = 0.
    ENDFORM.
    FORM KOBEV_905.
    ENDFORM.
    For instance in this code, if there is no READ Statement, how
    sy-subrc = 4
    Then how system will judge 'READ' statement failed i.e., no record is found with key specified by you.
    Check/discuss with ABABer teammate for this.
    Further, try to manually put this output type in your desire billing type.
    Regards
    JP

  • Excise condition types not appearing in the Delivery document pricing

    Hi,
    This is a scenario of sales from an Exciseable Plant.
    The client has pricing requirement at delivery document.
    I have configured the pricing at Delivery document, but the Excise condition type (JEXP) does not appear.
    We are maintaine ED values at control code level and control code field is not availabe in LIPS, i tried adding the field in LIPS structure but still the ED condition type does not appear as program is not identifying the control code field in delivery.
    Can you please let me know the solution for bringing Excise condition type in the Delivery document pricing procedure.
    Regards
    Venkat

    Changed the Condition Category from 'F' to 'L'.

  • Service Request - Transaction type not appearing in IC Webclient Pop-Up

    Hi,
    The service request transaction types SMRQ and YMRQ do not appear in the webclient pop up when i click on Create Service Request.
    All the other transaction types are working fine.
    I have checked the entries in --> SPRO--> Solution Manager --> Capabilities --> IT Service Management --> Transactions --> Specify several transaction Types.
    The entries are SERVICE_REQUEST_TYPE / Seq No 1 / Field Value YMRQ
    Please find attached the 2 snips of error message.
    Thanks,
    Ritesh

    Hi Ritesh,
    Can you check,
    First with SAP all access so that we can rule out this
    second check if you have below setting in wizard or confirm in transaction type in SPRO i.e. channel CRM UI
    also these are active
    Thanks
    Prakhar

  • Tax Conditions types not appearing in CRM orders and quotations

    Hello All,
    I have created a new tax condition type in ECC and through initial load replicate the same to CRM. pricing procedure repliction with new tax condition is also successful.
    But, the new tax condition is not appearing in condition tab at item level when i create quotation in CRM. other condition types are coming. data for this condition type is there in custom condition table. mapping of tax classifiction to tax group is also done in SPRO.
    Please advise.
    THank and Regards
    Sudhir Grover

    Hello Sudhir,
    You should check the trace log for pricing at first. Set the user parameter:PRC_TRACE as 'X' on T-cd:SU01 for your user and check the Access analysis on the condition tab.
    Regards,
    Masayuki

  • Condition type not appearing in contract

    Dear All
    I made a customised Z condition type.This Z condition type is appearing in PO line item conditions tab but when I am creating contract this same Z condition type is not appeaing in contract line item condition tab.
    Please suggest why is it so?
    Regards
    SK

    Hi SK,
    Check whether the schema group assigned to vendor master (is the pricing procedure that contains the condition type)
    Regards,
    Bijoy Kumar

  • Currency translation type NOT appearing in BEX

    Hi All,
    I'm having trouble displaying the currency translation type in BEX after running the query.  When I use the context menu for 'Currency Translation', I do not see the desired curr tran types in the drop down list.  They are available in the Query Designer but not after I've executed the query.
    I also noticed that the ones that ARE available all have 'Fixed time ref' or 'Query key date' in the Time ref.  The ones I would like to view have a 'Variable Time Ref' but not sure why this is causing a problem.  Any help is appreciated.
    Thanks
    Senthil

    Hi Senthil,
    I believe this is happening because when you have run the report and got data, it means that this data refers to a particular time. If BEx allows you a variable time reference for the currency conversion, after the report has been run taking into account a different time...I am not sure if it would make sense...

Maybe you are looking for

  • The second tab opens in yahoo and i want it to open in google like the first tab does

    my first search tab is set to go to google. when i open any more tabs, they go directly to yahoo, which i do not like as a search engine

  • Problems with After Effects/Premiere CS3 in Vista

    I have read through a bundle of solutions to this problem and haven't found anything that has worked yet. I ran After Effects and Premiere Pro on Vista up until two days ago when it refused to open. When I try to open Premiere, it gives the message "

  • My Apple blue tooth keyboard will not pair with my mac mini

    My Apple wireless keyboard was paired with my Mac Mini. It is no longer paired. I have put in new Batteries. I have pressed the button on the top right hand section of the keyboard, the green led lights up briefly. The Blue Tooth set up assistant app

  • Java Cryptographic Extension

    Hi Forum, Just commenced an academic project on Cryptography in Uni today and started studying some materials. I have tried to import SunJCE into my java class by specifying the statement "import com.sun.crypto.provider.SunJCE" in an enclipse work sp

  • Mac App Store troubles

    So earlier today I bought iMovie 11 for my Macbook and installed it and it had a problem where the video window was always black no matter what type of video or photo you tried to play. So I decided to clean install of Mac OS X. I finished the instal