Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 20th, 2025, 12:15 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Javascript in Opus 2.81
PostPosted: July 13th, 2005, 10:26 pm 
Offline

Joined: July 13th, 2005, 9:56 pm
Posts: 4
Location: Palisades, NY
I have an 'old' publication that uses an ie browser to open a file on CD,
file://<SYSTEM_CD_DRIVE>\files/filelist.html and then I have javascript in filelist.html that launches files (mostly pdf) in a new window, (see attached html) This used to work OK, but I have changed my default browser to Netscape 8.1, and the code no longer works UNLESS I already have an IE window open. I get an IE Script error message of class not registered at line 17 char 2. Having Netscape open or closed does not make a difference. I hope this is an easy one to fix...


You do not have the required permissions to view the files attached to this post.

_________________
Thanks,
Gene


Top
 Profile  
 
 Post subject: Javascript
PostPosted: July 14th, 2005, 3:40 am 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
Off the top of my head, I would say two things could potentially be culprits:
1. Do you have XP and SP2, if so it might have to do with the new security settings
2. Do you have popup-blocker software installed, if so it might be considered your JS-opened windows to be popups and causing issues.

Hope this might help lead to a solution.


Top
 Profile Visit website  
 
 Post subject:
PostPosted: July 14th, 2005, 10:19 am 
Offline
User avatar

Joined: October 25th, 2004, 10:33 am
Posts: 257
Location: UK
Opus: Pro 8
OS: Windows 7 Professional x64
System: Dell XPS15 i7x4 2.1Ghz 6GB 128GB SSD
Instead of:
Code:
<A HREF="javascript:windows('All Days/ECC July Agenda.pdf')">Agenda </A>


Try...

Code:
<a href="#"
  onclick="windows('All Days/ECC July Agenda.pdf');">Agenda</A>


Then it doesn't try to launch a new URL to do the javascript, but does it within the file. I think.


Top
 Profile Visit website  
 
 Post subject:
PostPosted: July 14th, 2005, 3:23 pm 
Offline

Joined: July 13th, 2005, 9:56 pm
Posts: 4
Location: Palisades, NY
I am running XP with SP2, and checked the MS site and found this:

http://support.microsoft.com/?kbid=885755

Looks like it defines my problem, unfortunately they do not have a fix, it is WAD. I will have to review my application and see if I can provide a direct link in html somehow.
Can anyone confirm/deny that this happens in newer versions of Opus?

_________________
Thanks,
Gene


Top
 Profile  
 
 Post subject:
PostPosted: July 14th, 2005, 3:25 pm 
Offline
User avatar

Joined: October 25th, 2004, 10:33 am
Posts: 257
Location: UK
Opus: Pro 8
OS: Windows 7 Professional x64
System: Dell XPS15 i7x4 2.1Ghz 6GB 128GB SSD
I thought it stopped working when you changed your default browser? So it can't be anything to do with XP SP2.

This is nothing really to do with Opus, so won't be different in any other version.


Top
 Profile Visit website  
 
 Post subject:
PostPosted: July 14th, 2005, 5:44 pm 
Offline

Joined: July 13th, 2005, 9:56 pm
Posts: 4
Location: Palisades, NY
Much ado about nothing, it appears to occur on only two machines, my test machine and my usual work machine (naturally). Oh well, I have not had to reinstall XP very often. --sigh--

_________________
Thanks,
Gene


Top
 Profile  
 
 Post subject:
PostPosted: August 15th, 2005, 3:55 pm 
Offline

Joined: July 13th, 2005, 9:56 pm
Posts: 4
Location: Palisades, NY
Well, it has finally shown up on another machine, same config, XP Pro with SP2. The MS knowledgebase still has no workaround except to provide a direct link to the url desired. If I provide a URL, the url opens inside the publication (not what I want) If I provide a url with a target, _blank), the window opens ONLY if I have an IE browser already opened, otherwise nothing happens. I downloaded the trial version of Opus Pro 5, and the same thing occurs. Is there any way around the SP2 security "fixes"?

_________________
Thanks,
Gene


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group