[CMS PORTAL BLOCK] Track Visitors IP Phoogle (Google) Map


Goto page Previous  1, 2, 3

Subject: Re: [CMS PORTAL BLOCK] Track Visitors IP Phoogle (Google) Ma
moreteavicar wrote: [View Post]

PS I like the way you centered the map on Italy

here's the settings master :oops:

Code: [Download] [Hide] [Select]
var map = new GMap(document.getElementById("map"),
{ size: new GSize(winW, winH) } );
map.setMapType(G_HYBRID_MAP);
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.centerAndZoom(new GPoint(12, 44),12);

i also added maptype var so it's loaded with a mixture of sat and geo infos


moreteavicar wrote: [View Post]

*Edit* I see now from your site in firefox it looks like the google map window is still slightly over-sized, causing the bottom scroll bar to appear - the resize routine is not subtracting enough width from the window... not sure why I didn't have that problem when I did an icy test... (Actually it looks like your left column is wider than it should be, so maybe this is why)
eagle eyed :mryellow: left block 180px, right one 150 px (if my memory still supports me...): it seems to have fixed by setting this way :oops: (it seeeeeems :mryellow: )

Code: [Download] [Hide] [Select]
//Netscape or Non-IE
winW = window.innerWidth-420;


best regards

Profile PM  
Subject: Re: [CMS PORTAL BLOCK] Track Visitors IP Phoogle (Google) Ma
Thanks ieio good going...

BTW I think that the CMS config option for left and right columns is over-ridden in the template files. E.g. look at templates/mg_themes/layout3_column.tpl

Left row is created under <td width="180" valign="top">

Right row is also created under <td width="180" valign="top">

So unless you specifically modified the template file, they should be the same size! (And that is exactly what I see on my icy installs)

So, if you didn't change anything in the template, I think the reason the left column on your site is bigger is because of the image in Test Connessione already being 180 px wide, and there is perhaps some cell padding within the block file, so size of left column is forced to be wider to contain the block and image... at least that is what appears to be the cause... ;)

Profile PM  
Subject: Re: [CMS PORTAL BLOCK] Track Visitors IP Phoogle (Google) Ma
moreteavicar wrote: [View Post]
...I think the reason the left column on your site is bigger is because of the image in Test Connessione already being 180 px wide

resized to 175px 0057 thank you moreteavicar!!

Profile PM  
Goto page Previous  1, 2, 3

Page 3 of 3


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1202s (PHP: 14% SQL: 86%)
SQL queries: 10 - Debug Off - GZIP Enabled