AnimeGalleries [dot] NetAnimeWallpapers [dot] ComAnimeLyrics [dot] ComAnimePedia [dot] ComAnimeGlobe [dot] Com


User Tag List

Closed Thread
Results 1 to 3 of 3

Thread: [Help - Web] External Navigation Menu in CSS/HTML

  1. #1
    Mystic Nocturne Bird
    AnimeLyrics Submitter Lv 2
    Chocobo has a reputation beyond repute Chocobo has a reputation beyond repute Chocobo has a reputation beyond repute Chocobo has a reputation beyond repute Chocobo has a reputation beyond repute Chocobo has a reputation beyond repute Chocobo has a reputation beyond repute Chocobo has a reputation beyond repute Chocobo has a reputation beyond repute Chocobo has a reputation beyond repute Chocobo has a reputation beyond repute Chocobo's Avatar
    Gil
    1,000.20
    Gender
    My Mood
    Bored
    Gifts Dice D20 Soras Keyblade Photoshop
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Latest Post
    04-03-2010 10:59 PM
    User Info Thanks / Tagging Info Gifts / Achievements / Awards vBActivity Stats
    Join Date
    Jun 2005
    Location
    Gaia, Spira, Ivalice
    Threads
    39
    Posts
    529
    Blog Entries
    3
    AL Lyrics
    5
    Rep Power
    460

    Default [Help - Web] External Navigation Menu in CSS/HTML

    Google is useful, until the Spyders continue to nab things that are similar to what you want, but not exactly what you want. To business!

    Alright, so I have [in the making] an online portfolio of all the graphic design things I make. Includes things such as forum signatures to wall posters and even decals and vinyls. Well, until I can either do what I'm hoping to do, or...uh...something else? that online portfolio shall remain on standby.

    My website will most definitely contain more than one page, end of story. I already have the overall design on external CSS, so yay. However, I started thinking: "I sometimes add a link here and there, or something else. Is there a way to put the navigation menu into CSS or an external file?"

    So, my ending main files, not pages, would be:
    Index.html (refers to JJx.css for design, and Nav.css/html for navigation)
    JJx.css
    Nav.css <-or .html


    With A Tip Of My Hat ///////// I Bid You Farewell

  2. #2
    Copyright 2013 FS FlashD has a reputation beyond repute FlashD has a reputation beyond repute FlashD has a reputation beyond repute FlashD has a reputation beyond repute FlashD has a reputation beyond repute FlashD has a reputation beyond repute FlashD has a reputation beyond repute FlashD has a reputation beyond repute FlashD has a reputation beyond repute FlashD has a reputation beyond repute FlashD has a reputation beyond repute FlashD's Avatar
    Gil
    5,486.05
    Gender
    My Mood
    Lonely
    Gifts Ice Cream Bamboo Cup Notebook
    Mentioned
    204 Post(s)
    Tagged
    0 Thread(s)
    Latest Post
    07-20-2016 01:58 PM
    User Info Thanks / Tagging Info Gifts / Achievements / Awards vBActivity Stats
    Join Date
    Jun 2005
    Location
    I would like to know that too. O_o;;
    Age
    31
    Threads
    152
    Posts
    2,826
    Blog Entries
    5
    AW Wallpapers
    3
    Rep Power
    2193

    Default

    It's possible, but nowadays is better to just use PHP or anything similar.
    To include external files into your own page you will need to use frames (preferably iFrames). The better alternative is JavaScript.

  3. #3
    4: [Classified brah] Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris's Avatar
    Gil
    101,951.98
    Gender
    Gifts Tuxedo Mask Rose Mario Question Block Pen
    Mentioned
    301 Post(s)
    Tagged
    0 Thread(s)
    Latest Post
    03-06-2015 01:53 AM
    User Info Thanks / Tagging Info Gifts / Achievements / Awards vBActivity Stats
    Join Date
    Aug 2001
    Location
    Tau Ceti V
    Age
    29
    Threads
    617
    Posts
    19,697
    Blog Entries
    620
    Rep Power
    14761

    Default

    ... don't do this. A modern web page is divided into separate languages with separate functions. While you -can- use them for the wrong functionality, it's almost never a good idea.

    Server-side scripting (e.g. PHP) is for dynamically loaded content.
    HTML is for presentation of content. It should not contain style information or anything like that.
    CSS is for telling the browser how to display that content.
    Javascript is for interactive responses and rearranging of content. It should be fully possible to use the page without javascript though.

    So yeah, if you absolutely -need- to do this sort of inclusion, use a server-side script.



    Hey look, Japan made a movie about me!

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

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