• Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Need help about links...

Aero_Lexis

Guardian of the Wind
  • 8
    Posts
    21
    Years
    I need help about links. I'm starting to build a webpage, but I have a problem. It's very tiring to add or fix a links in every one of my webpage.
    Is there anyway for me to fix or add a link in one page and the other webpages' links will automatically changed?
    Is there any way?
     
    ssi or php, go to sites with webmasters sections and u will find stuff on it(ppn has a section on it i think)
     
    If you go to www.suta-raito.com they have a really good SSI tutorial. Baasically, you just have to make like left.html and right.html and on the top of the page put <!--#include virtual="left.html"-->.

    I just searched through SR ad i found the page - https://www.suta-raito.com/SSI.shtml

    Also, make sure the page ends with .shtml as thats the sign for SSI
     
    Or you could use an iframe, which is -really- easy but isn't supported by all browsers.

    First, make index.htm(l) then put your basic layout in it. Put all the links (which need to be done like this <a href="page.htm target="content">Blah</a>, and banner, etc in there. Then wherever you would normally put your content put this code
    <iframe src="page.htm" width="#" height="#" name="content"> replacing the "page.htm" and #s with whatever you want. You can also change the name, but if you do, be sure to change it so that it's the same in the link's target.

    And then, for all your pages, just put the content and a background that'll match that of the main page, and save those.

    Simple as that. ^_^


    An example of an iFrame is at my site... www.jesse.hostchange.com
     
    Iframes don't really work well when it comes to off side layouts, you still have to edit each Iframe for each page.

    iFrames are more used like once in a site. SSI is made for 1 time editting.
     
    Alternatively, you could use a WYSIWYG program... some of them like Dreamweaver MX allow you to create templates, and when the template gets edited, it will automatically update all the pages that use that template in your site folder for you. However, if your site server isn't dynamic (it's a hassle for me at times), you'll find yourself reuploading all the pages everytime.
     
    iFrames is where you would put the layout, and in the iframe is just the content. oO;

    And "offside" layouts? oO;;
     
    What idea you talking about Aero_Lexis?

    I know you can do iFrames/php in Dreamweaver. Don't know about anything else. :P
     
    You could use normal frames too. Remember that some free servers don't support SSI so you need to check. There are also Javascript includes that you can use, this depends on the user's browser support for Javascript.
     
    Frames are pretty... ugly, no offense. -.-;;

    The best bet is to just learn php and then code your layout in that.
     
    Hm... I don't know PHP yet, I have a thick book on my lower bunk in my room waiting to be read XD.

    Frames can look good, if you know how to do them. orange*berry's site (https://ichigokenkyuujo.com/) is in frames, and it looks fantastic.
     
    Hey try searching in the help for the WYSIWYG in help in dreamweaver.

    BTW Oranges site is down but yes she does use frames and they come out better then most peoples.
     
    JA: I suggest you get that big book out and learn it. ...or you could look at the orange style layout and see the simple code. :P
     
    *link removed*
    thats a little tut i threw together... i did not write all of it though...
     
    Well, hopefully you will work something out...

    *glare @ JKai* I don't have time to read it XD. It's several hundred pages long, and I have exams in two weeks o_O
     
    Back
    Top