How to get browser's page to fit within laptop window
Upon upgrading from version 3.x of Firefox to 9.0, top and bottom portions of the page became out of vision (too high and too low) so as to make it impossible to see or click on sites, instructions, etc. at the top or to see or click on the "start" Windows button at the lower left of the screen. And so forth.
here is javascript fn: you can use:
in page layout
<script>
var myWidth = 0, myHeight = 0;
if( typeof( window.innerWidth ) == 'number' ) {
//Non-IE
myWidth = window.innerWidth;
myHeight = window.innerHeight;
} else if( document.documentElement &&
( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
//IE 6+ in 'standards compliant mode'
myWidth = document.documentElement.clientWidth;
myHeight = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
//IE 4 compatible
myWidth = document.body.clientWidth;
myHeight = document.body.clientHeight;
window.alert( 'Width = ' + myWidth );
window.alert( 'Height = ' + myHeight );
txt1 = document.getElementById("ip");
txt.value = myWidth ;
</script>
<htmlb:inputField id = "ip"
value = "<%= width %>"
visible = "FALSE" />
in oninput processing:
width = request->get_form_field( 'ip' ).
width is your attribute:
regards,
Hemendra
Message was edited by: Hemendra Singh Manral
Similar Messages
-
So, I made my account a while ago before I had an iPhone so I can get music. The result of that I can't remember my security questions, and it tells me to send a rescue email an alert, but it doesn't show you how to get to that page. I am getting quite annoyed because apples hours arent the best fitted to my scedule since I have school and work, so I cant call and ask how to get fixed. Please help me all I want to do is buy some music...
Click here and fill out the form.
(90729) -
How to get the last page SAP Script form
How to get the last page SAP Script form.
I want to print a specific information in the last page of SAP form (Script). Please tell me how to get the last page number.
RegardsHi
You have to check the system variable &NEXTPAGE&, if it's 0 it means you're in the last page.
From SAP Help:
This symbol is used to print the number of the following page. The output format is the same as with &PAGE& .
Note that on the last page of the output, in each window that is not of type MAIN, &NEXTPAGE& has the value 0.
/: IF &NEXTPAGE& = '0'
Last page
/: ENDIF
Max -
does anyone know how to get my google page back when I open safari??.... it is gone and I get a full page of 'top sites' instead... it is so frustrating! appreciate the help if anyone knows!
Safari preferences / General tab
-
How to get a second page in a form letter report after create it by Wizard
How to get a second page in a form letter report after create it by Wizard
i've built a report by wizard with a sql-Query
the sql give me back for example 3 dataset
and the report prints 3 pages
dataset 1 - page 1
dataset 2 - page 1
dataset 3 - page 1
thats ok,
but now I need a second page per dataset ( with only a text )
so that the report should print 2 pages per dataset
dataset 1 - page 1 ,page 2
dataset 2 - page 1 ,page 2
dataset 3 - page 1 ,page 2
It's not really clear for me, what to do, to create the second page
any help ?.... found answer in other forum
-
How to get the current page URL
HI All
I am working in oracle apps 4.0
I have one page called history in that i have one page item called Application url. My application id is 122 but its a copy of application 106
How to get the current page url for the page item.
Any steps should be help ful
Thanks & Regards
Srikkanth.MI'm not 100% clear on what the requirement is from the description, however it does sound like you are making things unnecessarily complicated.
If you want permanent/ID-independent links then use application and page aliases.
so here we used to display the url like this: <tt>{noformat}http://81.131.254.171:8080/apex/f?p=122{noformat}</tt>
Do you mean that the URL is displayed like that? If so that doesn't seem particularly helpful. How is anyone supposed to know what it is?
There are many ways to provide links in APEX—including lists and nav bars.
Where the link is to another resource located on the same server (such as another page in the same app, or a different app in the workspace), relative addressing can be used, making it unecessary to include scheme, domain and port information in the URL. For example, if the page to be linked to has a page alias <tt>ABOUT</tt> in an application with alias <tt>UNITY</tt>, and the apps share an authentication scheme/cookie to permit shared sessions, then the link URL is simply
f?p=UNITY:ABOUT:&APP_SESSION. -
How to get the total pages in ALV report?
Hi guys,
Since I used page breaks can somebody please help me on how to get the total pages in ALV report?sincerely please...thanks guys.automatic display total page.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
r -
How to get the Empty page in Webi report
Hi,
I have to insert the charts in the report but i don't have the space to insert the charts in same page so i need one more page how to get the blank page in report
thanks,turn your report from Page Layout to Draft Mode. Than you will be able to insert chart in it.
You can view Web Intelligence reports in different modes depending on how you want to work with data and how you want the data to appear.
1. In Web Intelligence Interactive, select the report tab of the report you want to view.
2. Click the arrow next to the View button on the main toolbar above the report.
3. Select the viewing mode.
4. In the Java Report Panel or Web Intelligence Rich Client, use Switch Page/Quick Display on the Reporting toolbar to alternate between Page mode and Quick Display mode.
Edited by: srrachna on Apr 22, 2011 2:25 PM -
How to get the jsp page name in jsp?
how to get the jsp page name in jsp? how the jsp get the jsp page name dynamic.
thanks in advance.Try request.getServletPath()
-
I never used this program before. I tapped on the "budget form" and decided I'd rather use the "expense form". I can't figure out how to get to the page that you choose which form you want. How would I do that?
Pct,
In the Numbers spreadsheets window where all your documents are shown as icons, tap the Plus Sign.
Choose Create Spreadsheet
Select the template you want to use
Jerry -
How to get the Portal Page name from PLSQL?
Can anyone tell me how to get the portal page name from my dynamic page using plsql?
Apparently you can get the page id and work it out from there, but my calls to get the page id are not returning any values anyway.
My code for attempting to get the page id is below.
<oracle>
declare
v_pageid varchar2(30);
begin
v_pageid := wwpro_api_parameters.get_value('_pageid', '/pls/portal30');
htp.print('Page is '|| v_pageid);
end;
</oracle>
Ideally I'd actually just like to get the page name. Is there a straightforward way to do this?
Thanks in advance!
SarahFew clarifications -
1. wwpro_api_parameters cannot be used to get default portal
page parameters such as '_pageid', '_dad', '_schema' etc.,
2. Page information can be obtained through any components which
are available in that particular page. For example, in case of
dynamic page, we need to publish it as a portlet and add it to the
page. This process creates necessary packages in the DB, but we
will not have access to the portlet methods.
So, I would prefer creating a simple DB provider & portlet and access
page title from its show method as follows -
//Declare local variable l_page_id, l_page_title as varchar2
select page_id into l_page_id from wwpob_portlet_instance$ where
portlet_id = p_portlet_record.portlet_id and
provider_id = p_portlet_record.provider_id;
select name into l_page_title from wwpob_page$ where id=l_page_id;
More information on DB provider can be found at
http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/understanding.database.providers.html
Secondly, usage of wwpro_api_parameters.get_value method is
incorrect. This method expects two arguments -
<ul>
<li><b>p_name : </b> The name of the parameter to be returned.</li>
<li><b>p_reference_path : </b> An unique identifier for a portlet instance on the current page.</li>
</ul>
p_reference_path would be something like 99_SNOOP_PORTLET_76535103 and not some type of path as its name suggests.
The following code fragment fetches all parameters available
for a portlet.
Note : Copy this code into 'show' method of your portlet.
//Declare l_names, l_values as owa.vc_arr
* Retreive all of the names of parameters for this portlet
l_names := wwpro_api_parameters.get_names(
p_reference_path=>p_portlet_record.reference_path);
* Retreive all of the values of parameters for this portlet
l_values := wwpro_api_parameters.get_values(p_names=>l_names,
p_reference_path=>p_portlet_record.reference_path);
//Loop through these arrays to get parameter information
htp.p('<center><table BORDER COLS=2 WIDTH="90%" >');
htp.p('<tr ALIGN=LEFT VALIGN=TOP>');
htp.tableData(wwui_api_portlet.portlet_heading('Name',1));
htp.tableData(wwui_api_portlet.portlet_heading('Value',1));
htp.tableRowClose;
if l_names.count = 0 then
htp.p('<tr ALIGN=LEFT VALIGN=TOP>');
htp.p('<td COLSPAN="2">'
||wwui_api_portlet.portlet_text(
'No portlet parameters were passed on the URL.',1)
||'</td>');
htp.tableRowClose;
else
for i in 1..l_names.count loop
htp.p('<tr ALIGN=LEFT VALIGN=TOP>');
htp.tableData(l_names(i));
htp.tableData(l_values(i));
htp.tableRowClose;
end loop;
end if;
htp.p('</table></center>');
Hope it helps...
-aMJAD. -
How to get sharepoint online (office 365) data in cloud/windows azure (provider) hosted app using Javascript?
I wish to retrieve sharepoint online data in html page (hosted in windows azure) using javascript and then need to play with AngularJSHi,
According to your description, you might want to get data from Office 365 SharePoint Online(also known as host web) and pass to the Provider Hosted App which is hosted
in Windows Azure site.
I would suggest you take a look at the links below about accessing data from the host web
for a quick start:
https://msdn.microsoft.com/en-us/library/office/fp179927(v=office.15).aspx#SP15Accessdatafromremoteapp_Codeexample
http://dannyjessee.com/blog/index.php/2014/07/accessing-sharepoint-data-from-provider-hosted-apps-use-the-right-context/
Aother sample solution for your reference:
https://code.msdn.microsoft.com/SharePoint-2013-Get-the-0ec36bb6
Best regards
Patrick Liang
TechNet Community Support -
How can one browse between (like 5 or so) open windows in Safari?
How can one browse between (like 5 or so) open windows in Safari?
Hello ...
Good information here for utilizing Safari features.
Mastering Safari’s multi page tab system
Carolyn -
I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.
Hi Frank ,
Please refer to the following link and see if this helps.
https://helpx.adobe.com/acrobat/kb/error-organizer-database-damaged-reset-1.html
Regards
Sukrit Dhingra -
How to get absolute path of a form within the Forms
Aslam o Alikum (Hi)
How to get absolute path of a form within the Forms 6i or 9i
For example
i am running a from "abc.fmx" from C:\myfolder directory
can i get the form path 'C:\myfolder' by calling any any function from "abc.fmb"There is no direct call that will always work. What you need to do is call get_application_property(current_form). This may have the full path in it, depending on if that path was defined when the form was launched. If there is no path, then you need to use TOOL_ENV.GETVAR to read the Forms<nn>PATH and the ORACLEPATH, parse those out into individual directories and then check for the FMX in each.
I already have some code to do all this for you see:
http://www.groundside.com/blog/content/DuncanMills/Oracle+Forms/?permalink=4A389E73AE26506826E9BED9155D2097.txt
Maybe you are looking for
-
Error while deploying on WLS 9.2 with OEPE
I'm getting the following exception while trying to publish a web project onto WebLogic 9.2: <Sep 14, 2009 12:45:30 PM EDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004 weblogic.management.DeploymentException: The system cannot f
-
Dynamic File name in IR bypass scenario
Hi All, i have a scenario , where i am bypassing my IR part. i need to transfer image files from one location to another. Now i need to create the Directory as current date and Filename with what i have in sender file name. Any clue guyz?
-
I've tried turning the iCloud calendar on and off, but that hasn't helped. thanks
-
How do I get Dreamweaver to display pixel height as well?
When i click something in the display pane I would love for it to display the height as well as the width (590 in attached picture example). Any way to do this?
-
Error instalation EP 7.0 on SUSE 9
Hi gurus, We are installating EP 7.0; Oracle 10.2 (with patch). We selected all defaults values. SAPInst, in phase 13 (CreateDatabase) shows this error (sapinst.log): INFO 2007-07-05 12:13:38 Connection request to guiengine backend by host 172.22.1.2