Forum
Welcome, Guest

TOPIC: Some Styling help...

Some Styling help... 2 years, 10 months ago #283

Please view my site here milbguide.com

do a search for "mi"

Note a few things:
1. The map scrolls if you place your mouse over it and scroll you will see what I mean.
2. The Map views are over the page... How can I change this?
3. When View Profile is clicked it does not go to the entry... Please help...
4. I would like to be able to alter the default zoom as well.

I would really like to display the map at the top and all the listings under it. Is this possible??

Thanks, Great add on!!
Last Edit: 2 years, 10 months ago by td2corshops.

Re:Some Styling help... 2 years, 10 months ago #284

  • jerry
  • OFFLINE
  • Moderator
  • Posts: 407
Hello,

1. We've never had this question before so it will take some research. Are you using IE or FF? Which version?

2. The size of the iframe starts at 460. This is specified in the axsearch module where the iframe is created. The size of the actual map is specified in the ShowGoogleMap script and starts at 400x400 (setWidth and setHeight statements). If the size of the area for your template requires a smaller size, you need to adjust the setWidth and setHeight to make the map a little smaller. Then change the iframe size to accommodate the smaller map. Sorry I can't give exact numbers, but it varies by the real estate you have.

3. I need to see the line from the vcard template where $gmmaPart6 is being set in order to help with this question. Please only post that line.

4. I'm not sure what you want here so I need further explination. What exactly are you trying to change?

As for changing the map to show on the top, this would be a major change in the way the entire search process works. I do not have the map marker information until after all of the search results have been rendered, so I can't create the map before that either.

Regards,

Jerry

Re:Some Styling help... 2 years, 10 months ago #285

1. We've never had this question before so it will take some research. Are you using IE or FF? Which version?

Only happens in FF 3.0

2. The size of the iframe starts at 460. This is specified in the axsearch module where the iframe is created. The size of the actual map is specified in the ShowGoogleMap script and starts at 400x400 (setWidth and setHeight statements). If the size of the area for your template requires a smaller size, you need to adjust the setWidth and setHeight to make the map a little smaller. Then change the iframe size to accommodate the smaller map. Sorry I can't give exact numbers, but it varies by the real estate you have.

I think I have this figured out thanks.

3. I need to see the line from the vcard template where $gmmaPart6 is being set in order to help with this question. Please only post that line.

$gmmaPart6 = '<b>'.$gmmaPart5.'</b><br/><a href="milbguide.com/index.php?option=com_sobi2&sobi2Task=sobi2Details&catid=0&sobi2Id=64'.$gmmaSobi_id.'&Itemid=268" target="_parent">View Profile</a>';

4. I'm not sure what you want here so I need further explination. What exactly are you trying to change?

I would like the google map zoomed further out...

As for changing the map to show on the top, this would be a major change in the way the entire search process works. I do not have the map marker information until after all of the search results have been rendered, so I can't create the map before that either. OK

Re:Some Styling help... 2 years, 10 months ago #286

  • jerry
  • OFFLINE
  • Moderator
  • Posts: 407
1. I'll look at this and see if I can do anything about it.

3. Try:
$gmmaPart6 = '<b>'.$gmmaPart5.'</b><br/><a href="milbguide.com/index.php?option=com_sobi2&sobi2Task=sobi2Details&catid=0&sobi2Id='.$gmmaSobi_id.'&Itemid=64" target="_parent">View Profile</a>';

4. I'm not sure if the API I'm using can do this, but I will check.

Regards,

Jerry

Re:Some Styling help... 2 years, 10 months ago #287

  • nicholas
  • OFFLINE
  • Moderator
  • Developing for Joomla since it was born!
  • Posts: 1197
Greetings -

Have you tried the scroll function with more than one search result? I am curious as to how it behaves. I tried your test, but with a search term of 'mi' there is only one result. If you have multiple results that extend beyond initial visible frame, how does it behave?

Thanks,

Glen
Nicholas
CIO - CorFun, Inc.
Publisher - orthodoxbiz.com
Webmaster - Orthodox Christian Network

Re:Some Styling help... 2 years, 10 months ago #288

I just built the site this weekend so I hope to have more entries added very soon. I will let you know thanks!
Moderators: jasper, nicholas, henry, jerry
Time to create page: 0.57 seconds

Login