Welcome to TalkGraphics.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2005
    Location
    Moncton, NB Canada
    Posts
    149

    Default Can I size a placeholder?

    Hi everybody,

    I have several objects sprinkled all over my project web-site. Each of these objects will be placed in a separate Pop-Up layer, and will be placeholders.
    Each of these object-placeholders is going a different form, such as "Sign-In" or "Comments" and are different sizes. They will also share the same CSS file.

    Click image for larger version. 

Name:	Screenshot 2022-09-17 082934.gif 
Views:	34 
Size:	109.7 KB 
ID:	132756Click image for larger version. 

Name:	Screenshot 2022-09-17 082831.gif 
Views:	31 
Size:	64.7 KB 
ID:	132757

    I'm just guessing I can adjust the <body> tag in each placeholder, but I don't know how? I will also like to manage where the box will Pop-Up on the page. WDP-19 seems to place a Pop-Up where IT wants.

    How do I do these things?
    Many Thanks,
    -Paul-
    If I wasn't so stupid, I wouldn't have to be so persistent.

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,858

    Default Re: Can I size a placeholder?

    Paul, it's all done by magic fairies and elves.

    For a given Placeholder, use Web Properties > Placeholder > HTML code (body). Do not try double-clicking on a Placeholder for the moment.

    Inside there will be <form> Tags.
    You need to change or add the width and height to be width=100% height=100%, click OK and Apply.
    You can now resize the Placeholder.
    I usually do not have Re-generate ticked; it saves time and lots of Bitmaps.

    If you let Xara build your form, it probably is dropped centre of your design window. It can be moved.

    Acorn, the helpful magic elf (reconcile that).
    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

  3. #3
    Join Date
    Sep 2005
    Location
    Moncton, NB Canada
    Posts
    149

    Default Re: Can I size a placeholder?

    Thanks Acorn.
    Once again you respond so quickly.

    If I understand, you suggest that I modify the <form> tag found via Web Properties > Placeholder > HTML code (body).
    I have adjusted: <form method="post" action="scripts/RegistrationHandler.php" height=100% width=100%>
    (I didn't know that I could add any characteristics to the <form> tag.)

    But then you suggest to resize the placeholder object? I'm not sure what you mean. None of the results seem to work cleanly, or in a way that I can manage the display.
    Many Thanks,
    -Paul-
    If I wasn't so stupid, I wouldn't have to be so persistent.

  4. #4
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,925

    Default Re: Can I size a placeholder?

    Paul the form should have the submit button:

    <iframe src="https://my-forms-url" width=100% height=100% scrolling=no frameborder=0 marginheight=0 marginwidth=0></iframe>
    Or you can use the exact pixel size of your form:

    <iframe src="https://my-forms-url" width="300" height="150" scrolling=no frameborder=0 marginheight=0 marginwidth=0></iframe>
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,858

    Default Re: Can I size a placeholder?

    Quote Originally Posted by Paul Bruneau View Post
    But then you suggest to resize the placeholder object? I'm not sure what you mean. None of the results seem to work cleanly, or in a way that I can manage the display.
    Paul, I would need to have all the code you have put in the Placeholder.
    @Egg seems to think an IFRAME is involved but you seem to be hosting your own PHP code.

    For the Placeholder, which is simply a box, you drag it edges.
    Xara wraps the code you input in a Group with the actual dimensions of the box.
    The 100%s are there to fit your form to the box boundaries.

    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

 

 

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
  •