Results 1 to 3 of 3

Thread: chossing the right script?

  1. #1
    Join Date
    Jan 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb chossing the right script?

    Hello ,
    I am a newbie in designing web sites and i need advice. I would have a drop down menu for which i have custom images (for each menu item).

    I would like to know the best possible way to attach the dynamic html script to each of my files. I have more than 20 Jsp files scattered and would need to update all of them, i believe. But my problem is that they are not at the same directory level.

    I tried including the script from <@include tag .. but for each level , i had to change the link to my images (used for buttons in the menu) and and file.

    this shoudl have some definitive way to design in a website and i would love to know how?

    thanks in advance.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    I'm not familiar with JSP, though if it supports SSI (server side includes) as do Linux servers, including the same script on multiple pages is very easy. For more info on SSI, see: http://www.javascriptkit.com/howto/externalhtml3.shtml

  3. #3
    Join Date
    Jan 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default with images link it becomes difficult

    thanks , i tried that but i made a mess out of it already ..
    actually the header file contains link to jpeg which are in a certain directory structure. So if i indlude img/link.jpeg at one header page for the next pages i need to include ../img/link.jpeg which is makin life hectic

    any suggestions ?

Bookmarks

Posting Permissions

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