Welcome to TalkGraphics.com
Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2009
    Location
    Jacksonville, Florida, USA
    Posts
    47

    Default Add HTML In Placeholder For Bottom of Code

    Is there any way to insert a script in placeholder so it is placed at bottom of generated code just before the closing </body> tag? I need this for a counter report.

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,645

    Default Re: Add HTML In Placeholder For Bottom of Code

    Hmm? Must be. Check back and see if one of the more savvy members has the answer.

  3. #3
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: Add HTML In Placeholder For Bottom of Code

    I need to test this a bit more but I think bringing the place holder to the front [Ctrl+F] and putting it on the topmost layer in the page and layer gallery will get it pretty close to the bottom.

  4. #4
    Join Date
    Apr 2010
    Location
    Kildare, Ireland
    Posts
    906

    Default Re: Add HTML In Placeholder For Bottom of Code

    Go to web properties and use the Place holder (body) in the website tab.
    XT-CMS - a self-hosted CMS for Xara Designers - Xara + CMS Demo with blog & ecommerce shopping cart system.

  5. #5
    Join Date
    Apr 2009
    Location
    Jacksonville, Florida, USA
    Posts
    47

    Default Re: Add HTML In Placeholder For Bottom of Code

    Quote Originally Posted by Drwyd View Post
    I need to test this a bit more but I think bringing the place holder to the front [Ctrl+F] and putting it on the topmost layer in the page and layer gallery will get it pretty close to the bottom.
    Thanks. What I did was create a non-visible rectangle and put the script in its placeholder (body). I tried the [Ctrl+F] on the placeholder object (i.e. the rectangle), but the Bring to Front was disabled. How do I make it the topmost layer?

  6. #6
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: Add HTML In Placeholder For Bottom of Code

    Click any layer in the page and layer gallery and press "new layer". Name it something like "lastlayer" and drag it to the top of the list See attached.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	lastlayer.jpg 
Views:	331 
Size:	61.6 KB 
ID:	87648  

  7. #7
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,645

    Default Re: Add HTML In Placeholder For Bottom of Code

    I knew someone would have a suggestion.

    For what it's worth, a placeholder that contains HTML script or any other script will be transparent unless it is calling an image to appear.

  8. #8
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Add HTML In Placeholder For Bottom of Code

    xtom is right. To get the code placed just before the </body> tag, you have to use "HTML code (body)" field on the "Page" or "Website" tab of the Web Properties dialog.
    John.

  9. #9
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: Add HTML In Placeholder For Bottom of Code

    I assumed by the way the question was phrased that the OP had already got that bit

 

 

Tags for this Thread

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
  •