Click to See Complete Forum and Search --> : Create An Toolbar


vinoth
06-15-2003, 02:27 AM
Can AnyOne Know How TO Create A ToolBar Like YahooToolbar Google Hotbar!

Can ANyOne Provide Me How To Create Or Provide Me The Script behind It!



Cheers

Vinoth

hastx
06-15-2003, 02:43 PM
Do you mean the main navigation on Yahoo's main page? That's an image map. First make or get the image you want to use, then It would be easiest to create the code if you had photoshop, dreamweaver, front page, or some other editing prog. There are a few freeware image map creators for download too.

brendandonhue
06-15-2003, 10:13 PM
I think he means the browser toolbars you can download.
This is done in a real programming language such as Visual Basic.

brendandonhue
06-16-2003, 05:06 PM
Now I knew someone would say that :D
Depends how you define programming language. Some people say its not programming unless the code gets compiled into 0s and 1s.

hastx
06-16-2003, 08:30 PM
Is it because real programming is object oriented and javascript etc is object based ?

Actually I dont know about some other scripting langauges, but I know JS is object based.

hastx
06-16-2003, 10:45 PM
Originally posted by Dave Clark
Alright, smarty pants, what is the difference between object-oriented and object-based? :rolleyes:


LOL, It's one of those useless pieces of trivia I had to learn for the ciw exam. Its like knowing the OSI model if it wasnt for a test, youd probably never need it.

From the textbook: object-oriented - collection of individual objects that perform different functions, rather than a sequence of statements that collectively perform a specific task. These objects usually have a hierarchical manner, in which sub-classes and new objects inherit the properties and methods of those objects above in the hierarchy.

object-based - Derives functionality from a collection of built-in objects, but can also create new objects.

I've also heard people say Scripting is intended and used to manipulate existing programs, whereas programming creates new ones...the jury is still out on that one...

brendandonhue
06-17-2003, 07:42 AM
Originally posted by Dave Clark
That's nice, but I still see how both can be applied to JavaScript -- if you're an advanced JavaScript programmer, anyway. So, how does that help resolve the issue? ;)

Dave
I think I started something :p

hastx
06-17-2003, 08:46 AM
Originally posted by Dave Clark
That's nice, but I still see how both can be applied to JavaScript -- if you're an advanced JavaScript programmer, anyway. So, how does that help resolve the issue? ;)


I'm not sure it does, but if the ? is How to create a new toolbar, it might explain why you cant do it with javascript.

Javascript is intended to manipulate the objects and interaction of the browser and computer. for example if creating a popup window, you can issue commands whether to display certain components like locaton bar, scrollbars, resizeability, etc, because those are all components which exist within the browser. The reason you cant create a new toolbar on the fly is because it is outside the scope of a scripting language.

I agree that definitions get way too strict. programmers get upset if someone calls html "programming" and tell you its not a programming language but a formatting language...but then where does xml fit in? dont you essentially create your own language there? But its still called a "markup" language. I think the samantics are over emphasized by programmers with a "my kung-fu is better than your kung-fu" mentallity.

Personally, I've taken a class in javascript, and now i've started taking my foundation courses in programming...and to me the syntax and commands are very similar. Javascript looks like programming to me, and its equally as difficult to write the code but its just limited in the creation of new objects.

hastx
06-17-2003, 09:06 PM
I agree, I worded that badly. If the browser allowed for the creation of toolbars, javascript would be ideally suited to making use of the available objects. As languages go its extremely versatile.