HOW TO KEEP THE TEXT AT THE BOTTOM OF PAGE BY USING JAVASCRIPT-RESPONDED

UPDATE 12/05/2006: CODE MORE COMPATIBLE:
Used OnRequestEnd.cfm to load the info from the copyright at the bottom of each page, but the size of the varied settings page and copyright law appears at various points on the different pages. Didn't look well. Could not use tables to align the text of exit reasons. Coded way using CSS and JavaScript to keep the text at the bottom of each page. Be careful with CFFORM, we define the attribute ' wMode = transparent "in CFFORM this text exceeds the shape. Tested in IE and Netscape. Put at the end of individual models or inside the OnRequestEnd.cfm - enjoy!

(css goes in your external css file, or between local style tags)
. Copyright {background-color: #d8d8d8; color: Black; do-size: 10px; do-family: Arial; width: 10 0%; text-align: center ;}}
Body {border-bottom-width: 0px ;}}


(following goes to end of page or OnRequestEnd.cfm)
< span id = 'x' class = 'copyright' >
my copyright
</span >

<!-*-> LINE COPYRIGHT GUARD 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 >

UPDATE 12/05/2006: CODE MORE COMPATIBLE:
Used OnRequestEnd.cfm to load the info from the copyright at the bottom of each page, but the size of the varied settings page and copyright law appears at various points on the different pages. Didn't look well. Could not use tables to align the text of exit reasons. Coded way using CSS and JavaScript to keep the text at the bottom of each page. Be careful with CFFORM, we define the attribute ' wMode = transparent "in CFFORM this text exceeds the shape. Tested in IE and Netscape. Put at the end of individual models or inside the OnRequestEnd.cfm - enjoy!

(css goes in your external css file, or between local style tags)
. Copyright {background-color: #d8d8d8; color: Black; do-size: 10px; do-family: Arial; width: 10 0%; text-align: center ;}}
Body {border-bottom-width: 0px ;}}

(following goes to end of page or OnRequestEnd.cfm)

my copyright


Tags: ColdFusion

Similar Questions

  • How to detect the operating system to PDF using javascript

    Hello

    How to detect the operating system to PDF using javascript. (Javascript console)

    Thanks in advance.

    App.Platform will return "WIN", "MAC" or "UNIX".

  • How to keep the content on page centered Muse?

    http://tkrl.BusinessCatalyst.com/misc-clothing-designs.html

    I do my personal website and I can't understand why when (on my touchpad - maybe not the traditional mouse) I slide right page moves on the centered content. I know that my background is big and pinned in the back--so that when people on bigger screens extend their screens it will not appear stupid gray background on Muse. Is there a way I can say Muse deny the bottom and just the content in the center of stay in the Center?

    Also - http://tkrl.businesscatalyst.com/index.html

    This is the landing page, and this problem occurs. It is based on the same model - then why?

    I believe you are referring to the navigation menu that remains on the page with the other scroll content page with the movement of the mouse. Both links work correctly with scrolling of content of page under navigation Ribbon.

    Please let me know if I'm missing something here.

    Thank you

    Sanjit

  • How to change the language settings in firefox using JavaScript

    My question is: how to change the language settings in the use of JavaScript in firefox:

    I want to set the value of intl.accept_languages en using JavaScript.

    How can I do?

    EDIT: The reason mail, I want to do is to be able to run selenium for different languages test scenarios with manually change them rather progrmmetically

    You will need to close and open the pref via user.js or prefs.js before restarting Firefox to perform the next test.

    See:

  • How to export the Indesign to Format XML using JavaScript document

    Hi all...

    Can someone help me, how to export the indesign document to XML Format using JavaScript...

    Thanks in advance...

    doc.exportFile ( ExportFormat.XML, File(Folder.desktop+"/doc.xml" )
    
  • How to get the code PIN Blackberry 10 using javascript for BB10 Webworks App?

    Hi all

    I have developed web application for blackberry 10 using the emulator to ripple and Blackberry 10 Webworks SDK 1.0.4.11.Here I put the automatic connection of my web application... So I want to get the Pin 10 of Blackberry number using javascript... Please help me... Someone knows... Thank you very much...

    Kind regards

    Marimuthu_P

    Which is documented here for WebWorks 2.0: https://developer.blackberry.com/html5/apis/beta/blackberry.identity.html#jbo1385148789774

    and here for WebWorks 1.0:

    https://developer.BlackBerry.com/HTML5/APIs/gold/BlackBerry.identity.html

    You want the uuid property.

  • How to keep the correct margins/page size when you convert a Word 2010 PDF document?

    I searched the Internet far and wide in order to understand why, when converting a Word 2010 document in PDF format in Windows 7 (via Adobe Distiller 9.5.5316), the top and bottom of the resulting PDF margins are automatically increased (which reduces the content on the page a bit) despite having consistently and everywhere the value paper A4 in Word 2010 and Adobe default PDF settings. It's almost as if distilling is stubbornly scaling the document to a different page size any of the parameters are specified.

    I solved this problem in previous versions by simply unchecking scaling print in Microsoft Word or distill. "In Word 2010, do you this through: file-> Options-> advanced, and then clear the paper sizes 'Scale content for A4 or 8.5 x 11' setting ' in the Print section.

    Today it is not so simple. I suspect that there is some chipping page or by default will sizing on but where and how to change it?

    I have to say that the years of updates Adobe seems to have two different products Adobe for creating files PDF. the above mentioned distill as long as Adobe Acrobat Pro Extended-(v. 9.5.5). However, they use the same default settings of PDF from Adobe by specifying the format of A4 paper.

    I think I have seen/inspected all of the parameters available to specify page sizes and scale - Adobe used to provide the add-in PDFMaker for Word, which manifested itself in a Word called "Acrobat" tab, and, we could see PDF settings, but this tab disappeared for a long time with a previous update to Acrobat. I tried to make this tab reappear in Word, but nothing helped.

    I also confirmed the size settings for correct page for Brother printers both Adobe in the dialog Windows 7 "devices and printers".

    The stones left to chance? Thank you.

    Print scale is always an option in Acrobat. Adobe continue to change the name. Look closely. Looking for options like "fit to page".

  • How to keep the current formatting - Pages

    When I open Pages I get a warning about the type of fonts in the original document being missing. When page opens, I'm happy with the given font. After change and close the document, when I re-opened, I get the same message err. How can I save Pages with the displayed fonts so that I no longer get the error?

    Thank you

    You fail to mention what version of Pages and where you got the document you have open.

    So how about us just guessing at all?

    My guess is that the police is located in one of your Styles.

    Peter

  • How to keep the liveview on my PC using 2 EOS utility

    I just installed EOS Utility 2 on my macbook air and am coupled with my T3i camera, when I go to Liveview via my pc, it keeps turn off after 15 seconds or more.

    Is it possible to keep this?

    I keep having to click on preview of the "depth of field" in and out, and it shows in fact alive when clicked on to the wide (blue), but even once, it stops too soon.

    Thank you!!

    Hi traveler582!

    Thanks for posting.

    After 30 seconds of inactivity, the device will turn off to save batteries.  You can then wake it by pressing a button, usually the shutter button in halfway pressed works best.  I recommend that you change the Auto Power Off setting when that happens so often, or at all.

    1. Press MENU.
    2. [#1 Tools] tab.
    3. Select [setting auto power off].
    4. SELECT [off] or another setting desired.

  • How to make the focus at Adobe Reader using JavaScript

    Hello

    I launch a URL in my PDF startup script in Adobe Reader (using app.launchURL).

    How can I return the focus to Adobe reader, so this window belongs to new assets above the browser?

    I am able to handle it in a browser (like IE) using Java, but other causes me problems, that is why I wonder, if the Acrobat JavaScript code could help me!

    Thank you!
    By

    You can't do that with Acrobat JavaScript.

  • How to keep the HTML text (i.e. Peragraph) according to the proportions?

    How to keep the HTML text (i.e. Peragraph) according to the proportions?

    Do not disturb (coming down / up) even a letter / word

    Do not disturb (coming down / up) even a letter / word

    Due to levels of zoom browser and personal user settings, there is no possible way to ensure an alignment of text on the web, unless you use images of the text.  Of course, this isn't an option because images of text cannot be indexed by search engines, screen readers or translators of language.

    Nancy O.

  • How to keep the Safari in full screen, when it opens instead of small rectangle I enlarge them with green button and how to keep the presentation of upper task bar without always having to lower

    How to open safari in its entirety in a small rectangle and then having to enlarge.  It started to happen.

    How to keep the top toolbar in view rather than having to lower whenever necessary

    Drag the bottom right and left corners of the window to enlarge it to fit the screen.

  • I made my largest site and how can keep the same size for all other sites?

    I did the 2 larger site and how to keep the same size for all pages when I re - open the web browser?

    You can use an extension to set a page zoom and the size of the default font on the web pages.

  • How to keep the Safari line at the top of my screen to disappear?

    How to keep the Safari line at the top of my screen to disappear?

    See the toolbar of Safari mode full screen?

    Launch Safari.

    Click on the Green navigation button to enter full screen mode.

    Move the mouse to the top of the screen.

    When the menu bar and the toolbar drop-down, click on 'View' in the menu bar of Safari.

    In the drop-down menu choose «Always see the toolbar in full screen»

  • How to keep the Macbook pro screen and cin on position?

    How to keep the Macbook pro screen and computer in position 'on '.  I don't want the computer shuts down or cut unless I ask him to...

    If you talk to keep your machine to fall asleep, take a look at the caffeine.

Maybe you are looking for

  • Re: Max RAM in Tecra R840-16J

    Hello just a silly question: what is the maximum RAM I can install in a R840-16J.I now have 2 x 4 GB but I wish I could have more... Thank youPaulo

  • Qosmio F30-114 - a problem with the installation of operating system

    Hi allI have a problem during the installation of operating system from the recovery disk (Win XP Media Center Edition).After loading the disc, I seen the installer welcome window, set up all the parameters in it and pressed the OK button.After that,

  • Carbon X 1 and BIOS version 1.17

    I made the mistake of being early adopters of this update of the BIOS. But in my defense, the utility to update said it was a "critical" update So my X 1 carbon will stay is more extended, if I have a USB device plugged into the USB port on the right

  • Age of Mythology: Golden Edition - lost CD drive #2

    I lost my CD drive n ° 2 for this game, I still have the disc CD #1 and I still have the product key, is there a way I can download the game? Because the stores no longer sell them where I live.

  • Impossible to download a driver for wifi of 5 miles.

    I tried to download a driver for 5milewifi on a new computer (Windows 7) without success.   The original CD was lost.  Any ideas?  Susan