| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
|
|
#7 (permalink) |
|
trouble free and loverlee
Join Date: Mar 2003
Location: YooKay
Posts: 2,880
|
Worth checking out this Sitepoint article: Search Engine-Friendly URLs Actually, whilst tracking down that article Google turned up a number of articles. Google: "search engine friendly urls" Not sure how many are duplicates, but all worth checking, I'd imagine. |
|
|
|
#9 (permalink) |
|
volkswagen yellow & gold
Join Date: Apr 2003
Location: london, england.
Posts: 6,214
|
i love em. used them all over the place. the pain is setting up the server but i get someone else to do that. <!--#include virtual="/includes/leftnav.inc" --> pm me if you get stuck but its pretty simple. |
|
|
|
#11 (permalink) | |
|
volkswagen yellow & gold
Join Date: Apr 2003
Location: london, england.
Posts: 6,214
|
Quote:
stick it in a div, or between some <td></td> or summat. <table><tr><td> <!--#include virtual="/includes/leftnav.inc" --> </td></tr></table> <div id="my-divvy-div"> <!--#include virtual="/includes/leftnav.inc" --> </div> or is that not what you meant? |
|
|
|
|
#12 (permalink) |
|
volkswagen yellow & gold
Join Date: Apr 2003
Location: london, england.
Posts: 6,214
|
you can't call an include in like a frame. its part of the page, rendered on the server to html and sent to the browser. use them for like nav's or footers or headers. geddit? or don't i? |
|
|
|
#13 (permalink) |
|
Magazines™
Join Date: Mar 2003
Location: Glasgow..
Posts: 11,275
|
well that completely defeats the object of #includes then doesnt it - what an utterly pointless technology cant call an include in - then bollox - quick course in asp coming up why you so stressed brown? not taking the tablets? ?? ?! |
|
|
|
#15 (permalink) |
|
volkswagen yellow & gold
Join Date: Apr 2003
Location: london, england.
Posts: 6,214
|
too much work on. still havn't found my monkey. need help. you can't do that with asp either. use iframes, frames or divs, or, just think of a proper way of building your site. #includes are so that you can isolate a pice of code and reuse it across a whole site, then make one small change to it and it automatically updates across the site. now that's not pointless. |
|
|
|
#16 (permalink) | |
|
Magazines™
Join Date: Mar 2003
Location: Glasgow..
Posts: 11,275
|
Quote:
aarrgghhhhh the proper way would be to use coldfusion, asp. or php etc _ i can code all of these "good" sensible technologies to do all this to solve the problem. the problem is the server does not have any of these technologies i dont think you have grasped what i am trying to do - this is due to my crap explanation. ie <?php include('dsp_mainbar.php'); ?> for the include and this code to send all commands back though the index page and output in the same div location <?php //Test to see if there is any URL variable? if(isset($HTTP_GET_VARS['doc'])) { //If so then set $doc with the URL.variable $doc = $HTTP_GET_VARS['doc']; //The switch statement begins here switch($doc) { case "services": include("dsp_services.php"); break; case "about": include("dsp_about.php"); break; whatever, i have decided to hard code the pages and end to the matter...... |
|
|
![]() |