Dynamic Web Page Lengths

Do you want to share WYSIWYG Web Builder tips, tricks, tutorials or useful HTML code? You can post it here...
(no questions or problems please, this section is not monitored by support).
Forum rules
This section is to share tips, tricks and tutorials related to WYSIWYG Web Builder.
Please do not post questions or problems here. They will not be answered.

PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
Patr100
 
 
Posts: 115
Joined: Tue Dec 25, 2007 10:52 pm

Post by Patr100 »

support wrote:The problem is not WYSIWYG Web Builder 7.
The code doesn't work because it's not W3C compliant.
Ok but it either needs updating or not a sticky any more as presently it doesn't work.
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Dynamic Web Page Lengths

Post by Pablo »

What you are asking is not possible in a What-You-See-Is-What-You-Get web site editor.
Since all objects are positioned absolute, they cannot be repositioned dynamically based on the content of another object. This can only be done with table based layouts.
rockman

Re: Dynamic Web Page Lengths

Post by rockman »

From the author:

My apologies to those who have had difficulties getting this code to work more recently. Indeed, the original code and sample .wbs file, written in 2007, was no longer compatible with later versions of WWB and/or the HTML language. I have found a solution and have replaced the initial zip file with an updated one. The link is repeated here for convenience: http://www.cardiackids.com/wysiwyg/dyna ... length.zip

As before, it has been tested with Internet Explorer.

Good luck on all your projects.
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

Re: Dynamic Web Page Lengths

Post by [RZ] »

this is because the scrollheight function is not fully supported by all browsers.
i.e. it was introduced later in IE in version 8.
in some browsers you can access it via .contentWindow.document in others via .contentDocument in other browsers is not supported at all and so on....
regards.
Patr100
 
 
Posts: 115
Joined: Tue Dec 25, 2007 10:52 pm

Re: Dynamic Web Page Lengths

Post by Patr100 »

I think you will be told again by support that is simply not possible with the way WB works - as you know similar questions get asked frequently.
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Dynamic Web Page Lengths

Post by Pablo »

You can use Layers to scale objects. However it defeats the whole purpose of the software. WYSIWYG Web Builder is a What-You-See-Is-What-Get web design tool. It was created to design pixel perfect layouts, not fluid layouts. This is extensively document is all available documentation. And it's not our intention to go back to old fashioned (table based) layouts, because then you would no longer be able to overlap objects and also we would have to remove many of the other cool features that make WYSIWYG Web builder what it is today.

If you really want to build fluid layouts then I suggest you take a look at the HTML textbox extension, which is basically a traditional HTML editor which can be used inside your pages.
adex1
 
 
Posts: 167
Joined: Fri Apr 01, 2011 1:13 pm

Re: Dynamic Web Page Lengths

Post by adex1 »

rlaing wrote:This is an old thread. But anybody has this working in today's modern browsers? If so I would like to give it a shot
Yes, I use it and it is working with latest browser. Check the tutorial section to see what Plabo made available with cms.
Buy Automation Shopping Cart for CMS WEBSHOP + 2.2 Using WB10!
- Use secure gateway to buy using PAYPAL website.
Post Reply