HOW TO KEEP TEXT AT BOTTOM OF PAGE USING JAVASCRIPT-ANSWERED

UPDATE 5/12/2006: MORE COMPATIBLE CODE:
Was using OnRequestEnd.cfm to load copyright info at bottom
of each page but page size varied and copyright info would appear
at different points on different pages. Didn't look good. Could not
use tables to align the text for output reasons. Coded a way using
CSS and JavaScript to keep text at bottom of each page. Be careful
with CFFORM, us have to set the attribute 'wMode=transparent' in
CFFORM so text is above form. Tested in IE and Netscape. Put at end
of individual templates or inside OnRequestEnd.cfm - Enjoy!
(css goes in your external css file or between local style
tags)
.copyright{background-color:#d8d8d8;color:Black;font-size:10px;font-family:Arial;width:10 0%;text-align:center;}
body {border-bottom-width:0px;}
(following goes at end of page or in OnRequestEnd.cfm)
<span id="x" class="copyright">
my copyright
</span>
<!--- *** KEEPS COPYRIGHT LINE AT ABSOLUTE BOTTOM OF EACH
PAGE --->
<script>
if(document.body.scrollHeight <
document.body.clientHeight){
var s = 0;
document.getElementById('x').style.cssText='position:absolute;bottom:'+s+';';
else {
var s = document.body.scrollHeight;
document.getElementById('x').style.cssText='position:absolute;top:'+s+';';
</script>

To change it for a given text frame, the frame must be selected when you execute the menu command.
AlyMcF1 wrote:
…how can I apply this to the majority (400+) of my text frames at once?
To change the setting of existing frames throughout your document, use Edit > Find/Change.
Choose the Object tab.
Set the Search: field to Document.
Set the Type: field to Text Frames.
If there is a formatting attribute common to all the text frames you want to target and change, click the glass/frame icon next to the Find Object Format field to access the Find Object Format Options dialog and set that common attribute.
Click the glass/frame icon next to the Change Object Format field to access the Change Object Format Options dialog and set the Align: field to Justify under Basic Attributes > Text Frame General Options > Vertical Justification.
Step through the Find Next/Change sequence to selectively apply the change, or click the Change All button if you're certain you want all the found frames changed.

Similar Messages

  • Hidden text at bottom of page, how can I fix formatting?

    hidden text at bottom of page, how can I fix formatting?

    You don't give much information so I'm going to guess you're using a text box, perhaps in a layout document. Click on the little empty blue box on the lower right side, then click where you want the text to continue.
    Walt

  • How to keep entering data in web pages

    hi,
    i am using ADF 11g 2 release. I have remote application connect with ADF jar lib and local application. when i enter data to my local application and redirect to remote application and enter the data their also. But when I link to local app page via url view but I entered data is not there. I am not commited any page data. In remote app... alos link but there also no data. how to keep them??
    all page in taskflow and they connect with control flow case. I made Auto submit true and immediate true for text component.. but no any change.
    can not use any setting changes? Need java coding for both application??
    hoping chance..
    thanks.

    hi,
    I have developed ADF 3 web applications. 2 of them are connect as ADF jar lib files in other application. That application name is local application and other 2 mentioned as remote application(jar lib files). those are in taskflowcall. IN my Local Application which has Application Module. so I selected remote application's Application modules as Application Module Instances. Then in my Local Application DataControl which include that added Application Modules inside the local application DataControl. which are in nested. Remote application DataControl also appear in the local app DataControl.
    Problem is I want to save all applications data through my local application. therefore I link to first remote app and enter data but not commit ,then come back to local app.. and enter data and again goto first remote app again, BUT entered data Not there. so I want to keep them and save all 2 remote app data and local app data.
    DCDataControl dc = bc.findDataControl("TestRemoteAppDataControl"); // *<-- this is one of my remote application Data control name..*
    ApplicationModule am = (ApplicationModule)dc.getDataProvider();
    am.getTransaction().commit();
    dc.commitTransaction();
    this code is not worked. BUT local app data only saved using below code...
    BindingContext bc =BindingContext.getCurrent();
    DataControlFrame dcf= bc.findDataControlFrame(bc.getCurrentDataControlFrame());
    Collection<DCDataControl> dcCol =dcf.datacontrols();
    for(DCDataControl dCDataControl : dcCol) {
    if(dCDataControl.isTransactionDirty()){
    try{
    dCDataControl.commitTransaction();
    catch(Exception e) {
    FacesContext facesContext = FacesContext.getCurrentInstance();
    facesContext.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, e.getMessage(), null));
    e.printStackTrace();
    thanks ,hopping chance.
    any who know this??
    thanks.

  • How to extract text from a PDF file using php?

    How to extract text from a PDF file using php?
    thanks
    fabio

    > Do you know of any other way this can be done?
    There are many ways. But this out of scope of this forum. You can try this forum: http://forum.planetpdf.com/

  • How to show modal window without popup in a web page using javascript

    Hi,
    How to show modal window without popup in a web page using javascript, means when the modalwindow is opened it should not ask for popup blocker alert......
    pls help me.....

    Thanx for ur reply,
    Actually the senario is when i click on a button, another jsp page should be displayed in a modal window without popup, but the functions alert() and confirm() will not accept the url path of the another jsp page...

  • How to add js files to sharepoint page using sharepoint designer

    how to add js files to sharepoint page using sharepoint designer

    Upload the files to your site collection into the site assets library or into the style library, depending on perference.
    Then you can include the JS files either in the master page, page tempalte or using web parts.

  • How do I move apps to different pages using my PC?

    Wondering how to move iPad apps to different pages using (a) my PC and (b) my iPad.  Thanks!

    See the following articles:
    http://ipadnotebook.wordpress.com/2012/12/10/how-to-use-itunes-11-to-arrange-app s/
    http://www.cnet.com/how-to/how-to-arrange-iphone-and-ipad-apps-using-itunes/

  • How do I text with the iPad 2 using cellular device?

    How do I text with the iPad 2 using cellular device? I also have iPhone 4, can I use them both for texting?

    The iPad doesn't have any text over cellular capabilities. You can use apps like Text Free to send texts to non-iOS devices, though.

  • How can I automatically close a dialog box using Javascript after I click the OK button to submit it?

    How can I automatically close a dialog box using Javascript after I click the OK button to submit it? I don't want to have to X out of the dialog box after I am done.
    Thanks
    Linda

    JS can not interact with open dialogs in any way, unless it's a dialog
    created in JS using the Dialog object.
    On Thu, Jul 24, 2014 at 11:13 PM, lindaeliseruble <[email protected]>

  • How to hide a table row in pdf  using javascript?

    How to hide a table row in pdf  using javascript?

    This is only possible with LiveCycle Designer forms, not PDF forms created
    in Acrobat.

  • How can i read XML from local drive using Javascript into Live Cycle

    Hello,
    I am creating PDF Form using Acrobat LiveCycle.
    I want to write java script for load data into relative field and data present into xml file which is located at local drive
    I have write all method for parsing xml which is required ............... but i am stuck into how to read/open/load local drive xml using javascript?

    sandyrock:
    You'd better post this message to Adobe LiveCycle forum: http://www.adobeforums.com/webx/.3bbeda8d/
    You can use postMessage method in LiveCycle JavaScript to communicate with host application,the host application can be a web brower like IE.
    In IE you can use IE javascript to access local XML file.

  • How to read data from the data provider using javascript

    Hi,
    Please let me know how to read the data from the dataprovider using javascript(query assigned to the data provider).
    My query has filter charateristics, free charateristics, charateristics in rows and key figure in column.
    Thanks a lot for your kind help
    Regards
    Kandasamy

    Kandaswamy,
    Assign an ID to your table item , then in JavaScript , you can use ID.innerHTML and you will get the HTML code within that table for the same , then you can find out how best to get the exact value you desire from the innerHTML value which is a string with the entire HTML from within the table item.
    Arun
    Hope it helps....

  • How to dynamically create a treeview in sharepoint using javascript or jquery

    How to dynamically create a treeview in sharepoint using javascript that displays spsites ,spweb,splist

    Hi,
    In SharePoint 2010, we can customize web service and use Server Object Model to get all the SharePoint sites, webs and lists, then call the web service using jQuery and using the jQuery Treeview plugin to display the data.
    The following articles for your reference:
    Walkthrough: Creating a Custom ASP.NET Web Service
    https://msdn.microsoft.com/en-us/library/office/ms464040%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    Using Jquery to call an ASMX service in sharepoint 2010
    http://stackoverflow.com/questions/9035539/using-jquery-to-call-an-asmx-service-in-sharepoint-2010
    jQuery-ui Treeview
    https://plugins.jquery.com/btechcotree/
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Controlling shockwave content (dcr) from a web page using javascript

    Hi,
    Is it possible to control shockwave content (dcr; object="application/x-director") from a web page using javascript?
    I believe this is possible using 'FSCommand' in Flash...
    I'd like to use HTML to do something like:
    - html_object[1].go(10);
    to send playback to frame 10.
    Thanks.
    Mark

    Sean,
    Thanks - this is exactly what I was looking for.
    'Shockingly' difficult ( pun intended :-)
    Someone really put in some effort on this.
    Very creative solution, putting a flash ( swf ) component in a director project and communicating indirectly through the flash element.
    Apparently, Javascript can communicate with the SWF file & the SWF file can communicate with the DCR file, but it is not possible to have Javascript communicate directly with the DCR. Too bad.
    After looking over this example I think I'll rethink my project.
    Thanks again.
    Mark

  • How to read text from a web page

    I want to read text from a web page. Can any body tell me how to do it.

    Ok i tell you detail. visit the site " http://seriouswheels.com/" you will a index from A to Z which are basically car name index i want to read each page get car name and its model and store it in data base. I you can provide me the code i will be very thankful.

Maybe you are looking for

  • Identify database file usage

    I would like to identify over the last X seconds how much data has been written and read from each database file by SPID, is this possible? I want gather information on our busiest files and processes. Id like to be able to do this in TSQL rather tha

  • Problems with installing  solaris 10  on intel 915 GEV

    Hi, Any one can give the solution for my bellow hinderences I am having intel 915 GEV ,3.0 GHz ,120 SATA ,512 DDR2,Microsoft USB optical Mouse, Sony DVD writer I installed sol 10 , but unable to mount my dvd/cd Drive. I am unable to configure graphic

  • IWeb, Joomla, Expression Web 2.0...sooooo confused

    Hi all, First I am new to website development...king of the newbies I had my website done and the guy used Joomla (open source). So I have been playing with it and it seems pretty straightforward. I then had lunch with a friend and he said he did his

  • PI vs CE - ESR

    Hi All, We currently have PI 7.1. There is a ESR that came with PI 7.1(previously called Intergration Repository in PI 7.0). I am confused as to why i would need a CE 7.1 system and another ESR on CE? What purpose would a CE system server if PI 7.1 i

  • How can I get rid of sun spots on photoshop cc?

    How can I get rid of sun spots on photoshop cc?