Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-30-2007, 01:16 PM   PM User | #1
lse123
Regular Coder

 
Join Date: Dec 2005
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
lse123 is infamous around these parts
<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
lse123 is offline   Reply With Quote
Old 12-30-2007, 02:03 PM   PM User | #2
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,615
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
Could it be because you’re using an absolute path? Try <a href="villas/thalassa.php"> rather than <a href="/villas/thalassa.php">
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 12-30-2007, 02:56 PM   PM User | #3
lse123
Regular Coder

 
Join Date: Dec 2005
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
lse123 is infamous around these parts
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 ???
lse123 is offline   Reply With Quote
Old 12-30-2007, 04:07 PM   PM User | #4
Apostropartheid
The Apostate


 
Apostropartheid's Avatar
 
Join Date: Oct 2007
Posts: 3,215
Thanks: 16
Thanked 265 Times in 263 Posts
Apostropartheid is on a distinguished road
Uh, you didn't. You just...didn't.
(it's still the same in the code--at least the linked words "HOUSES/VILLAS".)
__________________
Blog | Twitter
Useful links: W3C HTML Validator | W3C CSS Validator | HTML 5 Guide
CF: HTML & CSS Resources/Tutorials Thread | HTML & CSS Posting Rules and Guidelines
Remember: no link, no code, no help!
Apostropartheid is offline   Reply With Quote
Old 12-30-2007, 04:57 PM   PM User | #5
lse123
Regular Coder

 
Join Date: Dec 2005
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
lse123 is infamous around these parts
<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)
lse123 is offline   Reply With Quote
Old 12-30-2007, 05:06 PM   PM User | #6
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,615
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
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.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 12-30-2007, 08:56 PM   PM User | #7
Apostropartheid
The Apostate


 
Apostropartheid's Avatar
 
Join Date: Oct 2007
Posts: 3,215
Thanks: 16
Thanked 265 Times in 263 Posts
Apostropartheid is on a distinguished road
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?
__________________
Blog | Twitter
Useful links: W3C HTML Validator | W3C CSS Validator | HTML 5 Guide
CF: HTML & CSS Resources/Tutorials Thread | HTML & CSS Posting Rules and Guidelines
Remember: no link, no code, no help!
Apostropartheid is offline   Reply With Quote
Old 12-30-2007, 08:59 PM   PM User | #8
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,615
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
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.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 12-31-2007, 08:08 AM   PM User | #9
lse123
Regular Coder

 
Join Date: Dec 2005
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
lse123 is infamous around these parts
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) ?
lse123 is offline   Reply With Quote
Old 12-31-2007, 01:38 PM   PM User | #10
Apostropartheid
The Apostate


 
Apostropartheid's Avatar
 
Join Date: Oct 2007
Posts: 3,215
Thanks: 16
Thanked 265 Times in 263 Posts
Apostropartheid is on a distinguished road
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.
__________________
Blog | Twitter
Useful links: W3C HTML Validator | W3C CSS Validator | HTML 5 Guide
CF: HTML & CSS Resources/Tutorials Thread | HTML & CSS Posting Rules and Guidelines
Remember: no link, no code, no help!
Apostropartheid is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:48 AM.


Advertisement
Log in to turn off these ads.