Opera fails to load links on my site

All about creating websites!
Post Reply
User avatar
Shimo
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 197
Joined: 17 May 2008, 16:00
15
Location: Canada
Contact:

Opera fails to load links on my site

Post by Shimo »

So I'm not sure if it's a problem with opera or my site, but one of my friends has alerted me that none of my front page links work on opera.

shimofox.myftp.org

Code: Select all

<html>
<head>
<title> Shimo's Portal to the World!!! </title>
</head>
<body background="image/wall.jpg">
&nbsp;
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<center><img src="/image/logo.png" alt="Shimo's Google" width="390" height="110" 

align="middle"><form action="http://www.google.com/cse" id="cse-search-box">
  <div>
    <input type="hidden" name="cx" value="partner-pub-8265926040084115:ucjoc4-b56o" />
    <input type="hidden" name="ie" value="ISO-8859-1" />
    <input type="text" name="q" size="31" />
    <input type="submit" name="sa" value="Search" />
  </div>
</form>
<script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-

box&lang=en"></script>

<p align="center" <a href="#"
onClick="this.style.behavior='url(#default#homepage)';
this.setHomePage('http://shimofox.myftp.org/');">Set as Homepage
</a> <p>

<p align="center" <a href="http://www.google.com">Google</a> </p>
<p align="center" <a href="go/upload/">Go Anon</a> </p>
<p align="center" <a href="music/">Play Music</a> </p>
<p align="center" <a href="phpinfo/">Show PHP Info</a> </p>
<p align="center" <a href="fake/">Fake</a> </p>
<p align="center" <a href="http://www.wuala.com/referral/F3J36CP5HGN6JKB63APM">My Wuala 

Referral Code.</a> </p>

<font style="BACKGROUND-COLOR: black" color="red"> <b> <p align="center" <div id="ip">
                    Your IP Address Is: &#54;&#56;<span 

class="78">&#46;</span>&#49;&#52;&#55;<label id="224">&#46;</label><!--Please set your code 

to scrape your IP from www.whatismyip.com/automation/n09230945.asp For more info, please see 

our "Recommended Automation Practices" thread in the Forum.-->&#53;&#56;&#46;&#49;<label 

class="103">&#50;</label><span id="112">&#54;</span><br />                   
                </div> <p> </b> </font> 
</body>
</html> 
[img]http://i133.photobucket.com/albums/q49/xblric9000000/ShimoSignature.jpg[/img]

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Re: Opera fails to load links on my site

Post by bad_brain »

hm, the only reason I can think of is the use of relative paths, try using absolute paths instead (like http://shimofox.myftp.org/image/wall.jpg" onclick="window.open(this.href);return false; instead of just image/wall.jpg).

there's also something wrong with the IP fetching thingy, best use good old Javascript for that... :wink:
Image

User avatar
Shimo
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 197
Joined: 17 May 2008, 16:00
15
Location: Canada
Contact:

Re: Opera fails to load links on my site

Post by Shimo »

Hmm, apparently an absolute path fails too. :( I'm thinking opera is just a really bad browser.
[img]http://i133.photobucket.com/albums/q49/xblric9000000/ShimoSignature.jpg[/img]

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Re: Opera fails to load links on my site

Post by bad_brain »

hm, is the image loading when you call the absolute path in the browser? :-k
Image

User avatar
Shimo
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 197
Joined: 17 May 2008, 16:00
15
Location: Canada
Contact:

Re: Opera fails to load links on my site

Post by Shimo »

Well images are working fine. It's just web links. I can still get to them if I enter them in manually.
[img]http://i133.photobucket.com/albums/q49/xblric9000000/ShimoSignature.jpg[/img]

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Re: Opera fails to load links on my site

Post by bad_brain »

oops...I've misread that... :lol:
try opening the links in new windows by adding target="_blank":

Code: Select all

<a href="http://www.google.com" target="_blank">Google</a>
Image

User avatar
maboroshi
Dr. Mab
Dr. Mab
Posts: 1624
Joined: 28 Aug 2005, 16:00
18

Re: Opera fails to load links on my site

Post by maboroshi »

why is your code like this

Code: Select all

<p align="center" <a href="http://www.google.com">Google</a> </p>
shouldn't you close

Code: Select all

<p align="center">
and then the link. That's some weird HTML with the a tag and p tag like that

Anyway

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Re: Opera fails to load links on my site

Post by bad_brain »

oops, right, haven't seen that... :)
Image

User avatar
CommonStray
Forum Assassin
Forum Assassin
Posts: 1215
Joined: 20 Aug 2005, 16:00
18

Re: Opera fails to load links on my site

Post by CommonStray »

was likely not clsing the opening p tags around the link.

from what i can tell, plus site doesnt seem to be using any kind fo doctype or structure, makes it a bit hard to read.

id suggest getting into some css so you can set styles for elements instead of using a million <br> tags, just my opinion tho ;)

Post Reply