Welcome to WebmasterWorld Guest from 23.22.46.195

Forum Moderators: open

Opera troubles with relative links

   
7:21 pm on Sep 10, 2002 (gmt 0)

10+ Year Member



I'm trying to pin down if this is just me, or if anyone else has this problem. (Or, is there a way to fix it?)

consider this:


<html>
<body>
<a href="?ref=true">True</a>
<a href="?ref=false">False</a>
</body>
</html

If i call this page directly, in opera as [mydomain.tld...] clicking those links fail.

I do this with IE, and it's worked fine, do I have to start spelling all these links out now?

2:42 am on Sep 11, 2002 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Slade,

Mostly to bump your post up, but have you tried:

<html>
<body>
<a href="/?ref=true">True</a>
<a href="/?ref=false">False</a>
</body>
</html>

Or how about:

<html>
<head>
<BASE href="http://www.yourdomain.tld/index.html">
</head>
<body>
<a href="?ref=true">True</a>
<a href="?ref=false">False</a>
</body>
</html>

Just guessing at ways to make Opera connect...

Jim

5:33 am on Sep 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



try including the page filename as well. It might be that IE assumes that by not including a filename you are going back to the current file. Opera might not.

Just a guess.
Chris.

7:43 am on Sep 11, 2002 (gmt 0)

10+ Year Member



Guys,
is this <a href="?ref=false"> a valid syntax?
I've never seen such a thing and I'm in doubt that it is valid.
6:01 pm on Sep 22, 2002 (gmt 0)

10+ Year Member



RFC 2396 states that a link to "?something" is a link relative to the current directory, not the current document (there are examples in the appendix). Opera works according to the specification here.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month