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.
Results 1 to 3 of 3

Thread: Sidebar...help!

  1. #1
    Regular Coder bacterozoid's Avatar
    Join Date
    Jun 2002
    Location
    USA
    Posts
    490
    Thanks
    24
    Thanked 35 Times in 35 Posts

    Exclamation Sidebar...help!

    http://www.geocities.com/jonshtmlhelp

    Ok, this is my site. If you will notice the sidebar on the left. It is a DHTML menu. I have many other pages on my site, and if I were to add another page I would have to go to every single page and update the HTML. On other sites and on this one somewhat I have used JavaScript to solve my problems. I just used a code that included a .js file and used the document.write tag to include information. That worked all fine and dandy, but this DHTML menu is a whole lot of code. It would be hard to get it to work correctly and add a good amount of loading time. SSI is not supported by Geocities, so that is out of the question. I don't want this site to be frames, and using an iFrame isn't nice because I get an ad on the normal page as well as in the iFrame. Can anyone help?

  • #2
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72° W. 48' 57" , 41° N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    the loading time is actually only a minimal problem. the .js file is cached after the first time, so it's only downloaded once. also, one of the members of this forum ( i forget who ), built this html2javascript converter, which should help you.

    http://www.simonsgroup.com/test/html...avascript.html
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #3
    Regular Coder bacterozoid's Avatar
    Join Date
    Jun 2002
    Location
    USA
    Posts
    490
    Thanks
    24
    Thanked 35 Times in 35 Posts
    Hmm, ok. I could go with that. Now this HTML to JavaScript thing is very cool. It is getting bookmarked for sure. That will help...well, I shall have to test it first.

    ---

    WOW! That thing is awesome! It even adds the backslashes and everything!


  •  

    Posting Permissions

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