Re: beagle webinterface
- From: Debajyoti Bera <dbera web gmail com>
- To: Blackhold <blackholdmailer gmail com>
- Cc: dashboard-hackers gnome org
- Subject: Re: beagle webinterface
- Date: Thu, 17 Jul 2008 07:40:07 -0400
See if using single quotes help i.e.
<a target="_blank" href=# onClick="openhit('{ Uri}'); return false;">
> when I put dashes on { Uri} always gives me the same error :(
>
> Error: no ben format
> Fitxer font: http://192.168.2.8:4000/hitresult.xsl
> Line: 60, column: 29
> Codi font:
> <a target="_blank" href=# onClick="openhit(\"{ Uri}\"); return false;">
>
> Error: uncaught exception: [Exception... "Component returned failure
> code: 0x80600001 [nsIXSLTProcessor.importStylesheet]" nsresult:
> "0x80600001 (<unknown>)" location: "JS frame ::
> http://192.168.2.8:4000/default.js :: <TOP_LEVEL> :: line 810" data:
> no]
>
>
> that is what I have on default.js function
>
> function openhit(url) //line 777
> {
> alert (url);
> }
>
>
>
> Blackhold
>
> +++++++++++++++++++++++++
> Material SCG08
> http://associacio-aoe.org/scg/charlas
> +++++++++++++++++++++++++
> Respect free software communities and use free and/or standard formats
> while sending attached files. Files such .doc, .xls, are formats that
> don't follow the standard rules and may cause problems on viewing or
> in the format of the text when these are opened with programs where
> thousands users communities develops free software. So that I ask for
> the files that are sent to me, to be odf, ods, odp, svg, png or in
> default pdf. Thanks you a lot...
>
> On Thu, Jul 17, 2008 at 1:06 PM, Debajyoti Bera <dbera web gmail com> wrote:
> > Use the suggestion below ...
> >
> >> <a target="_blank" href=# onClick="openhit(\"{ Uri}\"); return
> >> false;">
> >
> > Make sure you have the "return false".
> >
> >> and add a method like
> >> function openhit (url)
> >> {
> >> //... open a new window using javascript
> >> // verify the javascript - I am writing from memory
> >>
> >> var newurl = url.replace ("file:///", "http://host/var/www/");
> >> window.open(newurl);
> >> }
> >
> > --
> > -----------------------------------------------------
> > Debajyoti Bera @ http://dtecht.blogspot.com
> > beagle / KDE / Mandriva / Inspiron-1100
--
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE / Mandriva / Inspiron-1100
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]