Welcome to TalkGraphics.com
Page 4 of 4 FirstFirst ... 234
Results 31 to 39 of 39
  1. #31

    Default Re: Can I add a script in a footer

    Per-fect, Acorn! Thanks!

    Appreciate all the assistance!
    Sue

  2. #32

    Default Re: Can I add a script in a footer

    What code do I give it to tell it to make the text "white"??

    Quote Originally Posted by Acorn View Post
    <span><center>Copyright &copy; BCCSC 2016-<script>new Date().getFullYear()>2006&&document.write(new Date().getFullYear());</script></center></span>, where you can add <center></center>, <left></left>, <right></right> TAGS to align your text.

    Acorn

  3. #33
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,862

    Default Re: Can I add a script in a footer

    Quote Originally Posted by SueB View Post
    What code do I give it to tell it to make the text "white"??
    Sue, no code whatsoever. Way back when, I stated@

    Create a text box with text "Copyright © 2016"
    To its Placeholder HTML code(body), insert:

    <span>Copyright &copy; 2016-<script>new Date().getFullYear()>2006&&document.write(new Date().getFullYear());</script></span>


    This can be repeated on all pages as a footer-locked textbox. You can alter the font, size and colour of the textbox to round it all off.
    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  4. #34

    Default Re: Can I add a script in a footer

    Okay, Acorn. Will try it once more. Maybe I did something wrong...as usual..when I ask for some help!
    Sue

  5. #35

    Default Re: Can I add a script in a footer

    I can get this to work: <span>Copyright &copy; 2016-<script>new Date().getFullYear()>2006&&document.write(new Date().getFullYear());</script></span> inserted into the placeholder

    but can't change the color...
    I can't get your way of doing it, Acorn, to work! Sorry... ;(
    Sue

  6. #36
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,512

    Default Re: Can I add a script in a footer

    Sue, you're a natural.

  7. #37

    Default Re: Can I add a script in a footer

    Thanks GWPriester, a natural at messing things up!
    Quote Originally Posted by gwpriester View Post
    Sue, you're a natural.

  8. #38
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,862

    Default Re: Can I add a script in a footer

    Sue, I said use a text box. Have you?

    My example file (Copy right.xar) covers everything I promised.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  9. #39

    Default Re: Can I add a script in a footer

    Hey, Acorn, you are so correct. I don't know what I was doing but I just tried your example again and, of course, it worked!
    You are awesome. Thanks for not making me feel so dumb when I am not getting done what I expect.

    Sue

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •