Welcome to WebmasterWorld Guest from 54.163.23.73

Forum Moderators: open

Message Too Old, No Replies

Opera 6 and Javascript links

     

tedster

9:39 am on Apr 28, 2002 (gmt 0)

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



I just checked a page in Opera 6 that works in every NN and IE version I've every tried. It seems that Opera doesn't like this kind of link:

<a href="javascript:popUp('pic_l.htm')"><img src="pic_s.gif"></a>

I get the error message: "Address type is unknown or unsupported."

The function definition I'm using is:

function
popUp(fileName){window.open(fileName,'poppage','width=420,height=400,status=1')
}

Does anyone know what's up with that?

papabaer

10:09 am on Apr 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



tedster, what do you have your Oprea browser "id'd" as? It may make a difference.

tedster

10:14 am on Apr 28, 2002 (gmt 0)

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



It was worth a try, but I get the same results with Opera, IE or Moz.

I know that "onClick" works in the anchor tag with Opera, but some of my older sites used the "javascript:function()" technique. I hate the idea of reparing them all.

Brett_Tabke

10:27 am on Apr 28, 2002 (gmt 0)

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



f12-> accept popup windows
then reload the page and try the link again...

tedster

10:58 am on Apr 28, 2002 (gmt 0)

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



Egg on my face!

I forgot that I had turned off javascript to escape from a perpetual pop-up window loop on a spammy site.

Clearly I need more sleep. See y'all later.

Brett_Tabke

11:46 am on Apr 28, 2002 (gmt 0)

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



I get nailed by that one all the time.

The other one that gets me is the referring url. I most always run with referrers off.

papabaer

3:20 pm on Apr 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've suffered from "F12 Oversight" on more than a few occasions myself... it all depends on how my coffee pot is holding out. ;)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month