Re: beagle webinterface



I'm testing different things... now:

<a target="_blank"
href="javascript:\"{ Uri}\".replace("file:///var/www","http://"+location.host)">

but also \"{ Uri}\" don't likes to browser :(


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 11:40 AM, Blackhold <blackholdmailer gmail com> wrote:
> I remember that I've got webdeveloper, I see the debugging page and
> appears me that:
>
> Error: no ben format
> Fitxer font: http://192.168.2.8:4000/hitresult.xsl
> Línia: 57, columna: 51
> Codi font:
>    <a target="_blank" href="javascript:openhit(\"{ Uri}\")">
>
> and this other one
>
> 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 811"  data:
> no]
>
>
> 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 11:38 AM, Blackhold <blackholdmailer gmail com> wrote:
>> I'm trying to do it without using blank screen, it will make user go
>> slow at downloading the file...
>>
>> take a look at that please:
>> http://rafb.net/p/VKDLAz64.html
>>
>> I made these changes and now, when I try to do a search, the search
>> page stays there, thinking, doing nothing...
>>
>> what is wrong?
>>
>> thanks you much!
>>
>> 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 Wed, Jul 16, 2008 at 8:24 PM, Blackhold <blackholdmailer gmail com> wrote:
>>> ok, maybe I'm gonna use a php file for open the new window, that is
>>> the language I usually use.
>>>
>>> thanks, tomorrow I'll give you the last solution :)
>>>
>>> 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 Wed, Jul 16, 2008 at 6:34 PM, D Bera <dbera web gmail com> wrote:
>>>>> function openhit(url)
>>>>> {
>>>>>        var direccio;
>>>>>
>>>>>        direccio = url.substring(15);
>>>>>        direccio = "http://"; + location.host + direccio;
>>>>>
>>>>>        return direccio;
>>>>> }
>>>>>
>>>>>
>>>>> I don't know if it is right... could you help me please?
>>>>
>>>> I don't remember it off the top of my head. Check the internet for
>>>> examples on how to change the link URL. Usually it involves using a
>>>> javascript function for href or using the onclick handler for <a>. I
>>>> think for your case you need a onclick handler i.e. change in the xsl
>>>> file to
>>>> <a target="_blank" href=# onclick="openhit(\"{ Uri}\"); return false;">
>>>>
>>>> and add a method like
>>>> function openhit (url)
>>>> {
>>>>    //... open a new window using javascript
>>>> }
>>>>
>>>> I am sorry ... you have to google to fill in the javascript functions :)
>>>>
>>>> - dBera
>>>>
>>>> --
>>>> -----------------------------------------------------
>>>> Debajyoti Bera @ http://dtecht.blogspot.com
>>>> beagle / KDE fan
>>>> Mandriva / Inspiron-1100 user
>>>>
>>>
>>
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]