Re: Split Screen

Peter Potamus the Purple Hippo <[email protected]> Fri, 26 Feb 2010 12:47:39 -0800
Newsgroups gmane.comp.mozilla.multizilla
Organization The Mozdev Foundation - news server
Message-ID <[email protected]>
Wojtek wrote:
> Peter Potamus the Purple Hippo wrote :
>> Wojtek wrote:
>>> I know that development is kind of off the burner right now, but a 
>>> really neat feature would be the ability to place two tabs side by side.
>>>
>>> So you have multiple tabs open, and you take one and drag it down and 
>>> to one side (or bottom) and the screen splits and you have two tabs 
>>> open and visible at the same time.
>>>
>>> And I am another one still at the 1.x level...
>>>
>>
>> I know this isn't what you wanted, but its the closes thing there is 
>> for a split screen for SeaMonkey. Create a bookmarklet out of the 
>> javascript below.  When you're on some site, click the bookmarklet.  
>> You'll get a popup to enter a site, then another popup to enter 
>> another site or use the same one.  Then it'll split the current tab 
>> into two, and you can view the same site in the split screens or view 
>> two different sites.
>>
>> javascript:A14nH=location.href;L3f7=prompt('Choose%20File%201',A14nH); 
>> R1Gh7=prompt('Choose%20File%202',L3f7); 
>> if(L3f7&&R1Gh7){Fr4Q='<frameset%20cols=\'*,*\'>\n<frame%20src=\''+L3f7+'\'/>';Fr4Q+='<frame%20src=\''+R1Gh7+'\'/>\n';Fr4Q+='</frameset>'; 
>> with(document){write(Fr4Q); void(close())}}else{void(null)}
> 
> Ok, this works. Thanks. I just need to copy/paste the urls before hand.
> 
> To anyone else reading this. You MUST prepend the media type, so 
> www.google.com fails while http://www.google.com works

yeah, there are some limitations, but its better than 
nothing ;-)

> 
>> Otherwise, there is the split browser addon for Firefox: 
>> https://addons.mozilla.org/en-US/firefox/addon/4287 . Perhaps you can 
>> find a way to port it over to SM.  If you do, then besure to let 
>> others know about it.
> 
> Yes, this is what I was suggesting.
> 
> But sorry, my skills lie in another direction. While I can sort of read 
> your script, I would NEVER be able to create it.
> 
> So many languages, so little time...
> 

the code I gave you was javascript, so you need to have 
javascript turned on, otherwise, it won't work.

As for the firefox addon, you might want to make a 
request to some developer, like Phil or Benoit, to port 
this addon over to SM: 
http://forums.mozillazine.org/viewtopic.php?f=19&t=500361&sid=1e2a5dce7f5f1b75820b4f2e1431bf08

Besure to put lots of sugar and sprinkles on that 
request ;-) :-D

-- 
*IMPORTANT*: Sorry folks, but I cannot provide email 
help!!!!

Warning: Private emails sent to me may become public

Peter Potamus & His Magic Flying Balloon:
http://melaman2.com/cartoons/singles/mp3/p-potamus.mp3
http://www.toonopedia.com/potamus.htm