homepage Welcome to WebmasterWorld Guest from 54.166.10.100
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Opera 6 and Javascript links
tedster




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

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




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

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

tedster




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

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




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

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

tedster




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

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




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

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




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved