HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 9th, 1999, 04:26 AM
victor
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
I have a javascript for opening an URL in a new window. It works on certain browsers, and particularly in IE5 it generates an error and does nothing. can anyone explain why?

Reply With Quote
  #2  
Old June 9th, 1999, 10:14 AM
nico
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
could you post your script here so we can see what exactly you're doing?

Reply With Quote
  #3  
Old June 9th, 1999, 03:42 PM
victor
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Thank you,
the code is:

function openanother(where_at) {

opc = "toolbar=0,status=0,menubar=0,scrollbars=0," +
"resizable=1,width=430,height=430";

vent=window.open(where_at,"Presentation", opc);

}


call made like this:

<A HREF="javascript URLpenanother('fichas/index.htm')">
<IMG SRC="imagen/b-biblio40.gif" WIDTH="50" HEIGHT="40"
ALIGN="BOTTOM" BORDER="0" HSPACE="5" NATURALSIZEFLAG="0"></A>

However, I executed the following programs (from START->RUN), and it worked after I rebooted the machine:

regsvr32 actxprxy.dll
regsvr32 shdocvw.ddl

Do you have something to say about the code so my visitors won't have to execute these two programs for making it work?

Reply With Quote
  #4  
Old June 10th, 1999, 06:47 AM
nico
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
i've had some problems as well with opening windows from direct javascript links, maybe you could try calling the javascript as follows:

<a href="#" onClick="openanother('fichas/index.htm')">whatever</a>

my problem was that if i did it the other way (your way) a page saying [object] or so was loaded in the window you clicked the link from..
maybe this helps...

Reply With Quote
  #5  
Old June 10th, 1999, 06:51 AM
nico
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
this way it works fine for me (in IE5):

<!--start-->
<script language=javascript>
function openanother(where_at)
{
opc = "toolbar=0,status=0,menubar=0,scrollbars=0,resizable=1,width=430,height=430";
vent=window.open(where_at,"Presentation", opc);
}
</script>
<a href="#" onClick="openanother('http://aardbei.scene.org')">some link</a>
<!--end-->

so i guess it should work for you as well? URL

Reply With Quote
  #6  
Old June 10th, 1999, 07:55 AM
victor
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Thank you. I will try it that way too.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Next Page in a new window for IE


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway