Reply
Thread Tools
Posts: 86 | Thanked: 22 times | Joined on Jan 2008 @ Moscow
#21
Originally Posted by marce_245 View Post
Sashabe could you tell me what is the userContent.css file, and where is rhe mozilla folder you mentioned before. cause when i go to home/user there is no such folder.

Thanks
It's hidden, so you need just type in terminal
Code:
sudo gainroot
nano .mozilla/microb/chrome/userContent.css
and then paste the code via menu (Edit > Paste)
then save with Ctrl-O, exit with Ctrl-X and restart Microb if it was opened.

Or, if you use EmelFM, you should press a button "H" on the panels.
 

The Following User Says Thank You to sashabe For This Useful Post:
Posts: 76 | Thanked: 6 times | Joined on Apr 2007
#22
Thanks!!!!!!!!, its working perfect, just what I wanted.
 
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#23
Originally Posted by sashabe View Post
I made a special version of Google Maps page for N810 from this user style. It requires that you put some code into userContent.css (home/user/.mozilla/microb/chrome/), but as it is genuine Maps page (maps.google.com), not embedded content, it's possible to use Street View feature, which is unaccessible from embedded maps. Here's the code:
Code:
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("maps.google.com") {

.helplinks {
visibility:hidden !important;
overflow:hidden !important;
width:0px !important;
height:0px !important;
}
#map {
position:fixed !important;
left:-10px !important;
top:0px !important;
width:100% !important;
height:100% !important;
}
input[type="text"] {
-moz-opacity:0.4;
position:absolute;
top:-61px;
left:-60px;
width:230px !important;
}
input[type="text"]:focus {
  -moz-opacity:0.9;
}
.ipt{
padding-bottom: 2px;
border-bottom: 0px !important;
margin-top:-70px;
}
#showss, #q_sub, #srchex {display:none}
#sl_t {-moz-opacity:0.8;}
#map>div:first-child+div>*
{display:none !important;}
}
After pasting the code you just go to http://maps.google.com and see the result. Now it's optimized only for fullscreen viewing (in window mode search bar jumps ungracefully) and needs some polish, but in general is pretty usable. Here's how it looks:






And yes, you can set Street View window to fullscreen mode)

The only directory I see in "home/user/.mozilla/microb/" is "extensions/" and no "/chrome" ????

Please advise
 
Posts: 86 | Thanked: 22 times | Joined on Jan 2008 @ Moscow
#24
You should create it, there may be some problems with rights though - try creating under root and under user. If it does not work, search ITT for 'chrome' and 'userContent.css' or read this thread.
 
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#25
Nevermind... I made my own directory and file and it worked.
 
Posts: 32 | Thanked: 1 time | Joined on Jan 2008
#26
Thanks, this is great!
One question though: is there a way to do searches?
 
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#27
Originally Posted by rock View Post
Thanks, this is great!
One question though: is there a way to do searches?
Do a search using the home screen "internet search" applet; eg: Pizza (zip code). Google will return it's normal search results page. At the top of that page hit the "maps" link.

If you installed sashabe's .mozilla/microb/chrome/userContent.csss code correctly, a full screen map should open with push pins at the locations for pizza in the searched area.
Tap on the one you like and a balloon will pop up with that locations info and links.
 
Posts: 32 | Thanked: 1 time | Joined on Jan 2008
#28
Originally Posted by YoDude View Post
Do a search using the home screen "internet search" applet; eg: Pizza (zip code). Google will return it's normal search results page. At the top of that page hit the "maps" link.

If you installed sashabe's .mozilla/microb/chrome/userContent.csss code correctly, a full screen map should open with push pins at the locations for pizza in the searched area.
Tap on the one you like and a balloon will pop up with that locations info and links.
Thanks, I should have thought of that. Yes, I installed the .css file just like you did, i.e., create the chrome dir, etc

btw I like your html file mentioned earlier that has the search field.

Thanks again
 
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#29
Originally Posted by sashabe View Post
I made a special version of Google Maps page for N810 from this user style.
That's really cool sashabe. Thanks. Ever thought about adapting one of the google calendar styles for the tablet (hint )? tx
__________________
GROG!
N900 | ZAGG Body Armour | 16Gb A-DATA micro-sd
N810 | 2 x Patriot 8gb mini-SD | Boxwave Crystal Clear SS | Black Aluminum case | OTG dongle
N800 | 2 x 8gb OCX SD | Boxwave Anti-glare SS | PDAir book-style case
Holux M-1200 bluetooth GPS | iGo 4-row bluetooth keyboard | Linksys USB 10/100 ethernet | Plantronics Voyager 855 BT Headset
 
Posts: 86 | Thanked: 22 times | Joined on Jan 2008 @ Moscow
#30
2rock: there's a search field at the top of the page, my fault that nobody has noticed it Or maybe some sort of bug? No "go!" button, you should press Enter to submit the query.

2grog: i'd think of it, but will be away till the end of April unfortunately...
EDIT:
I've made new version (let it be 0.1.1) with bigger buttons, now it's more comfortable to navigate the map with fingers. And potential bugs with search field are also hopefully solved - now its position is fixed, not absolute. Download bigger buttons version from here, and if you prefer old button sizes, i updated the old code on this post.

Last edited by sashabe; 2008-04-20 at 11:13.
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:52.