blackcell Posted January 18, 2008 Share Posted January 18, 2008 I am looking for some reference on how to create a firefox sidebar with javascript. Been searching and cant find anything. Quote Link to comment Share on other sites More sharing options...
tinker Posted January 18, 2008 Share Posted January 18, 2008 sorry, whats a sidebar? Quote Link to comment Share on other sites More sharing options...
blackcell Posted January 18, 2008 Author Share Posted January 18, 2008 If your using firefox, click view then sidebar then select one. Thats a sidebar. Quote Link to comment Share on other sites More sharing options...
tinker Posted January 18, 2008 Share Posted January 18, 2008 There actually part of Firefox, not the webpage! I was checking that they were what you were actually on about! If you goto 'Tools' -> 'Add-ons' -> 'Get Extensions', then from here look for 'Build Your Own', or look =here, it might not be exactly what your looking for, but your asking in a Javascript forum, so I suppose your not thinking of joining the development team probably using ANSI C and GTK++, if so start by downloading firefox source, develop it then submit for review... Quote Link to comment Share on other sites More sharing options...
blackcell Posted January 18, 2008 Author Share Posted January 18, 2008 There is a way to actually run javascript onLoad and when entering a page prompt user to add a particular sidebar in which I can create seperate html documents. I just can't find it again. Quote Link to comment Share on other sites More sharing options...
tinker Posted January 18, 2008 Share Posted January 18, 2008 <body onload="alert('Add sidebar')"> Other than that I know not, esp how to write to the sidebars, probably best off asking the firefox dev team? Quote Link to comment Share on other sites More sharing options...
blackcell Posted January 18, 2008 Author Share Posted January 18, 2008 Dude, it is a 'one line' piece of javascript that does it. I can't remember what it is. Not really any dev team. Quote Link to comment Share on other sites More sharing options...
tinker Posted January 18, 2008 Share Posted January 18, 2008 Take a look at the script in this, and then find out how it's named, say look at this. Other than that i'm not sure... I'll have a go at it later when I have time... Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted January 18, 2008 Share Posted January 18, 2008 There is a way to actually run javascript onLoad and when entering a page prompt user to add a particular sidebar in which I can create seperate html documents. I just can't find it again. I think your wanting a frameset; but this is not just for FF; it's displays in your web page for any browser that supports frames. Check out these examples and see if this is what your looking for: http://www.google.com/search?hl=en&q=framesets&btnG=Google+Search Quote Link to comment Share on other sites More sharing options...
blackcell Posted January 21, 2008 Author Share Posted January 21, 2008 No its a standalone sidebar that is not affected by the main page loads. A friend told me he didn't think that FF supported it because of integrating the sidebars using APIs, but I think it was back in a previous browser's day that I seen it done. Thanks for the help anyway guys and sorry I was so stubborn and set on the fact that it could be done when it has been outdated with FF. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.