Welcome to TalkGraphics.com
Results 1 to 4 of 4

Thread: widgets

  1. #1
    Join Date
    May 2011
    Posts
    2

    Default widgets

    I am new to Xara and new to this forum. So please be gentle with me.
    I am trying to paste a widget from Facebook onto a page on my website.
    I have pasted the html coding as suggested, but the image only shows when I preview the page and is not in the correct position.
    How can I move the widget to where I want it to be on my page without handcoding which I can't do.

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

    Default Re: widgets

    Welcome to TalkGraphics - We are always gentle with new users.

    SO WHAT IS IT YOU WANT???

    (Kidding). Yes, you can move the placeholder anywhere you wish. You are using a placeholder, yes? A placeholder is just an rectangle you create into which you can paste an HTML script or code. If you are not familiar with placeholders, select the rectangle, open the Website Properties menu, select the Placeholder tabbed section, and click either the insert HTML code button for Body or Head, depending upon where you want the code inserted. This adds the code to your HTML document when you publish it.

  3. #3
    Join Date
    May 2004
    Location
    Xara Group Ltd
    Posts
    415

    Default Re: widgets

    When you paste what appears to be an HTML snippet into a web document you should be given the option of pasting an HTML placeholder. WD tries to create the object at a sensible default size and generate a preview bitmap for it but this isn't always possible depending on the snippet being pasted so you may need to adjust the size of the object on the page. Do this by turning off the aspect ratio lock in the selector tool and dragging the object to the desired size (or type in the size you want).

    E.g. if you copy the following snippet:

    <img src="images/styles/CrystalClean/style/logo.png" alt="TalkGraphics.com - graphics forums and galleries" />

    ...and try to paste it in then it will fail to load the bitmap because it uses a relative URL and the object will be sized appropriately to display the broken icon and the alt text. If you then change the placeholder code to include http://www.talkgraphics.com/ at the start of the image URL then the preview image will be regenerated but the object will not be automatically resized. You would then have to change the size of the object as described above to make it work properly.

    Additionally, some widgets require some of the code to be added to the head section rather than to the page body. In these cases you need to use the Placeholder tab of the Web properties dialog to set the head and body code separately.

    Gerry

  4. #4
    Join Date
    May 2011
    Posts
    2

    Default Re: widgets

    Its easy when you know how. Thanks very much.

 

 

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
  •