Moderators: Derry, Goldie, Harpo
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Honorary Mechanic
Posted
I just discovered the relative sizing feature is not working in SS Pro.
 
Posts: 180 | Registered: April 01, 2008Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
I can confirm that. I tried a simple horizontal bar, relative sized and it doesn't work. A similar example in SS Basic does.
 
Posts: 9233 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Harpo
Posted Hide Post
It don't see that (in SSP 290b)

I made a new page, single layout, with 1 horizontal bar and clicked 'relative sizing'. It gets wider when I widen the page.

Is there a particular way you are doing this?
 
Posts: 3215 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Posted Hide Post
Hi Harpo

I did the exact same thing here and it is not resizing. The same object in WE resizes under identical circumstances.

I noticed this when I responded to a forum question last month about making a full page wide footer. I could not get it to work then in SSP, so I did it in WE where I had successfully achieved this dozens of times in the past. I thought at the time that it may have been a dual layout setting that I was unfamiliar with and would get back to it when I had time.

I set a page target width to 800, no page centering, and imported an object 800 pixels wide justified full left. I assigned relative sizing using the blue arrow tool and previewed. The object remains 800 pixels wide.

The width parameter in the object code is reflecting the change (80.00em to 100%). Is there a css conflict?
 
Posts: 180 | Registered: April 01, 2008Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Harpo
Posted Hide Post
Hmmmm....

Starhubs, can you post the source code for your test page with the horizontal line?

Also, which browser are you previewing in?
 
Posts: 3215 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
When I did a site makeover, I used relative horizontal sizing with my text objects and they adjust without problems.

In SS/WE, images are not given an id name while in SS Pro, images are given an id name. (The standard horizontal lines in SS & SS Pro are images, not the <hr> tag.)

As the CSS applies to the object <div> block, resizing works in SS/WE as the image is under than object id. In SS Pro, the image, having its own id name, is not controlled by the CSS being applied to the outer object <div> block. In SS Pro, the CSS needs to be modified to include the inner elements.

If you have Firefox with the WebDeveloper plug-in, and enable outlining block level elements, you will see the outer block resizing. In SS/WE, this block includes the image. In SS Pro, it does not.
 
Posts: 5111 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Posted Hide Post
I saw your new dynamically sized site a few days ago Larry. Nice job.

I'm sure the VM folks will address this.
 
Posts: 180 | Registered: April 01, 2008Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Posted Hide Post
OOPS! Forgot to post sample pages. Sorry Harpo.

SSP page
http://www.allianceforresponsibleenergypolicy.com/relsizetest1.html

WE page (same graphic)
http://www.allianceforresponsibleenergypolicy.com/relsizetest2.html

I am using Mozilla and IE to test and neither display the assigned relative sizing attribute in the SSP upload, yet both display it in the WE upload.

I hope this helps

Jim

This message has been edited. Last edited by: starhubs,
 
Posts: 180 | Registered: April 01, 2008Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
Jim,

The short term fix is to add CSS to the grometry object. In SS Pro, use a code object, set the code placement to "in CSS" and use:
#Ggeo_name {
  width: 100%;
  height: xx;
}  
where geo_name is the geometry name of the image (do not forget the leading G) and the height's xx value is the height of the object (you can use pixels, e.g., 101px instead of SS Pro's em units).
 
Posts: 5111 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Posted Hide Post
Thank you Larry. You are great at workarounds, and I really appreciate that. Worked well when I tried it on the test2 page.

I will definitely do this in the mean time, however I truly hope VM does not consider this an acceptable final solution.

Any thoughts on this Harpo?
 
Posts: 180 | Registered: April 01, 2008Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Harpo
Posted Hide Post
Ok, this is what I found out:.

The problem with the defining the Geo size as 100% is that there are conflicts in some cases (for certain mobile browsers if I recall correctly) but not using it causes other problems (like relative sizing not working) .

We are still trying to work out a solution that will work for all cases, if possible. If that can’t be done, we will add a setting that will allow you to chose.

For now, as a workaround, you can choose which way you want it for all cases, by changing a registry setting. (or you can use Larry's excellent suggestion for indivdual projects)

To turn geo 100% sizing ON:

- Close all instances of SiteSpinner Pro
- Open the Registry Editor (run regedit.exe)
- Go to:
HKEY_CURRENT_USER\Software\Virtual Mechanics\SiteSpinnerPro\Code
-Set “GeoImg100" to 1

To turn geo 100% sizing OFF:
-Same as above but set “GeoImg100" to 0

It is important to close all instances of SiteSpinner Pro before doing this. If you don’t, the currently loaded setting will be resaved when the program is ended.

IMPORTANT: Do not edit the Registry unless you are sure of what you are doing. If you change something other than the setting described above, you could cause serious and expected results.
 
Posts: 3215 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Posted Hide Post
Thank you Harpo.

Jim
 
Posts: 180 | Registered: April 01, 2008Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Posted Hide Post
I just upgraded to SSPro and am having trouble with my image sizes.
Please take a look at this page http://www.lochorama.com/beaulieu.html and this printout of the corresponding page in the project file http://www.lochorama.com/question.html

There's a mauve hot air balloon which cannot be resized. And if I regenerate all of my pages, all of the other balloons will probably burst!

If this problem is indeed related to this Post, could someone kindly tell me the exact steps to take when modifying my registry?

THANKS IN ADVANCE !
 
Posts: 51 | Location: Loches, France | Registered: April 06, 2005Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Harpo
Posted Hide Post
It looks like the same problem. For version 2.90c, an option for this was added.

If you go to the Project Options, Advanced tab and turn on the 'Set <img> as 100% width/height of object <div>' checkbox, that should fix it.
 
Posts: 3215 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Posted Hide Post
It worked! Thanks Harpo. You guys are marvelous!
 
Posts: 51 | Location: Loches, France | Registered: April 06, 2005Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.