Announcement

User registrations are currently disabled due to high spam traffic.

#1 24/07/07 7:38am

Jeffy
Addicted Moderator
From: Belgium
Registered: 26/09/06
Posts: 402

Links on PSP webbrowser

I have a question... If you move the cursor over a link in the PSP browser, the link is highlighted in blue. I think it's really ugly and I've always wanted to know how get a link without it.

I've now noticed that this doesn't happen to all links. visit http://www.google.com on a PSP and some of the links are not highlighted in blue when you move over them.
(What makes this even more strange is that on PSP the link color will change from blue to red but on a webbrowser like FF or IE the link color doesn't change at all.

I've had a look at the source code and I can't figure out why. Could anyone with knowledge of HTML or CSS find out why that is?

Offline

 

#2 24/07/07 11:24am

JaXeRiR
Elite Moderator
From: Teh Interwebz
Registered: 25/03/07
Posts: 1925
Website

Re: Links on PSP webbrowser

Jeffy wrote:

I have a question... If you move the cursor over a link in the PSP browser, the link is highlighted in blue. I think it's really ugly and I've always wanted to know how get a link without it.

I've now noticed that this doesn't happen to all links. visit http://www.google.com on a PSP and some of the links are not highlighted in blue when you move over them.
(What makes this even more strange is that on PSP the link color will change from blue to red but on a webbrowser like FF or IE the link color doesn't change at all.

I've had a look at the source code and I can't figure out why. Could anyone with knowledge of HTML or CSS find out why that is?

As much as I know about this, is that sometimes there is something like

Code:

highlight=blue

or

Code:

on_mouse_over=blue

or something like this, not sure but I guess so... If someone could even tell me if I'm anywhere close to the real answer. And if there is not anything, the browser just uses it's default right?

Last edited by JaXeRiR (24/07/07 11:25am)


[url=http://profile.mygamercard.net/JaX3RiR][img]http://card.mygamercard.net/nxe/JaX3RiR.png[/img][/url]

Offline

 

#3 24/07/07 1:29pm

JaXeRiR
Elite Moderator
From: Teh Interwebz
Registered: 25/03/07
Posts: 1925
Website

Re: Links on PSP webbrowser

sfc2000 wrote:

no its this

Code:

blue.html web.link.html/color=blue/text./netfront/.asp.sony.bluelinktext.html

a basic html see

This has got to be a joke... If it's not, well...

I guess you just made that up like EVERYTHING else (web links for example).

Really, please oh PLEASE don't spam like that, ok?


[url=http://profile.mygamercard.net/JaX3RiR][img]http://card.mygamercard.net/nxe/JaX3RiR.png[/img][/url]

Offline

 

#4 24/07/07 2:06pm

Jeffy
Addicted Moderator
From: Belgium
Registered: 26/09/06
Posts: 402

Re: Links on PSP webbrowser

JaXeRiR wrote:

As much as I know about this, is that sometimes there is something like

Code:

highlight=blue

or

Code:

on_mouse_over=blue

or something like this, not sure but I guess so... If someone could even tell me if I'm anywhere close to the real answer. And if there is not anything, the browser just uses it's default right?

I'm assuming you mean for example:

Basically a link in HTML looks like this

Code:

<a href="http://someURL">Link Text Shown On The Page</a>

Right, so this is basic javascript that works in any browser to change the backgroundcolor when you move the cursor over it.

Code:

 <a href="someURL" onmouseover="style.backgroundColor='green'"  onmouseout="style.backgroundColor='transparent'">blahblah</a>

Or this as css attribute:

Code:

a:hover{background-color:#00FF00}

Both of these would make a link's background green when the cursor moves over it and back to no background color when you take the cursor off.

Both work in regular browsers but none of them cancel or override the PSP browser's way of highlighting links.

...And then some websites have some mysterious way of showing links that are not highlighted (like Google)... And I can't find any CSS, javascript or HTML in their source code that could be responsible for that. Actually the links appear normal to me. There is no sign of anything fancy added to make them change colour the way they do...

If anyone surfs the web and finds a webpage with links that don't get highlighted in blue could you please give me the URL? I just have to find out what this is ...




Ok I've tried some more and It seems like the javascript solution somewhat works. It's really weird though. When the page first loads and you move your mouse over the link, it gets the blue highlighting as usual. But when you move the cursor away from the link and then back on, it does get the specified color... Really strange ...

Last edited by Jeffy (24/07/07 3:12pm)

Offline

 

#5 24/07/07 4:19pm

JaXeRiR
Elite Moderator
From: Teh Interwebz
Registered: 25/03/07
Posts: 1925
Website

Re: Links on PSP webbrowser

Jeffy wrote:

JaXeRiR wrote:

As much as I know about this, is that sometimes there is something like

Code:

highlight=blue

or

Code:

on_mouse_over=blue

or something like this, not sure but I guess so... If someone could even tell me if I'm anywhere close to the real answer. And if there is not anything, the browser just uses it's default right?

I'm assuming you mean for example:

Basically a link in HTML looks like this

Code:

<a href="http://someURL">Link Text Shown On The Page</a>

Right, so this is basic javascript that works in any browser to change the backgroundcolor when you move the cursor over it.

Code:

 <a href="someURL" onmouseover="style.backgroundColor='green'"  onmouseout="style.backgroundColor='transparent'">blahblah</a>

Or this as css attribute:

Code:

a:hover{background-color:#00FF00}

Both of these would make a link's background green when the cursor moves over it and back to no background color when you take the cursor off.

Both work in regular browsers but none of them cancel or override the PSP browser's way of highlighting links.

...And then some websites have some mysterious way of showing links that are not highlighted (like Google)... And I can't find any CSS, javascript or HTML in their source code that could be responsible for that. Actually the links appear normal to me. There is no sign of anything fancy added to make them change colour the way they do...

If anyone surfs the web and finds a webpage with links that don't get highlighted in blue could you please give me the URL? I just have to find out what this is ...




Ok I've tried some more and It seems like the javascript solution somewhat works. It's really weird though. When the page first loads and you move your mouse over the link, it gets the blue highlighting as usual. But when you move the cursor away from the link and then back on, it does get the specified color... Really strange ...

Well I got the "OnMouseOver" part somewhat right.

But what you mean is that some of Google's links are weird? What links for example?
_____________________________________________________________________

Also you mean that the links are weird with the PSP's web browser? Because I can't notice anything with FF... And I don't even have a chance to visit Google with my PSP, no wireless connection sad

*edit* There's also this in Google's search source:

Code:

a:hover{background:#36c;color:#fff}

it's almost in the end of sixth line, but it is something about the background, so not sure............................

Code:

;b.onmousedown="";return true};

There is that, but... Probably not related in any way to this?

Last edited by JaXeRiR (24/07/07 4:37pm)


[url=http://profile.mygamercard.net/JaX3RiR][img]http://card.mygamercard.net/nxe/JaX3RiR.png[/img][/url]

Offline

 

#6 24/07/07 4:50pm

Jeffy
Addicted Moderator
From: Belgium
Registered: 26/09/06
Posts: 402

Re: Links on PSP webbrowser

JaXeRiR wrote:

Well I got the "OnMouseOver" part somewhat right.

Heh yeah, nice wink

JaXeRiR wrote:

But what you mean is that some of Google's links are weird? What links for example?
_____________________________________________________________________

Also you mean that the links are weird with the PSP's web browser? Because I can't notice anything with FF... And I don't even have a chance to visit Google with my PSP, no wireless connection sad

Well, you know what I mean by "links highlighted in blue" on the PSP's browser, right?

At first I just thought any link would be displayed in this way on PSP. Yesterday I noticed that if you load google.com on PSP, some links like the one for "advanced search" which have no mouseover effects at all in FF or IE, do have a mouseover effect when on the PSP's browser. What it does there is change the link's font color from it's original blue to red, and the ugly blue highlight isn't there yikes
So that's the weird part; there's no apparent effect in IE or FF but there is on PSP.
And when I look into the page's source code there's nothing I could find that would make the PSP turn the link red on mouseover.

I've been googling for any articles on this but there are only a few, and none of them was of any help. One of them proved with a javascript that the event is indeed triggered but the change in colour is behind the browsers blue highlight... =/

I've found out that, since it only does that to normal html links, there is a way of adding an onClick event to any piece of text, which will direct the browser to the URL specified in the event.

Code:

<span onclick="window.location='http://www.google.com'" onmouseover="style.backgroundColor='red'" onmouseout="style.backgroundColor='transparent'">Google</span>

This works well and you can add the onMouseover and onMouseout event just like the example i showed above. But, it doesn't let you use the D-pad to snap to it, since it's not a real link...

I just have to find out what it is that some websites have that make that ugly highlight not appear...

Or... Does anyone know any forums that would be better for dealing with these kind of questions?

Last edited by Jeffy (24/07/07 4:51pm)

Offline

 

#7 24/07/07 4:55pm

JaXeRiR
Elite Moderator
From: Teh Interwebz
Registered: 25/03/07
Posts: 1925
Website

Re: Links on PSP webbrowser

Hmm... If it's so, it might be something, like Google's source tells FF or IE to render a link black, but PSPs web browser has a bug/feature which makes the link red.

It's just an idea.


[url=http://profile.mygamercard.net/JaX3RiR][img]http://card.mygamercard.net/nxe/JaX3RiR.png[/img][/url]

Offline

 

#8 24/07/07 5:05pm

Jeffy
Addicted Moderator
From: Belgium
Registered: 26/09/06
Posts: 402

Re: Links on PSP webbrowser

JaXeRiR wrote:

Hmm... If it's so, it might be something, like Google's source tells FF or IE to render a link black, but PSPs web browser has a bug/feature which makes the link red.

It's just an idea.

Yup that's what I was thinking... That it's some sort of bug. I'll just have to find out how to reproduce it right? tongue

But the code looks all normal... sad I can't find anything that could be a bug or some exception or whatever sad

Heh, Phil should look at it... or that Apache guy tongue

Oh and the things you looked up in the source code didn't have anything to do with it I think... In fact, I'm sure they don't. Thanks for looking anyway wink

Last edited by Jeffy (24/07/07 5:21pm)

Offline

 

#9 24/07/07 7:01pm

JaXeRiR
Elite Moderator
From: Teh Interwebz
Registered: 25/03/07
Posts: 1925
Website

Re: Links on PSP webbrowser

Jeffy wrote:

JaXeRiR wrote:

Hmm... If it's so, it might be something, like Google's source tells FF or IE to render a link black, but PSPs web browser has a bug/feature which makes the link red.

It's just an idea.

Yup that's what I was thinking... That it's some sort of bug. I'll just have to find out how to reproduce it right? tongue

But the code looks all normal... sad I can't find anything that could be a bug or some exception or whatever sad

Heh, Phil should look at it... or that Apache guy tongue

Oh and the things you looked up in the source code didn't have anything to do with it I think... In fact, I'm sure they don't. Thanks for looking anyway wink

Ok at least I tried to help... I really didn't think it was that. Phil or Apache might know.


[url=http://profile.mygamercard.net/JaX3RiR][img]http://card.mygamercard.net/nxe/JaX3RiR.png[/img][/url]

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson