Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Adelaide, South Australia
    Posts
    150
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Finding a button.class script for NS6+

    I have been trying to find a navbar the same or very similar to the one on this site which uses button.class applet to work. It works fine for IE6 and NS4+ but not NS6+

    http://www.geocities.com/ResearchTri...ttonclass.html

    You'll see the exception error I get when I try to view it with NS6+ here at this mockup site:

    http://home.graffiti.net/kbs_great_a...ton-class.html

    Is there anyway of changing the code to make it acceptable to NS6+ ...........OR........... does anyone know of a similar type buttoned navbar as seen on the above sites, please?

    Cheers!

    KB...
    To escape criticism - do nothing, say nothing, be nothing. . . Vaya Con Dios

  • #2
    umm
    umm is offline
    Regular Coder
    Join Date
    Sep 2002
    Location
    Antipodes
    Posts
    106
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Does NS6 understand <applet>? It is deprecated. I'm not certain either way. Maybe it's the <object> element you are after.

    http://www.w3.org/TR/html4/struct/objects.html

  • #3
    Regular Coder
    Join Date
    Sep 2002
    Location
    Bulgaria
    Posts
    123
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,
    Go to http://www.fresh.bg and look if the buttons are good to You. There's pure JavaScript - no applets...

    Alex

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Adelaide, South Australia
    Posts
    150
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Hi Ummmm

    Originally posted by umm
    Does NS6 understand <applet>? It is deprecated. I'm not certain either way. Maybe it's the <object> element you are after.
    http://www.w3.org/TR/html4/struct/objects.html
    G'day Mate!
    That's an interesting site, full of good gutsy info. I just wish I was still young and techi enough to understand it! LOL
    My experience at the moment is pretty much copy and paste scripts with just some amendments. I do not know 'pure' html yet, unfortunately. I really do appreciate your reply though.
    Cheers

    KB...
    To escape criticism - do nothing, say nothing, be nothing. . . Vaya Con Dios

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    Adelaide, South Australia
    Posts
    150
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Hi Alex

    Originally posted by Alekz
    Hi,
    Go to http://www.fresh.bg and look if the buttons are good to You. There's pure JavaScript - no applets...
    Alex
    G'day Alex...
    Thanks for that lead. I'm currently trying to 'read and understand' the source code on the top buttons of that Russian (?) site, although it is not exactly like the button.class ones I am having trouble with.
    Thanks for your reply. I appreciate any help I can get.
    Cheers

    KB...
    To escape criticism - do nothing, say nothing, be nothing. . . Vaya Con Dios

  • #6
    umm
    umm is offline
    Regular Coder
    Join Date
    Sep 2002
    Location
    Antipodes
    Posts
    106
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You get the same effect with a rollover script. Just make your own images. If you want to do that I can give you a pretty straight forward rollover script.

  • #7
    Regular Coder
    Join Date
    Jun 2002
    Location
    Adelaide, South Australia
    Posts
    150
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thanks Umm..

    Originally posted by umm
    You get the same effect with a rollover script. Just make your own images. If you want to do that I can give you a pretty straight forward rollover script.
    Hi again Umm...

    Thanks for that kind offer. I have constructed sets of two buttons per link... up1.jpg and dn1.jpg (dn being the hover button), up2.jpg and dn2.jpg etc. each being 76x18pxls in size. I would like to create a bank of 8 across and aligned on the right margin, if that's possible. Is there anyway of hiding the ant track/colours around the button when they are pressed?
    Thanks for your help!!


    KB...
    To escape criticism - do nothing, say nothing, be nothing. . . Vaya Con Dios

  • #8
    Regular Coder
    Join Date
    Jun 2002
    Location
    Adelaide, South Australia
    Posts
    150
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Here you are Umm...

    Here you are Umm...

    Here is the test page I uploaded so far to try and save some work in your offer of coding.

    And here is the code, so far...

    </head>
    <body background="bg-wattle-textured.gif">

    <center><img SRC="logo-bg-finetex-575x312.gif" height=312 width=575></center>

    <div align=right>
    <p><a href="http://www.link1"><img SRC="up1.jpg" height=18 width=76></a><a href="http://www.link2"><img SRC="up2.jpg" height=18 width=76></a><a href="http://www.link3"><img SRC="up3.jpg" height=18 width=76></a><a href="http://www.link4"><img SRC="up4.jpg" height=18 width=76></a><a href="http://www.link5"><img SRC="up5.jpg" height=18 width=76></a><a href="http://www.link6"><img SRC="up6.jpg" height=18 width=76></a><a href="http://www.link7"><img SRC="up7.jpg" height=18 width=76></a><a href="http://www.link8"><img SRC="up8.jpg" height=18 width=76></a></div>

    <p><br>
    </body>
    </html>
    To escape criticism - do nothing, say nothing, be nothing. . . Vaya Con Dios

  • #9
    Regular Coder
    Join Date
    Sep 2002
    Location
    Bulgaria
    Posts
    123
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi, ^KoalaBear^

    http://www.fresh.bg is a bulgarian site, not russian, but still cyrillic

    Look for dhtmlButton function - it's the dhtmlButton class constructor. Buttons can virtually have 5 different states -> flat, raised, sunken, disabled-flat and disabled-sunken (for toggle buttons which are disabled in pressed state). You just have to set one or both of the button properties -> (btn.flat and/or btn.toggle) then the appropriate button behavior is done authomatically. For all of these states (ot just for the states You need) You'll have to assign different images, so the look and behavior of a button is very customizable.
    Oh, about button bars - You can pass a reference to a DIV in the constructor, then all button coordinates (left,top) are relative to the parent layer and when You move the parent layer it is moved with all of the child buttons.
    Well that's a brief description - if You have further questions, ask

    Alex

    P.S.
    Here's a sample how to initialize it:
    Code:
      //Instanciate
      theBtn = new dhtmlButton();
      //Size and position
      theBtn.top = 100;
      theBtn.left = 100;
      theBtn.width = 20;
      theBtn.height = 20;
      //Images
      theBtn.imgBtnIdle = 'img/imgBtnIdle.gif';
      theBtn.imgBtnPressed = 'img/imgBtnPressed.gif';
      theBtn.imgBtnDisabled = 'img/imgBtnDisabled.gif';
      theBtn.imgBtnReady = 'img/imgBtnReady.gif';
      theBtn.imgBtnPressedDisabled = 'img/imgBtnPressedDisabled.gif';
      //Events
      theBtn.onMouseOver = btnMouseOver;
      theBtn.onMouseOut = btnMouseOut;
      theBtn.onMouseDown = btnMouseDown;
      theBtn.onMouseUp = btnMouseUp;
      theBtn.onClick = btnMouseClick;
      //Show it
      theBtn.init();

  • #10
    Regular Coder
    Join Date
    Jun 2002
    Location
    Adelaide, South Australia
    Posts
    150
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Hi Alex...

    Originally posted by Alekz
    http://www.fresh.bg is a bulgarian site, not russian, but still cyrillic
    [/CODE]
    LOL I knew as soon as I typed Russian it would be one of the other 'cryllic' nations. The .bg should have told me if I was alert enough!!

    I am going to try and persevere with your advice although please understand I am a 60 yr old nerd and not yr everyday funky 20 yr old techi! sooooo it will take me some time.. LOL

    My shrink (Psych) suggested I take up creative web design for relaxation from my major depressive condition!! Methinks he's a saddist LMAO...

    KB...
    To escape criticism - do nothing, say nothing, be nothing. . . Vaya Con Dios

  • #11
    Regular Coder
    Join Date
    Sep 2002
    Location
    Bulgaria
    Posts
    123
    Thanks
    0
    Thanked 0 Times in 0 Posts
    20 yr old Thank's a lot, I'll show this thread to my wife ))
    Actually 31...

    Alex

  • #12
    Regular Coder
    Join Date
    Jun 2002
    Location
    Adelaide, South Australia
    Posts
    150
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    Originally posted by Alekz
    20 yr old Thank's a lot, I'll show this thread to my wife ))
    Actually 31...

    Alex
    ROFL.... Well 31 is still alot closer to 20 than 60 is mate!!

    I had another look at both the source code and some of the associated .js files... and I honestly think that level of learning and understanding is for my next life! LOL

    Nowwwww.... if you wanted to show me what you mean by using my own test code (see site and code above) that I posted to Umm... I'd be more than grateful! LOL

    Perhaps if I start with something simple to understand I can work up from there...... yes??

    Cheers

    KB...
    To escape criticism - do nothing, say nothing, be nothing. . . Vaya Con Dios

  • #13
    umm
    umm is offline
    Regular Coder
    Join Date
    Sep 2002
    Location
    Antipodes
    Posts
    106
    Thanks
    0
    Thanked 0 Times in 0 Posts


    Best laugh I've had for a while!!!

  • #14
    Regular Coder
    Join Date
    Jun 2002
    Location
    Adelaide, South Australia
    Posts
    150
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Umm... LOL

    Originally posted by umm


    Best laugh I've had for a while!!!
    Were you laughing at my posts to you... or my post to Alex? LOL

    Thanks for pointing out where the DELETE button was in Edit Control, Umm... I was looking everywhere but up the top?

    KB...
    To escape criticism - do nothing, say nothing, be nothing. . . Vaya Con Dios

  • #15
    umm
    umm is offline
    Regular Coder
    Join Date
    Sep 2002
    Location
    Antipodes
    Posts
    106
    Thanks
    0
    Thanked 0 Times in 0 Posts
    LOL, the dialogue between you and alex


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •