Page 1 of 1

Using image_popup

Posted: Fri Mar 08, 2013 6:58 pm
by kenonix
Script URL: http://www.onixsystems.ca/helpdesk
Version of script: 2.4.2
Hosting company: ICA
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: OBJECT, javascript

Write your message below:

I am using the following control in some of my html pages.
<OBJECT ID="image_popup" TYPE="application/x-oleobject" CLASSID="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"></OBJECT>
This is used inside a <map> tag to cause text to pop-up when an area of an image is clicked using:
<AREA SHAPE="RECT" COORDS="8,53,245,71" HREF="JavaScript:image_popup.TextPopup(Facility_select,popfont,9,9,-1,-1)" ALT="Facility">
The source path of the JavaScripts is defined as follows:
<HEAD>
<TITLE>Forecast-Mapping Screen</TITLE><SCRIPT LANGUAGE="javascript" SRC="http://www.onixsystems.ca/helpdesk/Onix ... "></SCRIPT>
<LINK REL="stylesheet" HREF="http://www.onixsystems.ca/helpdesk/Onix/CB/prompts.css">
</HEAD>

It works fine when run as an html page from my website but not when setup as an article in HESK.

I'm wondering if the JavaScripts source path is being picked up by HESK. Can you advise how to get HESK to recognize the JavaScripts source path? Any other suggestions?

Re: Using image_popup

Posted: Mon Mar 11, 2013 9:04 am
by Klemen
HTML files must only have one <head> tag, if you add additional <head> tags in the article contents it will be ignored by browsers.