View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Out of alignment and only displaying partially

Thread began 12/07/2009 10:09 pm by Martin | Last modified 12/18/2009 4:27 pm by Martin | 2058 views | 7 replies

rayne202093

Originally Said By: Eric Mittman
  There is no solution for this issue, having the map display inside of a spry tab causes it to not display properly. I have not seen a way of having this work in the spry area.  



I think this fixes it:
Find the line which looks like:
var map = new GMap2(document.getElementById(map));

In my case it's:
var map = new GMap2(document.getElementById('wagmp_map_2'));

Replace that line with:
var mapElem = document.getElementById('wagmp_map_2');
var mapWidth = mapElem.style.width;
var mapHeight = mapElem.style.height;
var map = new GMap2(mapElem,{size:new GSize(mapWidth,mapHeight)});

If the map is a fixed size, change the original line to:
var map = new GMap2(document.getElementById('wagmp_map_2'),
{size:new GSize(WWW,HHH)});

Replace WWW and HHH with the size of the map


Do you see any problems with this solution?
--rayne

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...