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 10 of 10
  1. #1
    Regular Coder
    Join Date
    Dec 2005
    Posts
    702
    Thanks
    0
    Thanked 0 Times in 0 Posts

    <base href="http://www.Polis-Land.com/dialup" /> no work at full

    I use dreamweaver mx 2004, well in a php file I insert in <head> the:
    <base href="http://www.Polis-Land.com/dialup" />
    but only images[status bar-browser show this] that link to external popup windows, all other links show eg.:
    <a href="/villas/thalassa.php">THALASSA VILLAS - LATCHI</a>
    show http://www.polis-land.com/villas/thalassa.php rather than http://www.polis-land.com/dialup/villas/thalassa.php the disired , well ?

    You can find php file at
    http://www.polis-land.com/dialup/villas/villas.php

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,917
    Thanks
    6
    Thanked 1,040 Times in 1,013 Posts
    Could it be because you’re using an absolute path? Try <a href="villas/thalassa.php"> rather than <a href="/villas/thalassa.php">

  • #3
    Regular Coder
    Join Date
    Dec 2005
    Posts
    702
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I try
    <a href="villas/thalassa.php">THALASSA VILLAS - LATCHI</a>
    but same thing...
    Please note that images show:
    http://www.polis-land.com/dialup#
    well ???

  • #4
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Uh, you didn't. You just...didn't.
    (it's still the same in the code--at least the linked words "HOUSES/VILLAS".)

  • #5
    Regular Coder
    Join Date
    Dec 2005
    Posts
    702
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <a href="villas/thalassa.php">THALASSA VILLAS - LATCHI</a>

    I refer to link above...in source:
    <td><div align="center" class="style10"><strong><a href="villas/thalassa.php">THALASSA
    VILLAS - LATCHI</a></strong></div></td>

    NOT the one you refer ...(only one have changed)

  • #6
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,917
    Thanks
    6
    Thanked 1,040 Times in 1,013 Posts
    Uhm, I don’t quite know what page/link you’re referring to. On the page http://www.polis-land.com/villas/villas.php I see in this part of the code the URL/path is still absolute:

    Code:
    <!-- #EndLibraryItem --><!-- InstanceBeginEditable name="EditRegion3" -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <div align="center"><span class="h1">Villas for Sale</span><br />
      <span class="p">( Note: For TownHouses go to <a href="../apartments/apt.php">Apartments</a> )</span><br />
    
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
    <table width="744" border="0" align="center" cellpadding="2" cellspacing="2">
      <tr class="tablelistdata">
        <td width="142"><div align="center">Photo</div></td>
        <td width="267"><div align="center" class="style9 style8"><strong>Villas/Houses for Sale </strong></div></td>
        <td width="73"><div align="center" class="style10"><strong>bedroom</strong></div></td>
        <td width="75"><div align="center" class="style10"><strong>bathroom</strong></div></td>
        <td width="74"><div align="center" class="style10"><strong>Location</strong></div></td>
    
        <td width="75"><div align="center">Price(€)</div></td>
      </tr>
      <tr bgcolor="#CCCCCC" class="tablelistdata">
        <td><div align="left"><a href="#" onmouseover="doTooltip(event,0)" onmouseout="hideTip()"><img src="/images/thalassa/typea_01-140px.jpg" width="140" height="92" border="1" /></a></div></td>
        <td><div align="center" class="style10"><strong><a href="/villas/thalassa.php">THALASSA
                VILLAS - LATCHI</a></strong></div></td>
        <td><div align="center" class="style10"><strong>3</strong></div></td>
        <td><div align="center" class="style6 style8">
    
          <div align="center" class="style13">2</div>
        </div></td>
        <td><div align="center" class="style10"><strong>Latchi</strong></div></td>
        <td><div align="center">623,639</div></td>
      </tr>
    …
    Remove that leading slash and it’ll work.

    Oh and by the way: you didn’t specify a body background color.

  • #7
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    There's so many things you could pick on him for and you chose the background colour?!

    Are you SURE that you're updating the right version of the page?

  • #8
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,917
    Thanks
    6
    Thanked 1,040 Times in 1,013 Posts
    Quote Originally Posted by CyanLight View Post
    There's so many things you could pick on him for and you chose the background colour?!
    Yeah, I don’t wanna go into every little detail as it doesn’t have much to do with the thread. The background color was just the most obvious (and easy to fix) thing as I have changed my default browser background color (among other default colors) and see all those sites that forget to set it. May lead to usability problems.

  • #9
    Regular Coder
    Join Date
    Dec 2005
    Posts
    702
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Now work ...
    Please note I want to do ADSL & DIALUP MODES ...
    ADSL home: http://www.polis-land.com/index.php
    DIALUP home: http://www.Polis-Land.com/dialup/index.php
    all photos in adsl will be rollover [tooltip] but in dialup photos will be click[popup window] , and the two modes will not communicate, each with enquiry/search procedure ....

    Also Please tell me links inside the template are the same as other body links as for base url ? How I make the template in the /dialup/ folder differ from root folder template (root folder template=ADSL, /dialup/ folder template=DIALUP MODE) ??? how I make template links get this base url http://www.Polis-Land.com/dialup/ (only this doc but other docs stay with domain as base url http://www.Polis-Land.com) ?

  • #10
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    My advice to you? Don't do that. Not only do a fair bit of people not know their internet speed, it's gonna be hell getting it all to be the same. Just leave it as a popup or find another way.


  •  

    Posting Permissions

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