mtbrowser-developers Mailing List for MTBrowser
Status: Beta
Brought to you by:
ipv6guru
You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(11) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: <cod...@us...> - 2007-06-17 22:50:15
|
Revision: 25 http://mtbrowser.svn.sourceforge.net/mtbrowser/?rev=25&view=rev Author: coder_2020 Date: 2007-06-17 15:50:04 -0700 (Sun, 17 Jun 2007) Log Message: ----------- You might look at the Demo, and see how far I have got Modified Paths: -------------- trunk/BrowsersList.class trunk/BrowsersList.java trunk/DataMissingException.class trunk/ExecuteBrowser.class trunk/FindBrowserTest.class trunk/FindBrowserTest.java trunk/FindBrowsers.class trunk/GUIDemo.class trunk/GUIDemo.java trunk/GenericFunctions.class trunk/MtBrowserException.class trunk/NotFoundBrowserException.class trunk/WinMenu.class Modified: trunk/BrowsersList.class =================================================================== (Binary files differ) Modified: trunk/BrowsersList.java =================================================================== --- trunk/BrowsersList.java 2007-06-17 18:38:21 UTC (rev 24) +++ trunk/BrowsersList.java 2007-06-17 22:50:04 UTC (rev 25) @@ -1,23 +1,20 @@ import java.awt.Toolkit; import java.awt.Dimension; -import java.awt.Container; import java.awt.BorderLayout; import java.awt.Color; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.BoxLayout; import javax.swing.Box; -import javax.swing.ButtonGroup; import javax.swing.JRadioButton; import javax.swing.JCheckBox; import javax.swing.JPanel; import javax.swing.BorderFactory; import javax.swing.border.Border; import javax.swing.border.TitledBorder; -import javax.swing.border.EtchedBorder; -import javax.swing.border.CompoundBorder; -import javax.swing.border.BevelBorder; +import javax.swing.border.EtchedBorder; +import javax.swing.DefaultButtonModel; public class BrowsersList extends JPanel { @@ -29,32 +26,64 @@ "Browsers")); browsersList = Box.createVerticalBox(); - browsersList.setSize(20,20); - browsers = new ButtonGroup(); - + browsersList.setMaximumSize(new Dimension(100,30)); + browsersList.add(Box.createVerticalStrut(10)); - browsers.add(firefox = new JRadioButton("FireFox")); - browsersList.add(firefox); + browsersList.add(firefox= new JRadioButton("Firefox")); browsersList.add(Box.createVerticalStrut(10)); - browsers.add(mozilla = new JRadioButton("Mozilla")); - browsersList.add(mozilla); + browsersList.add(mozilla = new JRadioButton("Mozilla")); browsersList.add(Box.createVerticalStrut(10)); - browsers.add(explorer = new JRadioButton("Internet Explorer")); - browsersList.add(explorer); + browsersList.add(explorer = new JRadioButton("Internet Explorer")); browsersList.add(Box.createVerticalStrut(10)); - browsers.add(netscape = new JRadioButton("Netscape")); - browsersList.add(netscape); + browsersList.add(netscape = new JRadioButton("Netscape")); browsersList.add(Box.createVerticalStrut(10)); - browsers.add(opera = new JRadioButton("Opera")); - browsersList.add(opera); - add(browsersList,BorderLayout.CENTER); - } - Box browsersList, right; - ButtonGroup browsers; - JRadioButton firefox, mozilla, explorer, netscape, opera; + browsersList.add(opera = new JRadioButton("Opera")); + + browsersList.add(Box.createVerticalStrut(10)); + browsersList.add(konqueror = new JRadioButton("Konqueror")); + + add(browsersList,BorderLayout.CENTER); + + //Test Finding browsers + try{ + findBrowsers(); + }catch(Exception e){ System.out.println(e.getMessage());} + + } + private void findBrowsers() throws MtBrowserException + { + DefaultButtonModel model; + if(!FindBrowsers.check("firefox").equals("")) + { + model = (DefaultButtonModel)firefox.getModel(); + model.setSelected(true); + }if(!FindBrowsers.check("mozilla").equals("")) + { + model = (DefaultButtonModel)mozilla.getModel(); + model.setSelected(true); + }if(!FindBrowsers.check("explorer").equals("")) + { + model = (DefaultButtonModel)explorer.getModel(); + model.setSelected(true); + }if(!FindBrowsers.check("netscape").equals("")) + { + model = (DefaultButtonModel)netscape.getModel(); + model.setSelected(true); + }if(!FindBrowsers.check("opera").equals("")) + { + model = (DefaultButtonModel)opera.getModel(); + model.setSelected(true); + }if(!FindBrowsers.check("konqueror").equals("")) + { + model = (DefaultButtonModel)konqueror.getModel(); + model.setSelected(true); + } + } + private Box browsersList, right; + private JRadioButton firefox, mozilla, explorer, netscape, opera, konqueror; } Modified: trunk/DataMissingException.class =================================================================== (Binary files differ) Modified: trunk/ExecuteBrowser.class =================================================================== (Binary files differ) Modified: trunk/FindBrowserTest.class =================================================================== (Binary files differ) Modified: trunk/FindBrowserTest.java =================================================================== --- trunk/FindBrowserTest.java 2007-06-17 18:38:21 UTC (rev 24) +++ trunk/FindBrowserTest.java 2007-06-17 22:50:04 UTC (rev 25) @@ -1,5 +1,4 @@ - import java.awt.Toolkit; import java.awt.Dimension; Modified: trunk/FindBrowsers.class =================================================================== (Binary files differ) Modified: trunk/GUIDemo.class =================================================================== (Binary files differ) Modified: trunk/GUIDemo.java =================================================================== --- trunk/GUIDemo.java 2007-06-17 18:38:21 UTC (rev 24) +++ trunk/GUIDemo.java 2007-06-17 22:50:04 UTC (rev 25) @@ -1,10 +1,10 @@ - +import javax.swing.JFrame; import javax.swing.JLabel; -import java.awt.BorderLayout; +import javax.swing.JTextField; +import javax.swing.JPanel; +import java.awt.BorderLayout; +import javax.swing.JButton; -//Frame for the Sketcher application -import javax.swing.JFrame; - public class GUIDemo extends JFrame { public GUIDemo(String title) { @@ -12,10 +12,26 @@ setDefaultCloseOperation(EXIT_ON_CLOSE); this.setLayout(new BorderLayout()); - setJMenuBar(new WinMenu()); - add(new JLabel("Choose from Browsers Found"), BorderLayout.NORTH); - add(new JLabel("Here Should Go The Rest of the GUI, the link input"), - BorderLayout.EAST); - add(new BrowsersList(), BorderLayout.CENTER); + setJMenuBar(new WinMenu()); + + add(new JLabel("Choose from Browsers Found"), BorderLayout.NORTH); + add(new BrowsersList(), BorderLayout.WEST); + add(new InGui(), BorderLayout.CENTER); + } -} \ No newline at end of file +} + +/** + * Test class + * */ +class InGui extends JPanel +{ + public InGui() + { + add(new JLabel("Enter the URL: ")); + add(txtLink = new JTextField("http://www.google.com ")); + add(new JButton("Start Browser ")); + } + private JTextField txtLink; +} + Modified: trunk/GenericFunctions.class =================================================================== (Binary files differ) Modified: trunk/MtBrowserException.class =================================================================== (Binary files differ) Modified: trunk/NotFoundBrowserException.class =================================================================== (Binary files differ) Modified: trunk/WinMenu.class =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cod...@us...> - 2007-06-17 18:38:24
|
Revision: 24 http://mtbrowser.svn.sourceforge.net/mtbrowser/?rev=24&view=rev Author: coder_2020 Date: 2007-06-17 11:38:21 -0700 (Sun, 17 Jun 2007) Log Message: ----------- I am working on the Demo I got the Menu and Browsers List need to add events Modified Paths: -------------- trunk/ExecuteBrowser.java trunk/FindBrowserTest.class trunk/FindBrowserTest.java trunk/FindBrowsers.class trunk/FindBrowsers.java trunk/GenericFunctions.java trunk/MtBrowserExceptions.java Added Paths: ----------- trunk/.classpath trunk/.project trunk/BrowsersList.class trunk/BrowsersList.java trunk/GUIDemo.class trunk/GUIDemo.java trunk/WinMenu.class trunk/WinMenu.java Added: trunk/.classpath =================================================================== --- trunk/.classpath (rev 0) +++ trunk/.classpath 2007-06-17 18:38:21 UTC (rev 24) @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"/> + <classpathentry path="" kind="output"/> +</classpath> Added: trunk/.project =================================================================== --- trunk/.project (rev 0) +++ trunk/.project 2007-06-17 18:38:21 UTC (rev 24) @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>trunk</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> Added: trunk/BrowsersList.class =================================================================== (Binary files differ) Property changes on: trunk/BrowsersList.class ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/BrowsersList.java =================================================================== --- trunk/BrowsersList.java (rev 0) +++ trunk/BrowsersList.java 2007-06-17 18:38:21 UTC (rev 24) @@ -0,0 +1,60 @@ + +import java.awt.Toolkit; +import java.awt.Dimension; +import java.awt.Container; +import java.awt.BorderLayout; +import java.awt.Color; +import javax.swing.JFrame; +import javax.swing.JButton; +import javax.swing.BoxLayout; +import javax.swing.Box; +import javax.swing.ButtonGroup; +import javax.swing.JRadioButton; +import javax.swing.JCheckBox; +import javax.swing.JPanel; +import javax.swing.BorderFactory; +import javax.swing.border.Border; +import javax.swing.border.TitledBorder; +import javax.swing.border.EtchedBorder; +import javax.swing.border.CompoundBorder; +import javax.swing.border.BevelBorder; + +public class BrowsersList extends JPanel +{ + public BrowsersList() + { + setLayout(new BorderLayout()); + setBorder(new TitledBorder( + new EtchedBorder(), + "Browsers")); + + browsersList = Box.createVerticalBox(); + browsersList.setSize(20,20); + browsers = new ButtonGroup(); + + browsersList.add(Box.createVerticalStrut(10)); + browsers.add(firefox = new JRadioButton("FireFox")); + browsersList.add(firefox); + + browsersList.add(Box.createVerticalStrut(10)); + browsers.add(mozilla = new JRadioButton("Mozilla")); + browsersList.add(mozilla); + + browsersList.add(Box.createVerticalStrut(10)); + browsers.add(explorer = new JRadioButton("Internet Explorer")); + browsersList.add(explorer); + + browsersList.add(Box.createVerticalStrut(10)); + browsers.add(netscape = new JRadioButton("Netscape")); + browsersList.add(netscape); + + browsersList.add(Box.createVerticalStrut(10)); + browsers.add(opera = new JRadioButton("Opera")); + browsersList.add(opera); + add(browsersList,BorderLayout.CENTER); + } + Box browsersList, right; + ButtonGroup browsers; + JRadioButton firefox, mozilla, explorer, netscape, opera; + +} Modified: trunk/ExecuteBrowser.java =================================================================== --- trunk/ExecuteBrowser.java 2007-06-17 01:19:26 UTC (rev 23) +++ trunk/ExecuteBrowser.java 2007-06-17 18:38:21 UTC (rev 24) @@ -1,4 +1,4 @@ -package mtbrowser; + import java.io.IOException; public class ExecuteBrowser { Modified: trunk/FindBrowserTest.class =================================================================== (Binary files differ) Modified: trunk/FindBrowserTest.java =================================================================== --- trunk/FindBrowserTest.java 2007-06-17 01:19:26 UTC (rev 23) +++ trunk/FindBrowserTest.java 2007-06-17 18:38:21 UTC (rev 24) @@ -1,10 +1,21 @@ -package mtbrowser; + +import java.awt.Toolkit; +import java.awt.Dimension; + public class FindBrowserTest { public static void main(String [] arg) { - for(int i = 0; i < GenericFunctions.BROWSERS.length; i++) + window = new GUIDemo("MtBrowser Demo"); + Toolkit theKit = window.getToolkit(); + Dimension wndSize = theKit.getScreenSize(); + + window.setBounds(wndSize.width/4, wndSize.height/4, + wndSize.width/2 + 100, wndSize.height/2 + 100); + window.setVisible(true); + + /*for(int i = 0; i < GenericFunctions.BROWSERS.length; i++) { if(FindBrowsers.check(GenericFunctions.BROWSERS[i]).equals("")) System.out.println(GenericFunctions.BROWSERS[i] + " is not installed"); @@ -18,6 +29,7 @@ System.out.println(e.getMessage()); } } - } + }*/ } + private static GUIDemo window; } Modified: trunk/FindBrowsers.class =================================================================== (Binary files differ) Modified: trunk/FindBrowsers.java =================================================================== --- trunk/FindBrowsers.java 2007-06-17 01:19:26 UTC (rev 23) +++ trunk/FindBrowsers.java 2007-06-17 18:38:21 UTC (rev 24) @@ -1,4 +1,3 @@ -package mtbrowser; /* Execute a script that will find the browsers installed */ Added: trunk/GUIDemo.class =================================================================== (Binary files differ) Property changes on: trunk/GUIDemo.class ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/GUIDemo.java =================================================================== --- trunk/GUIDemo.java (rev 0) +++ trunk/GUIDemo.java 2007-06-17 18:38:21 UTC (rev 24) @@ -0,0 +1,21 @@ + +import javax.swing.JLabel; +import java.awt.BorderLayout; + +//Frame for the Sketcher application +import javax.swing.JFrame; + +public class GUIDemo extends JFrame { + + public GUIDemo(String title) { + setTitle(title); + setDefaultCloseOperation(EXIT_ON_CLOSE); + + this.setLayout(new BorderLayout()); + setJMenuBar(new WinMenu()); + add(new JLabel("Choose from Browsers Found"), BorderLayout.NORTH); + add(new JLabel("Here Should Go The Rest of the GUI, the link input"), + BorderLayout.EAST); + add(new BrowsersList(), BorderLayout.CENTER); + } +} \ No newline at end of file Modified: trunk/GenericFunctions.java =================================================================== --- trunk/GenericFunctions.java 2007-06-17 01:19:26 UTC (rev 23) +++ trunk/GenericFunctions.java 2007-06-17 18:38:21 UTC (rev 24) @@ -1,4 +1,4 @@ -package mtbrowser; + /* * Contains Shared Data across other classes */ Modified: trunk/MtBrowserExceptions.java =================================================================== --- trunk/MtBrowserExceptions.java 2007-06-17 01:19:26 UTC (rev 23) +++ trunk/MtBrowserExceptions.java 2007-06-17 18:38:21 UTC (rev 24) @@ -1,5 +1,5 @@ -package mtbrowser; + class MtBrowserException extends Exception { public MtBrowserException() Added: trunk/WinMenu.class =================================================================== (Binary files differ) Property changes on: trunk/WinMenu.class ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/WinMenu.java =================================================================== --- trunk/WinMenu.java (rev 0) +++ trunk/WinMenu.java 2007-06-17 18:38:21 UTC (rev 24) @@ -0,0 +1,68 @@ + +import javax.swing.JMenu; +import javax.swing.JMenuBar; +import javax.swing.JMenuItem; + +public class WinMenu extends JMenuBar{ + + public WinMenu() { + //File menu + JMenu fileMenu = new JMenu("File"); + exitItem = fileMenu.add("Exit"); + + //options Menu + JMenu optionsMenu = new JMenu("Options"); + redetectBrowser = optionsMenu.add("Re-Detect Browsers"); + addBrowser = optionsMenu.add("Add Browser Manually"); + openLocalPage = optionsMenu.add("Open Local Web Page"); + viewSource = optionsMenu.add("View Source"); + + //Validations Menu + JMenu validationsMenu = new JMenu("Validations"); + //CSS Menu + JMenu cssMenu = new JMenu("CSS"); + cssLevelOne = cssMenu.add("Validate to CSS Level 1"); + cssLevelTwo = cssMenu.add("Validate to CSS Level 2"); + cssLevelThree= cssMenu.add("Validate to CSS Level 3"); + cssMenu.addSeparator(); + visitValidSite = cssMenu.add("CSS Validations Site"); + validationsMenu.add(cssMenu); + //HTML Menu + JMenu htmlMenu = new JMenu("HTML"); + validateTo = htmlMenu.add("Validate to ..."); + htmlFour = htmlMenu.add("HTML 4.01 Transitional"); + htmlStrict = htmlMenu.add("HTML Strict"); + xhtmlOne = htmlMenu.add("XHTML 1.0 Transitional"); + xhtmlStrict = htmlMenu.add("XHTML 1.1 Strict"); + visitHtmlVSite = htmlMenu.add("Visit HTML Validation Site"); + validationsMenu.add(htmlMenu); + + //Resources Menu + JMenu resourcesMenu = new JMenu("Resources"); + hintsAndTips = resourcesMenu.add("Hints and Tips"); + JMenu howToMenu = new JMenu("How to ..."); + convertToCss = howToMenu.add("Conver to CSS only Code"); + resourcesMenu.add(howToMenu); + + //Help Menu + JMenu helpMenu = new JMenu("Help"); + aboutItem = helpMenu.add("About"); + additionalInfo = helpMenu.add("Additional Information"); + viewChangeLog = helpMenu.add("View ChangeLog"); + creditsAndThanks = helpMenu.add("Credits and Thanks"); + + add(fileMenu); + add(optionsMenu); + add(validationsMenu); + add(resourcesMenu); + add(helpMenu); + } + + private JMenuItem exitItem; + private JMenuItem redetectBrowser, addBrowser, openLocalPage, viewSource; + private JMenuItem cssLevelOne, cssLevelTwo, cssLevelThree, visitValidSite; + private JMenuItem validateTo, htmlFour, htmlStrict, xhtmlOne, + xhtmlStrict, visitHtmlVSite; + private JMenuItem hintsAndTips, convertToCss; + private JMenuItem aboutItem, additionalInfo, viewChangeLog, creditsAndThanks; +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ipv...@us...> - 2007-06-17 01:19:28
|
Revision: 23 http://mtbrowser.svn.sourceforge.net/mtbrowser/?rev=23&view=rev Author: ipv6guru Date: 2007-06-16 18:19:26 -0700 (Sat, 16 Jun 2007) Log Message: ----------- Deleting findbrowserlinux directory and contents Removed Paths: ------------- trunk/findbrowserlinux/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cod...@us...> - 2007-06-17 01:04:54
|
Revision: 22 http://mtbrowser.svn.sourceforge.net/mtbrowser/?rev=22&view=rev Author: coder_2020 Date: 2007-06-16 18:04:51 -0700 (Sat, 16 Jun 2007) Log Message: ----------- I added some code to handle Exceptions Modified Paths: -------------- trunk/ExecuteBrowser.class trunk/ExecuteBrowser.java trunk/FindBrowsers.class trunk/FindBrowsers.java trunk/GenericFunctions.class Added Paths: ----------- trunk/DataMissingException.class trunk/MtBrowserException.class trunk/MtBrowserExceptions.java trunk/NotFoundBrowserException.class Added: trunk/DataMissingException.class =================================================================== (Binary files differ) Property changes on: trunk/DataMissingException.class ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/ExecuteBrowser.class =================================================================== (Binary files differ) Modified: trunk/ExecuteBrowser.java =================================================================== --- trunk/ExecuteBrowser.java 2007-06-15 21:29:20 UTC (rev 21) +++ trunk/ExecuteBrowser.java 2007-06-17 01:04:51 UTC (rev 22) @@ -1,4 +1,5 @@ package mtbrowser; +import java.io.IOException; public class ExecuteBrowser { private String browserName, link; @@ -11,24 +12,28 @@ this.browserName = browserName; this.link = link; } - public void startBrowser() throws Exception + public void startBrowser() throws MtBrowserException { if(browserName == "" || link == "") - throw new Exception("Browser or Link is missing\n"); - - String cmd = "./startbrowser " + browserName + " " + link; - Process p = Runtime.getRuntime().exec(cmd); - - /*BufferedReader stdInput = new BufferedReader(new - InputStreamReader(p.getInputStream())); - String s = stdInput.readLine(); - return s != null ? s : "";*/ + throw new DataMissingException("Browser or Link is missing\n"); + try{ + String cmd = "./startbrowser " + browserName + " " + link; + Process p = Runtime.getRuntime().exec(cmd); + }catch(IOException e) + { + throw new DataMissingException("Could not start Browser " + e.getMessage()); + } } - public static void startBrowser(String browserName, String link)throws Exception + public static void startBrowser(String browserName, String link)throws MtBrowserException { if(browserName == "" || link == "") - throw new Exception("Browser or Link is missing"); - String cmd = "./startbrowser " + browserName + " " + link; - Process p = Runtime.getRuntime().exec(cmd); + throw new DataMissingException("Browser or Link is missing"); + try{ + String cmd = "./startbrowser " + browserName + " " + link; + Process p = Runtime.getRuntime().exec(cmd); + }catch(IOException e) + { + throw new DataMissingException("Could not start Browser " + e.getMessage()); + } } } Modified: trunk/FindBrowsers.class =================================================================== (Binary files differ) Modified: trunk/FindBrowsers.java =================================================================== --- trunk/FindBrowsers.java 2007-06-15 21:29:20 UTC (rev 21) +++ trunk/FindBrowsers.java 2007-06-17 01:04:51 UTC (rev 22) @@ -16,7 +16,7 @@ { this(""); } - public String Find() + public String Find() throws MtBrowserException { return check(browserName); } @@ -29,7 +29,7 @@ return browserName; } - public static String check(String browserName) { + public static String check(String browserName) throws MtBrowserException { try { @@ -55,9 +55,7 @@ return s != null ? s : ""; } catch (IOException e) { - System.out.println("exception happened: "); - e.printStackTrace(); + throw new NotFoundBrowserException("Not Found Exception " + e.getMessage() + e.getStackTrace()); } - return ""; } } Modified: trunk/GenericFunctions.class =================================================================== (Binary files differ) Added: trunk/MtBrowserException.class =================================================================== (Binary files differ) Property changes on: trunk/MtBrowserException.class ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/MtBrowserExceptions.java =================================================================== --- trunk/MtBrowserExceptions.java (rev 0) +++ trunk/MtBrowserExceptions.java 2007-06-17 01:04:51 UTC (rev 22) @@ -0,0 +1,45 @@ +package mtbrowser; + +class MtBrowserException extends Exception +{ + public MtBrowserException() + { + this("Unexpected Error happened"); + } + public MtBrowserException(String smessage) + { + this.message = message; + } + public void setMessage(String s) + { + message = s; + } + public String getMessage() + { + return message; + } + protected String message; +} + +class NotFoundBrowserException extends MtBrowserException +{ + public NotFoundBrowserException() + { + this("NotFoundBrowserException"); + } + public NotFoundBrowserException(String message) + { + super(message); + } +} +class DataMissingException extends MtBrowserException +{ + public DataMissingException() + { + this("DataMissingException"); + } + public DataMissingException(String message) + { + super(message); + } +} \ No newline at end of file Added: trunk/NotFoundBrowserException.class =================================================================== (Binary files differ) Property changes on: trunk/NotFoundBrowserException.class ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cod...@us...> - 2007-06-15 21:29:28
|
Revision: 21 http://mtbrowser.svn.sourceforge.net/mtbrowser/?rev=21&view=rev Author: coder_2020 Date: 2007-06-15 14:29:20 -0700 (Fri, 15 Jun 2007) Log Message: ----------- I added some code that start browser too in linux Added Paths: ----------- trunk/ExecuteBrowser.class trunk/ExecuteBrowser.java trunk/FindBrowserTest.class trunk/FindBrowserTest.java trunk/FindBrowsers.class trunk/FindBrowsers.java trunk/GenericFunctions.class trunk/GenericFunctions.java Added: trunk/ExecuteBrowser.class =================================================================== (Binary files differ) Property changes on: trunk/ExecuteBrowser.class ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/ExecuteBrowser.java =================================================================== --- trunk/ExecuteBrowser.java (rev 0) +++ trunk/ExecuteBrowser.java 2007-06-15 21:29:20 UTC (rev 21) @@ -0,0 +1,34 @@ +package mtbrowser; + +public class ExecuteBrowser { + private String browserName, link; + public ExecuteBrowser() + { + this("",""); + } + public ExecuteBrowser(String browserName, String link) + { + this.browserName = browserName; + this.link = link; + } + public void startBrowser() throws Exception + { + if(browserName == "" || link == "") + throw new Exception("Browser or Link is missing\n"); + + String cmd = "./startbrowser " + browserName + " " + link; + Process p = Runtime.getRuntime().exec(cmd); + + /*BufferedReader stdInput = new BufferedReader(new + InputStreamReader(p.getInputStream())); + String s = stdInput.readLine(); + return s != null ? s : "";*/ + } + public static void startBrowser(String browserName, String link)throws Exception + { + if(browserName == "" || link == "") + throw new Exception("Browser or Link is missing"); + String cmd = "./startbrowser " + browserName + " " + link; + Process p = Runtime.getRuntime().exec(cmd); + } +} Added: trunk/FindBrowserTest.class =================================================================== (Binary files differ) Property changes on: trunk/FindBrowserTest.class ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/FindBrowserTest.java =================================================================== --- trunk/FindBrowserTest.java (rev 0) +++ trunk/FindBrowserTest.java 2007-06-15 21:29:20 UTC (rev 21) @@ -0,0 +1,23 @@ +package mtbrowser; + +public class FindBrowserTest +{ + public static void main(String [] arg) + { + for(int i = 0; i < GenericFunctions.BROWSERS.length; i++) + { + if(FindBrowsers.check(GenericFunctions.BROWSERS[i]).equals("")) + System.out.println(GenericFunctions.BROWSERS[i] + " is not installed"); + else + { + System.out.println(GenericFunctions.BROWSERS[i] + " is installed"); + try{ + ExecuteBrowser.startBrowser(GenericFunctions.BROWSERS[i],"www.google.com"); + }catch(Exception e) + { + System.out.println(e.getMessage()); + } + } + } + } +} Added: trunk/FindBrowsers.class =================================================================== (Binary files differ) Property changes on: trunk/FindBrowsers.class ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/FindBrowsers.java =================================================================== --- trunk/FindBrowsers.java (rev 0) +++ trunk/FindBrowsers.java 2007-06-15 21:29:20 UTC (rev 21) @@ -0,0 +1,63 @@ +package mtbrowser; + +/* Execute a script that will find the browsers installed + */ +import java.io.*; + +public class FindBrowsers { + protected String browserName; + + public FindBrowsers(String browserName) + { + this.browserName = browserName; + } + + public FindBrowsers() + { + this(""); + } + public String Find() + { + return check(browserName); + } + public void setBrowserName(String name) + { + browserName = name; + } + public String getBrowserName() + { + return browserName; + } + + public static String check(String browserName) { + + try { + + Process p = Runtime.getRuntime().exec("./findbrowsers " + browserName); + + BufferedReader stdInput = new BufferedReader(new + InputStreamReader(p.getInputStream())); + + /*BufferedReader stdError = new BufferedReader(new + InputStreamReader(p.getErrorStream())); + + //If needed to read the whole message + /* while ((s = stdInput.readLine()) != null) { + System.out.println(s); + } + + while ((s = stdError.readLine()) != null) { + System.out.println(s); + } + + System.exit(0);*/ + String s = stdInput.readLine(); + return s != null ? s : ""; + } + catch (IOException e) { + System.out.println("exception happened: "); + e.printStackTrace(); + } + return ""; + } +} Added: trunk/GenericFunctions.class =================================================================== (Binary files differ) Property changes on: trunk/GenericFunctions.class ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/GenericFunctions.java =================================================================== --- trunk/GenericFunctions.java (rev 0) +++ trunk/GenericFunctions.java 2007-06-15 21:29:20 UTC (rev 21) @@ -0,0 +1,8 @@ +package mtbrowser; +/* + * Contains Shared Data across other classes + */ +public class GenericFunctions { + public final static String []BROWSERS = + {"firefox", "mozilla", "konqueror", "mybrowser"}; +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cod...@us...> - 2007-06-15 21:25:19
|
Revision: 20 http://mtbrowser.svn.sourceforge.net/mtbrowser/?rev=20&view=rev Author: coder_2020 Date: 2007-06-15 14:25:15 -0700 (Fri, 15 Jun 2007) Log Message: ----------- I added some code that start browser too in linux Added Paths: ----------- trunk/findbrowsers trunk/startbrowser Added: trunk/findbrowsers =================================================================== --- trunk/findbrowsers (rev 0) +++ trunk/findbrowsers 2007-06-15 21:25:15 UTC (rev 20) @@ -0,0 +1,5 @@ +#This is a script could be improved to find browsers +# +#dpkg --get-selections | awk '{ print $1 }' | grep "^$1$" +#this might work in most linux dists +which $1 Property changes on: trunk/findbrowsers ___________________________________________________________________ Name: svn:executable + * Added: trunk/startbrowser =================================================================== --- trunk/startbrowser (rev 0) +++ trunk/startbrowser 2007-06-15 21:25:15 UTC (rev 20) @@ -0,0 +1,5 @@ +#This script will be used to start browsers +#It could be improved later to make sure it works +#with all browsers +$1 $2 + Property changes on: trunk/startbrowser ___________________________________________________________________ Name: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Bala S. P. <tp...@gm...> - 2007-06-11 16:55:21
|
hi i found a code that detects os in java System.getProperty("os.name") this returns os name |
From: <ipv...@us...> - 2007-06-09 12:49:23
|
Revision: 19 http://mtbrowser.svn.sourceforge.net/mtbrowser/?rev=19&view=rev Author: ipv6guru Date: 2007-06-09 05:49:19 -0700 (Sat, 09 Jun 2007) Log Message: ----------- Automatic publish from forrestbot Modified Paths: -------------- site/index.html site/linkmap.html Modified: site/index.html =================================================================== --- site/index.html 2007-06-09 12:09:08 UTC (rev 18) +++ site/index.html 2007-06-09 12:49:19 UTC (rev 19) @@ -34,45 +34,21 @@ </head> <body> <div id="container"> -<!--+ - | start breadtrail - +--> -<div class="breadtrail"> -<a href="http://www.apache.org/">MyGroup</a> - > <a href="http://forrest.apache.org/">MyProject</a> -<script src="themes/breadcrumbs.js" type="text/javascript"> </script> -</div> -<!--+ - | end breadtrail - +--> <div id="header"> -<div id="branding-tagline-name">new - seed</div> -<div id="branding-tagline-tagline">powered by the - dispatcher</div> +<div id="branding-tagline-name">MTBrowser</div> +<div id="branding-tagline-tagline">Open multiple browser with one click.</div> <div class="logo"> <!--+ |start Logo +--> -<a href="http://mygroup.org/"> -<img alt="MyGroup" class="logoImage" src="images/group.png" title="MyGroup Description" /> +<a href="http://sourceforge.net/projects/mtbrowser/"> +<img alt="MTBrowser" class="logoImage" src="images/project-logo.png" title="MTBrowser" /> </a> <!--+ |end group Logo +--> </div> -<div class="logo"> <!--+ - |start Logo - +--> -<a href="http://myproj.mygroup.org/"> -<img alt="MyProject" class="logoImage" src="images/project.png" title="MyProject Description" /> -</a> -<!--+ - |end group Logo - +--> -</div> -<!--+ |start Search +--> <div class="searchbox"> @@ -81,7 +57,7 @@ <div class="search-input"> <form action="http://www.google.com/search" method="get"> <div class="search-hidden"> -<input name="sitesearch" type="hidden" value="mydomain" /> +<input name="sitesearch" type="hidden" value="http://mtbrowser.sourceforge.net" /> </div> <div class="search-field"> <input name="q" onblur="getPrompt(this, 'Search the site with google');" onfocus="getBlank(this, 'Search the site with google');" size="25" type="text" value="Search the site with google" /> @@ -222,7 +198,7 @@ </div> <div class="copyright"> Copyright © - 2002-2007 <a href="http://example.org">The Example Organisation.</a> </div> + 2005-2007 <a href="http://mtbrowser.sourceforge.net/license">MTBrowser</a> </div> <!--+ |start compliance links +--> <div id="siteinfo-compliance-links"> <a href="http://validator.w3.org/check?uri=referer"> Modified: site/linkmap.html =================================================================== --- site/linkmap.html 2007-06-09 12:09:08 UTC (rev 18) +++ site/linkmap.html 2007-06-09 12:49:19 UTC (rev 19) @@ -34,45 +34,21 @@ </head> <body> <div id="container"> -<!--+ - | start breadtrail - +--> -<div class="breadtrail"> -<a href="http://www.apache.org/">MyGroup</a> - > <a href="http://forrest.apache.org/">MyProject</a> -<script src="themes/breadcrumbs.js" type="text/javascript"> </script> -</div> -<!--+ - | end breadtrail - +--> <div id="header"> -<div id="branding-tagline-name">new - seed</div> -<div id="branding-tagline-tagline">powered by the - dispatcher</div> +<div id="branding-tagline-name">MTBrowser</div> +<div id="branding-tagline-tagline">Open multiple browser with one click.</div> <div class="logo"> <!--+ |start Logo +--> -<a href="http://mygroup.org/"> -<img alt="MyGroup" class="logoImage" src="images/group.png" title="MyGroup Description" /> +<a href="http://sourceforge.net/projects/mtbrowser/"> +<img alt="MTBrowser" class="logoImage" src="images/project-logo.png" title="MTBrowser" /> </a> <!--+ |end group Logo +--> </div> -<div class="logo"> <!--+ - |start Logo - +--> -<a href="http://myproj.mygroup.org/"> -<img alt="MyProject" class="logoImage" src="images/project.png" title="MyProject Description" /> -</a> -<!--+ - |end group Logo - +--> -</div> -<!--+ |start Search +--> <div class="searchbox"> @@ -81,7 +57,7 @@ <div class="search-input"> <form action="http://www.google.com/search" method="get"> <div class="search-hidden"> -<input name="sitesearch" type="hidden" value="mydomain" /> +<input name="sitesearch" type="hidden" value="http://mtbrowser.sourceforge.net" /> </div> <div class="search-field"> <input name="q" onblur="getPrompt(this, 'Search the site with google');" onfocus="getBlank(this, 'Search the site with google');" size="25" type="text" value="Search the site with google" /> @@ -194,7 +170,7 @@ </div> <div class="copyright"> Copyright © - 2002-2007 <a href="http://example.org">The Example Organisation.</a> </div> + 2005-2007 <a href="http://mtbrowser.sourceforge.net/license">MTBrowser</a> </div> <!--+ |start compliance links +--> <div id="siteinfo-compliance-links"> <a href="http://validator.w3.org/check?uri=referer"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ipv...@us...> - 2007-06-09 12:09:18
|
Revision: 18 http://mtbrowser.svn.sourceforge.net/mtbrowser/?rev=18&view=rev Author: ipv6guru Date: 2007-06-09 05:09:08 -0700 (Sat, 09 Jun 2007) Log Message: ----------- Automatic publish from forrestbot Modified Paths: -------------- site/images/group.png site/images/project.png site/index.dispatcher.css site/index.html site/index.pdf site/linkmap.dispatcher.css site/linkmap.html site/linkmap.pdf site/locationmap.xml site/skin/CommonMessages_es.xml site/themes/pelt.screen.css Modified: site/images/group.png =================================================================== (Binary files differ) Modified: site/images/project.png =================================================================== (Binary files differ) Modified: site/index.dispatcher.css =================================================================== --- site/index.dispatcher.css 2007-06-09 03:41:34 UTC (rev 17) +++ site/index.dispatcher.css 2007-06-09 12:09:08 UTC (rev 18) @@ -41,5 +41,5 @@ background-position: bottom left; } + - Modified: site/index.html =================================================================== --- site/index.html 2007-06-09 03:41:34 UTC (rev 17) +++ site/index.html 2007-06-09 12:09:08 UTC (rev 18) @@ -1,21 +1,21 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> - <link href="themes/common.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" /> - <link href="themes/leather-dev.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" /> - <link href="themes/pelt.screen.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" /> - - <link href="index.dispatcher.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" /> - <link href="themes/pelt.print.css" media="print" rel="stylesheet" title="Pelt" type="text/css" /> - <style type="text/css">/* Extra css */ + <link href="themes/common.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" /> + <link href="themes/leather-dev.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" /> + <link href="themes/pelt.screen.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" /> + + <link href="index.dispatcher.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" /> + <link href="themes/pelt.print.css" media="print" rel="stylesheet" title="Pelt" type="text/css" /> + <style type="text/css">/* Extra css */ p.quote { margin-left: 2em; padding: .5em; background-color: #f0f0f0; font-family: monospace; }</style> - <meta content="Apache Forrest" name="Generator" /> -<meta content="0.8-dev" name="Forrest-version" /> + <meta content="Apache Forrest" name="Generator" /> +<meta content="0.9-dev" name="Forrest-version" /> <meta content="pelt" name="Forrest-theme-name" /> <meta content="text/html; charset=UTF-8" http-equiv="content-type" /> <!--+ |start navigation links +--> @@ -34,21 +34,45 @@ </head> <body> <div id="container"> +<!--+ + | start breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">MyGroup</a> + > <a href="http://forrest.apache.org/">MyProject</a> +<script src="themes/breadcrumbs.js" type="text/javascript"> </script> +</div> +<!--+ + | end breadtrail + +--> <div id="header"> -<div id="branding-tagline-name">MTBrowser</div> -<div id="branding-tagline-tagline">Multiple Browsers with one click.</div> +<div id="branding-tagline-name">new + seed</div> +<div id="branding-tagline-tagline">powered by the + dispatcher</div> <div class="logo"> <!--+ |start Logo +--> -<a href="http://mtbrowser.sourceforge.net/"> -<img alt="MyProject" class="logoImage" src="images/project-logo.png" title="MTBrowser" /> +<a href="http://mygroup.org/"> +<img alt="MyGroup" class="logoImage" src="images/group.png" title="MyGroup Description" /> </a> <!--+ |end group Logo +--> </div> +<div class="logo"> <!--+ + |start Logo + +--> +<a href="http://myproj.mygroup.org/"> +<img alt="MyProject" class="logoImage" src="images/project.png" title="MyProject Description" /> +</a> +<!--+ + |end group Logo + +--> +</div> +<!--+ |start Search +--> <div class="searchbox"> @@ -122,7 +146,7 @@ </div> <div class="trail"> <script type="text/javascript">ndeSetTextSize();</script> - Font size: + Font size: <input class="resetfont" onclick="ndeSetTextSize('reset'); return false;" title="Reset text" type="button" value="Reset" /> <input class="smallerfont" onclick="ndeSetTextSize('decr'); return false;" title="Shrink text" type="button" value="-a" /> <input class="biggerfont" onclick="ndeSetTextSize('incr'); return false;" title="Enlarge text" type="button" value="+a" /> @@ -164,10 +188,14 @@ the new look program. Currently written in C++ , there are plans to port it across to a JAVA/XML version. </p> +<div class="note"> +<div class="label">Note</div> +<div class="content">There is some code under development for the new Java version.</div> +</div> <p> Please check out the main <a href="https://sourceforge.net/projects/mtbrowser">SourceForge Pages</a> for details. - Summary is basically check out the source code using + Summary is basically: Check out the source code using <span class="codefrag">svn co https://mtbrowser.svn.sourceforge.net/svnroot/mtbrowser/trunk mtbrowser</span> Or view the SVN repo at <a href="http://mtbrowser.svn.sourceforge.net/viewvc/mtbrowser/trunk/">http://mtbrowser.svn.sourceforge.net/viewvc/mtbrowser/trunk/</a> @@ -179,9 +207,9 @@ <p>These are quick instructions on how to download, install & configure subversion, and also to check out the trunk or one of the branches for so you can work with the code for MTBrowser</p> <p>Goto <a href="http://downloads.open.collab.net/collabnet-subversion.html/">Collabnet Downloads area</a> and select a command line only version for your platform, I use the Windows XP Client.</p> <p>Once downloaded, double click on the installer program to go through the installation wizard, it only takes a minute..</p> -<p>Thats it, Subversion client should now be installed and ready to go.</p> -<p>Open a commmand prompt (aka Dos Box for windows) create a new folder called 'mtbrowser' in the root of one of your drives. I'll assume drive C here. from c:\ type in 'svn co https://mtbrowser.svn.sourceforge.net/svnroot/mtbrowser mtbrowser'. This will download all the directories and all the files of the MTBrowser codebase including the main development 'trunk' directory, the 'site' directory where these website files are pulled from, the 'branches' directory and all containing branches.</p> -<p>If you only want 'trunk' and none of the other stuff then from c:\ type in 'svn co https://mtbrowser.svn.sourceforge.net/svnroot/mtbrowser/trunk mtbrowser' instead and you'll only get trunk put into your local c:\mtbrowser\ folder.</p> +<p>That's it, Subversion client should now be installed and ready to go.</p> +<p>Open a command prompt (aka Dos Box for windows), create a new folder called 'mtbrowser' in the root of one of your drives. I'll assume drive C here. from c:\ type in <span class="codefrag">svn co https://mtbrowser.svn.sourceforge.net/svnroot/mtbrowser mtbrowser</span>. This will download all the directories and all the files of the MTBrowser codebase including the main development 'trunk' directory, the 'site' directory where these website files are pulled from, the 'branches' directory and all containing branches.</p> +<p>If you only want 'trunk' and none of the other stuff then from c:\ type in <span class="codefrag">svn co https://mtbrowser.svn.sourceforge.net/svnroot/mtbrowser/trunk mtbrowser</span> instead and you'll only get trunk put into your local c:\mtbrowser\ folder.</p> <p>So now you have the code and can begin to work on it, only assigned developers can upload their code into SVN however.</p> <p>Please ask in the user forums after reading the SVN docs if you get stuck</p> </div> @@ -194,7 +222,7 @@ </div> <div class="copyright"> Copyright © - 2007 <a href="http://www.acme.org/licenses/">The Acme Software Organisation.</a> </div> + 2002-2007 <a href="http://example.org">The Example Organisation.</a> </div> <!--+ |start compliance links +--> <div id="siteinfo-compliance-links"> <a href="http://validator.w3.org/check?uri=referer"> Modified: site/index.pdf =================================================================== (Binary files differ) Modified: site/linkmap.dispatcher.css =================================================================== --- site/linkmap.dispatcher.css 2007-06-09 03:41:34 UTC (rev 17) +++ site/linkmap.dispatcher.css 2007-06-09 12:09:08 UTC (rev 18) @@ -1,9 +1,9 @@ + - /* branding-theme-profiler-theme: Pelt */ #header .round-top-left-small { background-image: url(themes/images/roundcorner-t-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png); @@ -46,5 +46,5 @@ background-position: bottom left; } + - Modified: site/linkmap.html =================================================================== --- site/linkmap.html 2007-06-09 03:41:34 UTC (rev 17) +++ site/linkmap.html 2007-06-09 12:09:08 UTC (rev 18) @@ -1,21 +1,21 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> - <link href="themes/common.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" /> - <link href="themes/leather-dev.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" /> - <link href="themes/pelt.screen.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" /> - - <link href="linkmap.dispatcher.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" /> - <link href="themes/pelt.print.css" media="print" rel="stylesheet" title="Pelt" type="text/css" /> - <style type="text/css">/* Extra css */ + <link href="themes/common.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" /> + <link href="themes/leather-dev.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" /> + <link href="themes/pelt.screen.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" /> + + <link href="linkmap.dispatcher.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" /> + <link href="themes/pelt.print.css" media="print" rel="stylesheet" title="Pelt" type="text/css" /> + <style type="text/css">/* Extra css */ p.quote { margin-left: 2em; padding: .5em; background-color: #f0f0f0; font-family: monospace; }</style> - <meta content="Apache Forrest" name="Generator" /> -<meta content="0.8-dev" name="Forrest-version" /> + <meta content="Apache Forrest" name="Generator" /> +<meta content="0.9-dev" name="Forrest-version" /> <meta content="pelt" name="Forrest-theme-name" /> <meta content="text/html; charset=UTF-8" http-equiv="content-type" /> <!--+ |start navigation links +--> @@ -29,26 +29,50 @@ <script src="themes/menu.js" type="text/javascript"> </script> <script src="themes/fontsize.js" type="text/javascript"> </script> <!--+ |start content-title +--> -<title>Site Linkmap</title> +<title>Site Linkmap Table of Contents</title> <!--+ |end content-title +--> </head> <body> <div id="container"> +<!--+ + | start breadtrail + +--> +<div class="breadtrail"> +<a href="http://www.apache.org/">MyGroup</a> + > <a href="http://forrest.apache.org/">MyProject</a> +<script src="themes/breadcrumbs.js" type="text/javascript"> </script> +</div> +<!--+ + | end breadtrail + +--> <div id="header"> -<div id="branding-tagline-name">MTBrowser</div> -<div id="branding-tagline-tagline">Multiple Browsers with one click.</div> +<div id="branding-tagline-name">new + seed</div> +<div id="branding-tagline-tagline">powered by the + dispatcher</div> <div class="logo"> <!--+ |start Logo +--> -<a href="http://mtbrowser.sourceforge.net/"> -<img alt="MyProject" class="logoImage" src="images/project-logo.png" title="MTBrowser" /> +<a href="http://mygroup.org/"> +<img alt="MyGroup" class="logoImage" src="images/group.png" title="MyGroup Description" /> </a> <!--+ |end group Logo +--> </div> +<div class="logo"> <!--+ + |start Logo + +--> +<a href="http://myproj.mygroup.org/"> +<img alt="MyProject" class="logoImage" src="images/project.png" title="MyProject Description" /> +</a> +<!--+ + |end group Logo + +--> +</div> +<!--+ |start Search +--> <div class="searchbox"> @@ -122,44 +146,36 @@ </div> <div class="trail"> <script type="text/javascript">ndeSetTextSize();</script> - Font size: + Font size: <input class="resetfont" onclick="ndeSetTextSize('reset'); return false;" title="Reset text" type="button" value="Reset" /> <input class="smallerfont" onclick="ndeSetTextSize('decr'); return false;" title="Shrink text" type="button" value="-a" /> <input class="biggerfont" onclick="ndeSetTextSize('incr'); return false;" title="Enlarge text" type="button" value="+a" /> </div> <!--+ |start content-title +--> -<h1 class="content-title">Site Linkmap</h1> +<h1 class="content-title">Site Linkmap Table of Contents</h1> <!--+ |end content-title +--> <!--+ |start content-abstract +--> <!--+ |end content-abstract +--> <!--+ |start content-minitoc +--> -<div id="content-minitoc-area"> -<ul class="minitoc"> -<li> -<a href="#Table+of+Contents">Table of Contents</a> -</li> -</ul> -</div> <!--+ |end minitoc +--> <!--+ |start content-main +--> -<a name="Table+of+Contents" title="Table of Contents"> </a> -<h2 class="underlined_10">Table of Contents</h2> -<div class="section"> +<p> + This is a map of the complete site and its structure. + </p> <ul> <li> -<a href="">MTBrowser</a> _________________________ <em>site</em> +<a>MTBrowser</a> ___________________ <em>site</em> </li> <ul> <ul> <li> -<a href="">About</a> _________________________ <em>about</em> +<a>About</a> ___________________ <em>about</em> </li> <ul> <ul> <li> -<a href="index.html">Index</a> _________________________ <em>index</em> -</li> +<a href="index.html">Index</a> ___________________ <em>index</em> : Welcome to MyProj</li> </ul> </ul> </ul> @@ -169,7 +185,6 @@ </ul> </ul> -</div> <!--+ |end content-main +--> </div> </div> @@ -179,7 +194,7 @@ </div> <div class="copyright"> Copyright © - 2007 <a href="http://www.acme.org/licenses/">The Acme Software Organisation.</a> </div> + 2002-2007 <a href="http://example.org">The Example Organisation.</a> </div> <!--+ |start compliance links +--> <div id="siteinfo-compliance-links"> <a href="http://validator.w3.org/check?uri=referer"> Modified: site/linkmap.pdf =================================================================== (Binary files differ) Modified: site/locationmap.xml =================================================================== --- site/locationmap.xml 2007-06-09 03:41:34 UTC (rev 17) +++ site/locationmap.xml 2007-06-09 12:09:08 UTC (rev 18) @@ -20,7 +20,7 @@ <matchers default="lm"> <matcher name="lm" src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/> </matchers> - <!-- +<!-- * Can contain any sitemap selector with the following syntax. * <selectors default="exists"> <selector name="exists" logger="sitemap.selector.exists" @@ -28,28 +28,24 @@ </selectors> --> </components> - - <!-- +<!-- * Can contain a mount statement as a sibling to components and locator * <mount src="somelocation.xml"/> --> - <locator> - <!-- +<!-- * Can contain a mount within a selector where a selector is valid. <select> <mount src="somelocation.xml"/> </select> --> - - <match pattern="rewriteDemo/**"> + <match pattern="project.rewrite.**"> <location src="http://cocoon.apache.org/{1}.html"/> </match> - <match pattern="remoteDemo/**.xml"> + <match pattern="project.remote.**.xml"> <location src="http://svn.apache.org/repos/asf/forrest/trunk/main/fresh-site/src/documentation/content/xdocs/{1}.xml"/> </match> - - <!-- +<!-- * Can use a selector inside a match. * <match pattern="somepattern/**"> <select> @@ -59,7 +55,7 @@ </select> </match> --> - <!-- +<!-- To locate all your source documents in a slide repository you can do: <match pattern="tabs.xml"> Modified: site/skin/CommonMessages_es.xml =================================================================== --- site/skin/CommonMessages_es.xml 2007-06-09 03:41:34 UTC (rev 17) +++ site/skin/CommonMessages_es.xml 2007-06-09 12:09:08 UTC (rev 18) @@ -21,4 +21,3 @@ <message key="Search">Buscar</message> <message key="Search the site with">Buscar en</message> </catalogue> - Modified: site/themes/pelt.screen.css =================================================================== --- site/themes/pelt.screen.css 2007-06-09 03:41:34 UTC (rev 17) +++ site/themes/pelt.screen.css 2007-06-09 12:09:08 UTC (rev 18) @@ -19,7 +19,6 @@ margin: 0px 0px 0px 0px; font-family: Verdana, Helvetica, sans-serif; background-color: #FFFFFF; color: #000000; - font-size: 75%; } p { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Bala S. P. <tp...@gm...> - 2007-06-09 09:08:32
|
Hi, I want to join this project really. Can someone help me get started. I dropped a reply to the help wanted page too. Plz help me join this project. I can allot 10 hours a day for this project. Plz help... tpriyan |
From: <cod...@us...> - 2007-06-09 03:41:39
|
Revision: 17 http://mtbrowser.svn.sourceforge.net/mtbrowser/?rev=17&view=rev Author: coder_2020 Date: 2007-06-08 20:41:34 -0700 (Fri, 08 Jun 2007) Log Message: ----------- Java code to find browser installed in linux Added Paths: ----------- trunk/findbrowserlinux/ trunk/findbrowserlinux/FindBrowserUbuntu.class trunk/findbrowserlinux/FindBrowserUbuntu.java trunk/findbrowserlinux/TestFindBrowserUbuntu.class trunk/findbrowserlinux/TestFindBrowserUbuntu.java trunk/findbrowserlinux/findbrowsers Added: trunk/findbrowserlinux/FindBrowserUbuntu.class =================================================================== (Binary files differ) Property changes on: trunk/findbrowserlinux/FindBrowserUbuntu.class ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/findbrowserlinux/FindBrowserUbuntu.java =================================================================== --- trunk/findbrowserlinux/FindBrowserUbuntu.java (rev 0) +++ trunk/findbrowserlinux/FindBrowserUbuntu.java 2007-06-09 03:41:34 UTC (rev 17) @@ -0,0 +1,59 @@ +import java.io.*; + +public class FindBrowserUbuntu { + protected String browserName; + + public FindBrowserUbuntu(String browserName) + { + this.browserName = browserName; + } + + public FindBrowserUbuntu() + { + this(""); + } + public String Find() + { + return check(browserName); + } + public void setBrowserName(String name) + { + browserName = name; + } + public String getBrowserName() + { + return browserName; + } + + public static String check(String browserName) { + + try { + + Process p = Runtime.getRuntime().exec("./findbrowsers " + browserName); + + BufferedReader stdInput = new BufferedReader(new + InputStreamReader(p.getInputStream())); + + BufferedReader stdError = new BufferedReader(new + InputStreamReader(p.getErrorStream())); + + //If needed to read the whole message + /* while ((s = stdInput.readLine()) != null) { + System.out.println(s); + } + + while ((s = stdError.readLine()) != null) { + System.out.println(s); + } + + System.exit(0);*/ + String s = stdInput.readLine(); + return s != null ? s : ""; + } + catch (IOException e) { + System.out.println("exception happened: "); + e.printStackTrace(); + } + return ""; + } +} Property changes on: trunk/findbrowserlinux/FindBrowserUbuntu.java ___________________________________________________________________ Name: svn:executable + * Added: trunk/findbrowserlinux/TestFindBrowserUbuntu.class =================================================================== (Binary files differ) Property changes on: trunk/findbrowserlinux/TestFindBrowserUbuntu.class ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/findbrowserlinux/TestFindBrowserUbuntu.java =================================================================== --- trunk/findbrowserlinux/TestFindBrowserUbuntu.java (rev 0) +++ trunk/findbrowserlinux/TestFindBrowserUbuntu.java 2007-06-09 03:41:34 UTC (rev 17) @@ -0,0 +1,16 @@ + +public class TestFindBrowserUbuntu +{ + public static void main(String [] arg) + { + String[] name = {"firefox", "mozilla", + "konqueror", "mybrowser"}; + for(int i = 0; i < name.length; i++) + { + if(FindBrowserUbuntu.check(name[i]).equals("")) + System.out.println(name[i] + " is not installed"); + else + System.out.println(name[i] + " is installed"); + } + } +} Property changes on: trunk/findbrowserlinux/TestFindBrowserUbuntu.java ___________________________________________________________________ Name: svn:executable + * Added: trunk/findbrowserlinux/findbrowsers =================================================================== --- trunk/findbrowserlinux/findbrowsers (rev 0) +++ trunk/findbrowserlinux/findbrowsers 2007-06-09 03:41:34 UTC (rev 17) @@ -0,0 +1,5 @@ +#this works in ubuntu +#dpkg --get-selections | awk '{ print $1 }' | grep "^$1$" + +#this might work in most linux mechine +which $1 Property changes on: trunk/findbrowserlinux/findbrowsers ___________________________________________________________________ Name: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ipv...@us...> - 2007-03-20 13:40:43
|
Revision: 16 http://mtbrowser.svn.sourceforge.net/mtbrowser/?rev=16&view=rev Author: ipv6guru Date: 2007-03-20 06:08:59 -0700 (Tue, 20 Mar 2007) Log Message: ----------- Automatic publish from forrestbot Modified Paths: -------------- site/index.html site/index.pdf site/linkmap.html site/linkmap.pdf site/themes/pelt.screen.css Modified: site/index.html =================================================================== --- site/index.html 2007-03-20 12:52:08 UTC (rev 15) +++ site/index.html 2007-03-20 13:08:59 UTC (rev 16) @@ -3,21 +3,21 @@ <head> <link href="themes/common.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" /> <link href="themes/leather-dev.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" /> - <link href="themes/pelt.basic.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" /> <link href="themes/pelt.screen.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" /> - - + <link href="index.dispatcher.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" /> <link href="themes/pelt.print.css" media="print" rel="stylesheet" title="Pelt" type="text/css" /> - <style type="text/css">/* Extra css */ - p.quote { - margin-left: 2em; - padding: .5em; - background-color: #f0f0f0; - font-family: monospace; - }</style> + <style type="text/css">/* Extra css */ +p.quote { + margin-left: 2em; + padding: .5em; + background-color: #f0f0f0; + font-family: monospace; +}</style> <meta content="Apache Forrest" name="Generator" /> <meta content="0.8-dev" name="Forrest-version" /> +<meta content="pelt" name="Forrest-theme-name" /> +<meta content="text/html; charset=UTF-8" http-equiv="content-type" /> <!--+ |start navigation links +--> <link href="index.html" rel="Index" title="Index..." /> <link href="linkmap.html" rel="CONTENTS" title="Site map..." /> @@ -27,6 +27,7 @@ <!--+|start favicon +--> <script src="themes/getBlank.js" type="text/javascript"> </script> <script src="themes/menu.js" type="text/javascript"> </script> +<script src="themes/fontsize.js" type="text/javascript"> </script> <!--+ |start content-title +--> <title>Welcome to MTBrowser</title> <!--+ |end content-title +--> @@ -35,14 +36,13 @@ <div id="container"> <div id="header"> <div id="branding-tagline-name">MTBrowser</div> -<div id="branding-tagline-tagline">powered by the - dispatcher</div> +<div id="branding-tagline-tagline">Multiple Browsers with one click.</div> <div class="logo"> <!--+ |start Logo +--> <a href="http://mtbrowser.sourceforge.net/"> -<img alt="MTBrowser" class="logoImage" src="images/project-logo.png" title="MTBrowser" /> +<img alt="MyProject" class="logoImage" src="images/project-logo.png" title="MTBrowser" /> </a> <!--+ |end group Logo @@ -57,7 +57,7 @@ <div class="search-input"> <form action="http://www.google.com/search" method="get"> <div class="search-hidden"> -<input name="sitesearch" type="hidden" value="mtbrowser.sourceforge.net" /> +<input name="sitesearch" type="hidden" value="mydomain" /> </div> <div class="search-field"> <input name="q" onblur="getPrompt(this, 'Search the site with google');" onfocus="getBlank(this, 'Search the site with google');" size="25" type="text" value="Search the site with google" /> @@ -79,20 +79,18 @@ </li> </ul> <!--+ |end Tabs +--> -<div id="publishedStrip"> -<!--+ +<div id="publishedStrip"> <!--+ |start nav-main-sub - +--> -<!--+ + +--><!--+ |end Endtabs - +--> -<script type="text/javascript">document.write("Today: " + new Date());</script> + +--><script type="text/javascript">document.write("Last Published: " + document.lastModified);</script> </div> </div> </div> <div id="page"> +<div class="breadtrail"> </div> <div id="leftbar"> -<!--+ |start 2 menu +--> +<!--+ |start 0 menu +--> <!--+ |start Menu +--> <div id="nav-section"> <ul> @@ -101,40 +99,34 @@ <ul class=" selectedmenuitemgroup" id="menu_selected_1.1"> <li class="menupage"> <div class="menupagetitle">Index</div> -<ul> -<li class="menupageitemgroup"> -<div class="menupageitem"> -<a href="#overview" title="Content on its way">Content on its way...</a> -</div> -<div class="menupageitem"> -<a href="#developers" title="Developers Wanted!">Developers Wanted!...</a> -</div> </li> </ul> </li> </ul> -</li> -</ul> </div> <!--+ |end menu +--> - <hr /> - <div id="roundbottom"> +<!--+ |start content-motd-page +--> +<!--+ |end content-motd-page +--> +<div id="roundbottom"> <div id="roundbottomLeft"> <img alt="spacer" src="themes/images/spacer.gif" /> </div> </div> </div> +<div id="content"> <div id="export-link"> -<a class="format" href="index.source.xml"> -<img alt="Source XML - icon" class="skin" src="themes/images/xmldoc.gif" /> -<span class="caption">Source XML</span> -</a> <a class="format" href="index.pdf"> <img alt="PDF - icon" class="skin" src="themes/images/pdfdoc.gif" /> <span class="caption">PDF</span> </a> </div> -<div id="content"> +<div class="trail"> +<script type="text/javascript">ndeSetTextSize();</script> + Font size: + <input class="resetfont" onclick="ndeSetTextSize('reset'); return false;" title="Reset text" type="button" value="Reset" /> + <input class="smallerfont" onclick="ndeSetTextSize('decr'); return false;" title="Shrink text" type="button" value="-a" /> + <input class="biggerfont" onclick="ndeSetTextSize('incr'); return false;" title="Enlarge text" type="button" value="+a" /> +</div> <!--+ |start content-title +--> <h1 class="content-title">Welcome to MTBrowser</h1> <!--+ |end content-title +--> @@ -149,6 +141,9 @@ <li> <a href="#developers">Developers Wanted!</a> </li> +<li> +<a href="#svn">Download & Install Subversion</a> +</li> </ul> </div> <!--+ |end minitoc +--> @@ -178,6 +173,18 @@ Or view the SVN repo at <a href="http://mtbrowser.svn.sourceforge.net/viewvc/mtbrowser/trunk/">http://mtbrowser.svn.sourceforge.net/viewvc/mtbrowser/trunk/</a> </p> </div> +<a name="svn" title="Download & Install Subversion"> </a> +<h2 class="underlined_10">Download & Install Subversion</h2> +<div class="section"> +<p>These are quick instructions on how to download, install & configure subversion, and also to check out the trunk or one of the branches for so you can work with the code for MTBrowser</p> +<p>Goto <a href="http://downloads.open.collab.net/collabnet-subversion.html/">Collabnet Downloads area</a> and select a command line only version for your platform, I use the Windows XP Client.</p> +<p>Once downloaded, double click on the installer program to go through the installation wizard, it only takes a minute..</p> +<p>Thats it, Subversion client should now be installed and ready to go.</p> +<p>Open a commmand prompt (aka Dos Box for windows) create a new folder called 'mtbrowser' in the root of one of your drives. I'll assume drive C here. from c:\ type in 'svn co https://mtbrowser.svn.sourceforge.net/svnroot/mtbrowser mtbrowser'. This will download all the directories and all the files of the MTBrowser codebase including the main development 'trunk' directory, the 'site' directory where these website files are pulled from, the 'branches' directory and all containing branches.</p> +<p>If you only want 'trunk' and none of the other stuff then from c:\ type in 'svn co https://mtbrowser.svn.sourceforge.net/svnroot/mtbrowser/trunk mtbrowser' instead and you'll only get trunk put into your local c:\mtbrowser\ folder.</p> +<p>So now you have the code and can begin to work on it, only assigned developers can upload their code into SVN however.</p> +<p>Please ask in the user forums after reading the SVN docs if you get stuck</p> +</div> <!--+ |end content-main +--> </div> </div> @@ -187,7 +194,7 @@ </div> <div class="copyright"> Copyright © - 2006-2007 <a href="http://mtbrowser.sourceforge.net/licenses/">MTBrowser.</a> </div> + 2007 <a href="http://www.acme.org/licenses/">The Acme Software Organisation.</a> </div> <!--+ |start compliance links +--> <div id="siteinfo-compliance-links"> <a href="http://validator.w3.org/check?uri=referer"> @@ -208,11 +215,7 @@ </a> </div> <!--+ |end siteinfo-credits +--> -<div id="siteinfo-feedback"> - Send feedback about the website to: - <a href="mailto:ipv...@mt...?subject=Feedback index.html" id="feedbackto">the Webmaster</a> </div> </div> -</div> </body> </html> Modified: site/index.pdf =================================================================== (Binary files differ) Modified: site/linkmap.html =================================================================== --- site/linkmap.html 2007-03-20 12:52:08 UTC (rev 15) +++ site/linkmap.html 2007-03-20 13:08:59 UTC (rev 16) @@ -3,21 +3,21 @@ <head> <link href="themes/common.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" /> <link href="themes/leather-dev.css" media="screen" rel="alternate stylesheet" title="common" type="text/css" /> - <link href="themes/pelt.basic.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" /> <link href="themes/pelt.screen.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" /> - - + <link href="linkmap.dispatcher.css" media="screen" rel="stylesheet" title="Pelt" type="text/css" /> <link href="themes/pelt.print.css" media="print" rel="stylesheet" title="Pelt" type="text/css" /> - <style type="text/css">/* Extra css */ - p.quote { - margin-left: 2em; - padding: .5em; - background-color: #f0f0f0; - font-family: monospace; - }</style> + <style type="text/css">/* Extra css */ +p.quote { + margin-left: 2em; + padding: .5em; + background-color: #f0f0f0; + font-family: monospace; +}</style> <meta content="Apache Forrest" name="Generator" /> <meta content="0.8-dev" name="Forrest-version" /> +<meta content="pelt" name="Forrest-theme-name" /> +<meta content="text/html; charset=UTF-8" http-equiv="content-type" /> <!--+ |start navigation links +--> <link href="index.html" rel="Index" title="Index..." /> <link href="linkmap.html" rel="CONTENTS" title="Site map..." /> @@ -27,6 +27,7 @@ <!--+|start favicon +--> <script src="themes/getBlank.js" type="text/javascript"> </script> <script src="themes/menu.js" type="text/javascript"> </script> +<script src="themes/fontsize.js" type="text/javascript"> </script> <!--+ |start content-title +--> <title>Site Linkmap</title> <!--+ |end content-title +--> @@ -35,14 +36,13 @@ <div id="container"> <div id="header"> <div id="branding-tagline-name">MTBrowser</div> -<div id="branding-tagline-tagline">powered by the - dispatcher</div> +<div id="branding-tagline-tagline">Multiple Browsers with one click.</div> <div class="logo"> <!--+ |start Logo +--> <a href="http://mtbrowser.sourceforge.net/"> -<img alt="MTBrowser" class="logoImage" src="images/project-logo.png" title="MTBrowser" /> +<img alt="MyProject" class="logoImage" src="images/project-logo.png" title="MTBrowser" /> </a> <!--+ |end group Logo @@ -57,7 +57,7 @@ <div class="search-input"> <form action="http://www.google.com/search" method="get"> <div class="search-hidden"> -<input name="sitesearch" type="hidden" value="mtbrowser.sourceforge.net" /> +<input name="sitesearch" type="hidden" value="mydomain" /> </div> <div class="search-field"> <input name="q" onblur="getPrompt(this, 'Search the site with google');" onfocus="getBlank(this, 'Search the site with google');" size="25" type="text" value="Search the site with google" /> @@ -79,20 +79,18 @@ </li> </ul> <!--+ |end Tabs +--> -<div id="publishedStrip"> -<!--+ +<div id="publishedStrip"> <!--+ |start nav-main-sub - +--> -<!--+ + +--><!--+ |end Endtabs - +--> -<script type="text/javascript">document.write("Today: " + new Date());</script> + +--><script type="text/javascript">document.write("Last Published: " + document.lastModified);</script> </div> </div> </div> <div id="page"> +<div class="breadtrail"> </div> <div id="leftbar"> -<!--+ |start 2 menu +--> +<!--+ |start 0 menu +--> <!--+ |start Menu +--> <div id="nav-section"> <ul> @@ -107,24 +105,28 @@ </ul> </div> <!--+ |end menu +--> - <hr /> - <div id="roundbottom"> +<!--+ |start content-motd-page +--> +<!--+ |end content-motd-page +--> +<div id="roundbottom"> <div id="roundbottomLeft"> <img alt="spacer" src="themes/images/spacer.gif" /> </div> </div> </div> +<div id="content"> <div id="export-link"> -<a class="format" href="linkmap.source.xml"> -<img alt="Source XML - icon" class="skin" src="themes/images/xmldoc.gif" /> -<span class="caption">Source XML</span> -</a> <a class="format" href="linkmap.pdf"> <img alt="PDF - icon" class="skin" src="themes/images/pdfdoc.gif" /> <span class="caption">PDF</span> </a> </div> -<div id="content"> +<div class="trail"> +<script type="text/javascript">ndeSetTextSize();</script> + Font size: + <input class="resetfont" onclick="ndeSetTextSize('reset'); return false;" title="Reset text" type="button" value="Reset" /> + <input class="smallerfont" onclick="ndeSetTextSize('decr'); return false;" title="Shrink text" type="button" value="-a" /> + <input class="biggerfont" onclick="ndeSetTextSize('incr'); return false;" title="Enlarge text" type="button" value="+a" /> +</div> <!--+ |start content-title +--> <h1 class="content-title">Site Linkmap</h1> <!--+ |end content-title +--> @@ -163,7 +165,7 @@ </ul> - + </ul> </ul> @@ -177,7 +179,7 @@ </div> <div class="copyright"> Copyright © - 2006-2007 <a href="http://mtbrowser.sourceforge.net/licenses/">MTBrowser.</a> </div> + 2007 <a href="http://www.acme.org/licenses/">The Acme Software Organisation.</a> </div> <!--+ |start compliance links +--> <div id="siteinfo-compliance-links"> <a href="http://validator.w3.org/check?uri=referer"> @@ -188,11 +190,7 @@ </a> </div> <!--+ |end compliance links +--> -<div id="siteinfo-feedback"> - Send feedback about the website to: - <a href="mailto:ipv...@mt...?subject=Feedback linkmap.html" id="feedbackto">the Webmaster</a> </div> </div> -</div> </body> </html> Modified: site/linkmap.pdf =================================================================== (Binary files differ) Modified: site/themes/pelt.screen.css =================================================================== --- site/themes/pelt.screen.css 2007-03-20 12:52:08 UTC (rev 15) +++ site/themes/pelt.screen.css 2007-03-20 13:08:59 UTC (rev 16) @@ -19,7 +19,7 @@ margin: 0px 0px 0px 0px; font-family: Verdana, Helvetica, sans-serif; background-color: #FFFFFF; color: #000000; - font-size: 80%; + font-size: 75%; } p { @@ -53,7 +53,7 @@ padding: 20px 20px 20px 200px; margin: 0; font-family : Verdana, Helvetica, sans-serif; - font-size: 0.95em; + font-size: 0.75em; } #content ul { @@ -72,7 +72,7 @@ #content .attribution { text-align: right; font-style: italic; - font-size: 0.9em; + font-size: 0.75em; margin-top: 1em; } @@ -137,8 +137,10 @@ float: left; width: 100%; background-color: #294563; - background-image: url("../themes/images/header_white_line.gif"); - background-position: bottom left; + background-image: url('../themes/images/header_white_line.gif'); + /* % values for background position: 100% 85% + px is slightly more accurate */ + background-position: 0px 107px; background-repeat: repeat-x; } @@ -204,7 +206,7 @@ /* Navigation - Top Horizontal Tabbed Navigation */ #nav-main { - font-size: 0.9em; + font-size: 0.7em; clear: both; padding-left: 10px; margin: 0; @@ -234,9 +236,9 @@ padding: 5px 15px 4px; width: .1em; /* IE/Win fix */ } -#nav-main li a:link { color: #000000; } -#nav-main li a:visited { color: #000000; } -#nav-main li a:hover { color: #000000; } +#nav-main li a:link { color: #0F3660; } +#nav-main li a:visited { color: #0F3660; } +#nav-main li a:hover { color: #0F3660; } #nav-main > li a { width: auto; } /* Rest of IE/Win fix */ @@ -253,15 +255,15 @@ #nav-main .current a { font-weight: bold; padding-bottom: 5px; - color: #000000; + color: #CFDCED; background-image: url(../themes/images/roundcorner-t-l-5-bg294563-stroke4A6D8C-fg4A6D8C.png); background-repeat: no-repeat; background-position: top left; } -#nav-main .current a:link { color: #000000; } -#nav-main .current a:visited { color: #000000; } -#nav-main .current a:hover { color: #000000; } +#nav-main .current a:link { color: #CFDCED; } +#nav-main .current a:visited { color: #CFDCED; } +#nav-main .current a:hover { color: #CFDCED; } #publishedStrip { position: relative; @@ -272,7 +274,7 @@ padding-top: 3px; padding-bottom:3px; color: #fff; - font-size : 0.8em; + font-size : 0.6em; font-weight: bold; text-align:right; min-height:10px; @@ -285,10 +287,20 @@ position:relative; background-color: #4A6D8C ; } -#level2tabs a{padding-right: 5px;} -#level2tabs a:link { color: #000000; } -#level2tabs a:visited { color: #000000; } -#level2tabs a:hover { color: #000066; } +#level2tabs a {padding-right: 5px; +background-color: #CFDCED; +text-decoration:none; +cursor: pointer; +background-image: url('../themes/images/chapter.gif'); +background-repeat: no-repeat; +background-position: center left; +margin-left: 6px; +padding-left : 6px; +} +#level2tabs a:link { color: #000066; } +#level2tabs a:visited { color: #000066; } +#level2tabs a:hover { color: #000066; text-decoration:underline; } +#level2tabs a:selected {background-color: #4A6D8C; color: #CFDCED;} /* * border-top: solid #4A6D8C 15px; */ @@ -353,11 +365,11 @@ padding: 0px; } -#leftbar a { font-weight: normal;} -#leftbar a:link { color: #000000; } -#leftbar a:visited { color: #000000; } -#leftbar a:active { color: #000000; } -#leftbar a:hover { color: #FFCF00; } +#leftbar a { font-weight: normal; text-decoration: none;} +#leftbar a:link { color: #FFFFFF; } +#leftbar a:visited { color: #FFFFFF; } +#leftbar a:active { color: #FFFFFF; } +#leftbar a:hover { color: #FFCF00; text-decoration: underline; } #menuarea { width:10em;} @@ -371,7 +383,7 @@ z-index: 20; border-color: #000000; background-color: #4A6D8C; - font-size: 0.9em; + font-size: 0.75em; color: #000000; } @@ -394,15 +406,15 @@ } #nav-section .pagegroup span { background-image: url('../themes/images/chapter.gif'); - color: #000000; + color: #CEDFEF; } .pagegroupselected span { background-image: url('../themes/images/chapter_open.gif'); - color: #000000; + color: #CEDFEF; } .pagegroupopen span { background-image: url('../themes/images/chapter_open.gif'); - color: #000000; + color: #CEDFEF; } .pagegroupselected { @@ -431,6 +443,7 @@ background-position: center left; font-weight : normal; margin-left: 10px; + font-size: 0.9em; } #nav-section .menupage { @@ -446,11 +459,13 @@ color: #000000; padding: 0px 0px 0px 6px; font-style : normal; + font-weight : normal; border-style: solid; border-width: 1px; margin-right: 10px; border-color: #999999; background-color: #CFDCED; + font-size: 0.9em; } #nav-section .menupageitemgroup { @@ -469,7 +484,7 @@ font-style : normal; font-weight : normal; border-width: 0px; - font-size: 0.9em; + font-size: 0.75em; } #nav-section .menupageitem a:link { color: #000000;} #nav-section .menupageitem a:visited { color: #000000;} @@ -508,7 +523,7 @@ margin-top: 5px; } #feedback #feedbackto { - font-size: 0.9em; + font-size: 0.75em; color: black; } #footer { @@ -556,7 +571,9 @@ .trail { position: relative; /* IE bugfix cont'd */ - float: left; + font-size: 75%; + text-align: right; + float: right; margin: -10px 5px 0px 5px; padding: 0; } @@ -647,12 +664,12 @@ color: #0F3660; border-bottom: solid 1px white; padding: 3px 10px; - font-size: 0.8em; + font-size: 0.75em; min-height:12px; } -.breadtrail a:link { color: #0F3660; } -.breadtrail a:visited { color: #0F3660; } -.breadtrail a:hover { color: #000066; } +.breadtrail a:link { color: black; } +.breadtrail a:visited { color: black; } +.breadtrail a:hover { color: black; } #page .breadtrail { clear:both; @@ -700,7 +717,7 @@ background: #F0F0FF; color: black; line-height: 120%; - font-size: 0.9em; + font-size: 0.75em; } /* * Notes, Warnings, Fixme ... @@ -735,3 +752,4 @@ font-size: 0.9em; padding: 5px 10px; } + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |